Architectural Engineering Design


University of Nottingham Ningbo China
Architectural Engineering Design 1
Computing Part
Python Milestone 2: A Text-based Interface for Energy Modeling
In this part of coursework, you will be asked to develop a few more python functions and a 
text-based user interface that are able to perform simple building energy simulations based on 
EnergyPlus. 
Learning outcomes
- Test and practice the knowledge of iterations and data structures in Python
- Test and practice the knowledge of I/O and modification of text-based files
- Test and practice the knowledge of simple data analysis on building performance 
Submission
Due: 21 Nov 2024, 16:00 PM
Submission format: submit a python script file(s) (.py file) and a word file on Moodle 
Text-based Interface of Energy Modeling
Building energy modeling is an important tool to help engineers predict and analyze building 
energy consumption under various design and operation conditions. You can get the energy 
demand of a building even before you actually build it, and you can get to know the effects of 
some key thermal parameters on the final energy performance of your design. 
While most building energy modeling software has a nice graphical user interface (GUI), it is 
beyond your ability at this stage of the module. Therefore, this project will just ask you to 
develop a simple text-based user interface to perform energy modeling based on a popular 
engine named EnergyPlus. 
Requirements
1. In this coursework, you are given a model file (1ZoneIdealSys.idf) and a given weather file
shanghai_2017.epw. You need create a software with text-based interface by using Python 
argparse feature to realize the following features:
◼ When user gives a starting U-value, an ending U-value (inclusive), a step interval
(e.g., 0.2, 3.0, 0.2 respectively), your software should be able to output a single bar 
chart file (a .PNG image file) to visualize annual total heating energy consumption 
and annual total cooling energy consumption at different U-values (i.e., 0.2, 0.4, 0.6, 
0.8, …, 3.0). In this bar chart, the x-axis is U-value, and the y-axis is annual total 
heating/cooling energy consumption. You should use different colors to represent 
heating and cooling energy consumption bars. 
2. Write a short paragraph (less than 300 words, in MS Word), comment on the effects of wall 
U-value on the heating and cooling energy consumption. You should use the bar chart 
generated by your software above. Explain the effects based on heat transfer principles (e.g., 
your PCM contents). 
Marking Rubrics
# Requirements Marks
1 Interface: correct implementation of the text based interface using Python argparse feature. 
The text-based interface should have meaningful 
argument names and argument explanations. 
10
2 Runnable: your software must be runnable 
without error. You software must be able to 
10
handle the wrong arguments given by users, e.g., 
starting U-value is smaller than the ending U value. 
3 Correctness: your code has correct 
implementation of the requirements, and can 
generate the output image with correct results. 
40
Chart presentation: The output bar chart should 
have correct axis labels, legends, and correct 
color coding
10
Styles: Right programming styles (discussed in 
our session 2)
10
Analysis: Clear and correct analysis on the effects
of U value on heating and cooling energy 
consumption, with strong reference to the charts 
that have been plotted; correct English usage 
without grammar errors; correct explanation 
based on heat transfer principles. 
20

Activity Diagram Use Case Diagram Class Diagram State Diagram Sequence Diagram JUNIT Java loosely Coupled 低耦合 week1 week2 Software Process 什么是Software Process软件过程: Software process models Waterfall model瀑布模型 Incremental development 增量开发 Reuse-oriented software engineering 面向复用的软件开发 Software Process Activities week3 Agile Framework敏捷开发 AGILE METHODS 敏捷开发方法 敏捷开发的例子 Scrum框架 **Roles**角色 **Activities**活动 **Artifacts**产出 week4 Requirements Functional Requirement Non-functional Requirement The Software Requirements Document软件需求文档: **需求发现Requirements discovery**: REQUIREMENTS VALIDATION需求验证 week5 The jelled team Software Engineering KNOWLEDGE week6 System Modeling Context models Interaction models Structural models Behavioral models Model-driven engineering week8 Class-based Model Behavior-based Model State Machine Diagram Sequence Diagram week9 软件设计 Design modeling Abstraction 抽象 Modularity 模块化 Coupling 耦合 Cohesion 内聚 Object-oriented design 面向对象设计 week10 Architectual Design UML diagrams (systems architecture) Architectural Views Architectural patterns The Model-View-Controller (MVC) pattern Layered pattern/Architecture Repository pattern week11 Component-Level Design Component-level design An object-oriented view面向对象视角 A conventional/traditional view A process view Design and Implementation Sequence models State machine models week12 Interface Design The golden rules User Analysis Task Analysis User Interface Design Patterns User Interface Design Issues Design Ecaluation week13 Software Validation软件验证 An **input-output model** of program testing: 这些知识点都是什么
09-02
【无人机】基于改进粒子群算法的无人机路径规划研究[和遗传算法、粒子群算法进行比较](Matlab代码实现)内容概要:本文围绕基于改进粒子群算法的无人机路径规划展开研究,重点探讨了在复杂环境中利用改进粒子群算法(PSO)实现无人机三维路径规划的方法,并将其与遗传算法(GA)、标准粒子群算法等传统优化算法进行对比分析。研究内容涵盖路径规划的多目标优化、避障策略、航路点约束以及算法收敛性和寻优能力的评估,所有实验均通过Matlab代码实现,提供了完整的仿真验证流程。文章还提到了多种智能优化算法在无人机路径规划中的应用比较,突出了改进PSO在收敛速度和全局寻优方面的优势。; 适合人群:具备一定Matlab编程基础和优化算法知识的研究生、科研人员及从事无人机路径规划、智能优化算法研究的相关技术人员。; 使用场景及目标:①用于无人机在复杂地形或动态环境下的三维路径规划仿真研究;②比较不同智能优化算法(如PSO、GA、蚁群算法、RRT等)在路径规划中的性能差异;③为多目标优化问题提供算法选型和改进思路。; 阅读建议:建议读者结合文中提供的Matlab代码进行实践操作,重点关注算法的参数设置、适应度函数设计及路径约束处理方式,同时可参考文中提到的多种算法对比思路,拓展到其他智能优化算法的研究与改进中。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值