trnsys手册部分翻译
- 格式:doc
- 大小:5.21 MB
- 文档页数:73
瞬态系统模拟计算机程序a TRaNsient SYstem Simulation program总结与复习Summarize and Review1. 常见部件..............................................................................................................................- 1 -1.1数据读取部件................................................................................................................- 1 -1.1.1气象数据读取.....................................................................................................- 1 -1.1.2一般数据读取.....................................................................................................- 2 -1.2 控制系统..................................................................................................................- 2 -1.3积分................................................................................................................................- 3 -1.4输出................................................................................................................................- 3 -1.5 计算器...........................................................................................................................- 3 -1.6 动力系统.......................................................................................................................- 3 -1.7 时刻表...........................................................................................................................- 3 -1.8 外部连接部件...............................................................................................................- 4 -1.8.1 excel....................................................................................................................- 4 -1.8.2 EES.....................................................................................................................- 5 -1.8.3 matlab..................................................................................................................- 5 -1.8.4 comis/fluent/contam............................................................................................- 5 -2. 常见问题集锦......................................................................................................................- 5 -2.1编程问题........................................................................................................................- 6 -2.1.1 编写部件............................................................................................................- 6 -2.1.1.1 创建部件.................................................................................................- 6 -2.1.1.2 写源代码.................................................................................................- 6 -2.1.1.3 创建部件的DLL文件.............................................................................- 6 -2.1.1.4 重新编译TRNSYS的DLL文件..............................................................- 7 -2.2部件使用......................................................................................................................- 11 -2.3功能实现......................................................................................................................- 11 -2.3.1模拟时间步长和精度的选择...........................................................................- 11 -2.3.2 计算器..............................................................................................................- 12 -2.3.3 TRNSYS功能...................................................................................................- 13 -2.4 常用数据.....................................................................................................................- 14 -2.4.1一年中月份的小时数和天数...........................................................................- 14 -2.4.2 角度修正IAM..................................................................................................- 14 -2.5......................................................................................................................................- 15 -1.常见部件一般的模拟过程中,大部分用户都要用到的部件,常见的有资料读取部件、输出部件、控制部件、积分部件、计算器等等。
中文2987字附录附录A 外文资料Retrofitting Domestic Hot Water Heaters for Solar Water Heating Systems in Single-Family Houses in a Cold Climate:A TheoreticalAnalysisAbstract: One of the biggest obstacles to economic profitability of solar water heating systems is the investment cost. Retrofitting existing domestic hot water heaters when a new solar hot water system is installed can reduce both the installation and material costs. In this study, retrofitting existing water heaters for solar water heating systems in Swedish single-family houses was theoretically investigated using the TRNSYS software. Simulation models using forced circulation flow with different system configurations and control strategies were simulated and analysed in the study. A comparison with a standard solar thermal system was also presented based on the annual solar fraction. The simulation results indicate that the retrofitting configuration achieving the highest annual performance consists of a system where the existing tank is used as storage for the solar heat and a smaller tank with a heater is added in series to make sure that the required outlet temperature can be met. An external heat exchanger is used between the collector circuit and the existing tank. For this retrofitted system an annual solar fraction of 50.5% was achieved. A conventional solar thermal system using a standard solar tank achieves a comparable performance for the same total storage volume, collector area andreference conditions.Keywords: solar thermal storage tank water heater retrofit domes1. IntroductionOne of the biggest obstacles to the economic profitability of domestic solar water heating (SWH) systems is the investment cost . The installation cost of forced circulation systems used in cold climates can represent up to 50% of the total investment cost depending on the size and type of system . Also, the solar storage is one of the most expensive components in a solar water heating system . Retrofitting existing domestic water heaters when new SWH systems are installed can reduce the total investment cost by decreasing both the installation and material costs. In Sweden there are more than half a million electrically heated single family houses that use conventional water heaters for domestic hot water production . Such retrofitting needs to be carried out with consideration of the cold Swedish climate. In such regions the solar storage is placed indoors and a freeze protection medium runs inside the collector circuit. Since existing water heaters are not provided with a heat exchanger, an external one should be used. There are two main types of systems designed with an external heat exchanger outside the storage: thermosyphon and forced flow circulation .Cruickshank and Harrison, in 2004 and 2006 , investigated this type of thermosyphon systems in the Canadian cold climate. In 2011 , the same authors studied the performance of series and parallel connected thermosyphon storages. Thermosyphon systems became popular in several parts of the world such as Eastern Asia and Australia, mainly due to their simplicity and reliability . The thermosyphon driving force depends on the pressure difference and frictional losses between the heat exchanger side-arm and the tank. Hence, the generated flow will be a complex function of the state of charge of the tank, the temperature profile along the heat exchanger and pipes, the height difference between the top of the heat exchanger and the top of the tank and the pressure drop in the heat exchanger, piping and connections . Such dependence on the heat exchanger pressure drop and tank characteristics limits how the retrofit is carried out, where the heat exchanger should be placed and which storage tanks can be used . Moreover, when properly designed, forced circulation systems can significantly achieve higher performances compared with natural convection driven systems . This is mainly explained by the increase inenergy transfer rate at a low energy driving cost. For example, a 40 W pump can generate a driving force 45 times higher than the one achieved by natural convection systems. In addition, low energy pumps are now available at a lower cost. The disadvantages of forced circulating systems are stated to be a higher degree of complexity and the demand for electricity to run the pumps and controls.Fewer studies are focused on forced circulation systems specially designed for cold regions. Wongsuwan and Kumar concluded that TRNSYS software predicts accurately the performance of forced circulation systems. Buckles and Klein used TRNSYS software to theoretically investigate different system configurations, and concluded that heat exchangers, with the same capacity, have similar performance whether placed inside or outside the storage. In 2009, Hobbi and Siddiqui used TRNSYS to theoretically optimize the design of a forced circulation hot water system for cold climates. As in other studies, the annual solar fraction was used as design parameter to be optimized . Of specific interest is the fact that there is a lack of studies investigating the retrofitting of existing water heaters in single-family houses for solar hot water application in cold regions.Retrofitting solar domestic hot water systems today commonly consists on series connecting the existing system with a new solar storage upstream and using the existing hot water boiler as a backup heater . Some retrofitted systems make use of thermosyphoning and are therefore dependent on a new well performing storage for that purpose . Existing installations are often oversized in volume since large design loads have been used before and because domestic hot water consumption has been decreasing . Combined with low levels of insulation, such over sizing causes large system heat losses. When using the existing storages as solar hot water storage the thermal losses in the system can be decreased since the solar water temperature is lower than the backup temperature. In cases where it is possible to know when the existing boiler is close to the end of its lifetime, it can be advantageous to change the existing storage.In this research, retrofitting of conventional domestic water heaters using forced circulation SWH systems for single-family houses in the Swedish climate was theoretically investigated. This was carried out by means of two pumps, one in the tank loop and the other in the solar collector loop with a heat exchanger in between. Four different system configurations were simulated in TRNSYS software and compared based on the annual solar fraction. Since forced circulation is used, almostany kind of storage tank can be retrofitted when a new solar thermal system is installed. Also, the degree of complexity of forced circulation systems may be reduced with such a retrofit. For a better understanding of the research contribution to the field and to increase the readability of the paper, the main objectives of the study are stated below.To theoretically investigate different system configurations and control strategies in retrofitting conventional domestic water heaters for SWH systems in single-family houses in the Swedish climate.To compare the performance of the retrofitted systems with the performance of a standard solar thermal system for the same reference conditions.This study provides necessary information to further investigate such systems in practice. It is then necessary to validate the theoretical models and carry out a life cycle cost assessment to compare the different systems. Such assessment is based on many factors that vary from country to country and can lead to different conclusions. Outside cold regions free from freezing, an anti-freeze solution and an external heat exchanger are not required. This will alter the system configuration, its performance and final costs. Other variable factors are cost of the auxiliary energy, its predicted trend during the system lifetime, the investment cost of the required equipment, the installation cost, maintenance costs, operation costs, replacement costs, subsidies, taxes on eventual loans, inflation, chosen discount rate and residual value at the end of the system’s lifetime. Also, it is difficult to quantify how much the industrial development on the integration of all retrofitting components into one add-on unit would decrease the cost. In addition, the space occupied by the introduction of the extra retrofitting material such as pumps, controls and heat exchanger is a qualitative comparison parameter between the systems valued differently by the consumer. These assessments are outside the scope of this work and will be dealt with in a further stage of the investigation.2. MethodologyDifferent system configurations were analysed using TRNSYS software in order to determine the annual solar fraction. Firstly, the characteristics of existing domestic water tanks in Sweden were determined. Secondly, a domestic hot water load profilerepresentative of Swedish single-family houses was created. Lastly, the energy model of each system configuration and sensitivity analysis was described.2.1. Existing Domestic Hot Water Heaters in Swedish Single-Family HousesThe main boundary of this investigation was to retrofit the most common type of existing domestic hot water heaters in single family houses in Sweden. To the best of our knowledge, there is no official data concerning the most common tank size in such houses. According to the Swedish domestic water heater manufacturers, installers and researchers in the field, the most common Swedish single-family house tank size is 200–300 litres, depending on the family size. The trend is that higher loads correspond to higher available storage volumes. A sensitivity analysis showed that retrofitting a 300 litre tank would give a higher annual solar fraction than using a 200 litre tank for the same load. Hence, to be on the safe side, it was decided to use a 200 litre tank for the analysis. In most of the cases, the heat is generated by a 3 kW electric auxiliary heater inside the tank.2.2. Domestic Hot Water Load in Swedish Single-Family HousesA profile of the domestic hot water load consumption in Swedish single-family houses was created. The profile consists of seven different draw-offs during the day . This represents a simplification of the hourly profile described by Widén et al. but scaled to the latest data on the Swedish average hot water consumption of 42 litres per person per day measured in 44 single-family houses . A sensitivity analysis showed that using a more detailed draw-off profile would have a low impact on the results and would only increase the total computational time. The measured average cold water temperature in the taps was 8.5 °C . The variation in consumption during the year was also introduced based on measured data and is shown in Figure 2. Swedish statistics show that the average number of inhabitants in Swedish single-family houses is three . Hence, assuming that hot water is heated up to 60 °C, the annual domestic hot water consumption in these houses was estimated to be 2050 kWh/year. This value is close to previous measured values in single-family houses . This energy amount does not include the extra energy necessary to compensate for the heat losses from the storage and piping system and the energy necessary to run the circulation pump in the tank loop, if one is installed. These factors were taken into account by the model in calculating the annual solar fraction of every system.From:Energies 2012,5,40110-4231改造在寒冷气候下单户家庭房屋的太阳能热水器的生活热水的分析摘要:投资成本是太阳能热水系统的经济效益的最大障碍之一。
ansys-Workbench菜单选项中英文对照翻译ansys Workbench;菜单选项中英文对照1、ANSYS12.1 Workbench 界面相关分析系统和组件说明【Analysis Systems】分析系统【Component Systems】组件系统】【CustomSystems 】自定义系统【Design Exploration】设计优化分析类型Electric (ANSYS)Explicit Dynamics (ANSYS)Fluid Flow (CFX)Fluid Flow (Fluent)Hamonic Response (ANSYS)Linear Buckling (ANSYS)Magnetostatic (ANSYS)Modal (ANSYS)Random Vibration (ANSYS)Response Spectrum (ANSYS)Shape Optimization (ANSYS)Static Structural (ANSYS)Steady-State Thermal (ANSYS)Thermal-Electric (ANSYS)Transient Structural(ANSYS)Transient Structural(MBD)Transient Thermal(ANSYS)说明ANSYS 电场分析 ANSYS 显式动力学分析 CFX 流体分析 FLUENT 流体分析ANSYS 谐响应分析ANSYS 线性屈曲ANSYS 静磁场分析ANSYS 模态分析ANSYS 随机振动分析 ANSYS 响应谱分析 ANSYS 形状优化分析 ANSYS 结构静力分析 ANSYS 稳态热分析 ANSYS 热电耦合分析 ANSYS 结构瞬态分析 MBD 多体结构动力分析 ANSYS 瞬态热分析组件类型AUTODYNBladeGenCFXEngineering DataExplicit Dynamic(LS-DYNA )Finite Element ModelerFLUNETGeometryMechanical APDLMechanical ModelMeshResultsTurboGridVista TF说明AUTODYN 非线性显式动力分析涡轮机械叶片设计工具 CFX 高端流体分析工具工程数据工具 LS-DYNA显式动力分析 FEM 有限元模型工具FLUNET流体分析几何建模工具机械APDL 命令机械分析模型网格划分工具结果后处理工具涡轮叶栅通道网格生成工具叶片二维性能评估工具2、主菜单【File 】文件操作【V iew 】窗口显示【Tools 】提供工具【Units 】单位制【Help 】帮助信息3、基本工具条【New 】新建文件【Open 】打开文件【Save 】保存文件【Save As】另存为文件【Import 】导入模型【Compact Mode】紧凑视图模式【Shade Exterior and Edges】轮廓线显示【Wireframe 】线框显示【Ruler 】显示标尺【Legend 】显示图例【Triad 】显示坐标图示 Expand All:展开结构树【Collapse Environments】折叠结构树【Collapse Models】折叠结构树中的Models 项【Named Selections】命名工具条【Unit Conversion】单位转换工具【Messages :Messages 】信息窗口【Simulation Wizard】向导【Graphics Annotations】注释【Section Planes】截面信息窗口【Reset Layout】重新安排界面4、建模【Geometry 】几何模型【New Geometry】新建几何模型【Details View】详细信息窗口【Graphics 】图形窗口:显示当前模型状态【Extrude 】拉伸【Revolve 】旋转【Sweep 】扫掠【Skin/Loft】蒙皮【Thin/Surface】抽壳:【Thin 】创建薄壁实体【Surface 】创建简化壳【Face to Remove】删除面:所选面将从体中删除。
vt system中文使用指导手册The VT system中文使用指导手册 provides a comprehensive guide on how to effectively utilize the system in Chinese. 这个使用指导手册详细介绍了如何有效地在中文环境下使用VT系统。
Users can refer to this manual for step-by-step instructions on various functions and features of the VT system. 用户可以参考本手册以获得VT系统各种功能和特性的逐步说明。
This guide covers everything from system setup to troubleshooting common issues. 本指导手册涵盖了从系统设置到解决常见问题的所有部分。
It is designed to assist both new users who are just getting started with the system and experienced users looking to enhance their skills. 它旨在协助刚刚开始使用该系统的新用户以及想要改进技能的经验丰富的用户。
One of the key features of the VT system中文使用指导手册 is its user-friendly interface. 该使用指导手册的一个关键特点是其用户友好的界面。
The manual is easy to navigate, with clear instructions and visuals to help users understand the content. 该手册易于导航,清晰的说明和图片有助于用户理解内容。
第四章子结构什么是子结构?子结构就是将一组单元用矩阵凝聚为一个单元的过程。
这个单一的矩阵单元称为超单元。
在ANSYS分析中,超单元可以象其他单元类型一样使用。
唯一的区别就是必须先进行结构生成分析以生成超单元。
子结构可以在ANSYS/Mutiphysics,ANSYS/Mechanical和ANSYS/Structural中使用。
使用子结构主要是为了节省机时,并且允许在比较有限的计算机设备资源的基础上求解超大规模的问题。
原因之一如a)非线性分析和带有大量重复几何结构的分析。
在非线性分析中,可以将模型线性部分作成子结构,这样这部分的单元矩阵就不用在非线性迭代过程中重复计算。
在有重复几何结构的模型中(如有四条腿的桌子),可以对于重复的部分生成超单元,然后将它拷贝到不同的位置,这样做可以节省大量的机时。
子结构还用于模型有大转动的情况下。
对于这些模型,ANSYS假定每个结构都是围绕其质心转动的。
在三维情况下,子结构有三个转动自由度和三个平动自由度。
在大转动模型中,用户在使用部分之前无须对子结构施加约束,因为每个子结构都是作为一个单元进行处理,是允许刚体位移的。
另外一个原因b)一个问题就波前大小和需用磁盘空间来说相对于一个计算机系统太庞大了。
这样,用户可以通过子结构将问题分块进行分析,每一块对于计算机系统来说都是可以计算的。
如何使用子结构子结构分析有以下三个步骤:●生成部分●使用部分●扩展部分生成部分就是将普通的有限元单元凝聚为一个超单元。
凝聚是通过定义一组主自由度来实现的。
主自由度用于定义超单元与模型中其他单元的边界,提取模型的动力学特性。
图4-1是一个板状构件用接触单元分析的示意。
由于接触单元需要迭代计算,将板状构件形成子结构将显著地节省机时。
本例中,主自由度是板与接触单元相连的自由度。
图4-1 子结构使用示例使用部分就是将超单元与模型整体相连进行分析的部分。
整个模型可以是一个超单元,也可以象上例一样是超单元与非超单元相连的。
ICEM Tutorial Manual2D Pipe Junction1.1准备1.1.1 从ANASYS安装目录里拷贝输入几何文件(geometry.tin),v130/icemcfd/samples/CFD_Tutorial_files/2DPipeJunct。
1.1.2 打开ANSYS ICEM CFD并打开几何(geometry.tin)。
1.2 Blocking Strategy2D管道几何的blocking strategy包括创建一个T形的blocking并将其用于几何。
2D管道几何相当于一个T形。
右边的非阻塞交叉开关(blocking crossbar)仅需要向上弯曲以组装几何。
你可以通过在block的边和几何的曲线间创建一些附件然后将block的点移动到几何的角落上来将T形blocking的材料应用于这个几何。
接下来的步骤将描述这个过程。
图2. 网格及其拓扑第一步:Block the Geometry几何和部分(part)的信息已经定义了。
在这一步里,你将创建最初的block。
1.创建初始block。
a.初始化2D blockingi.在Part区域中输入FLUID。
ii.在Type下拉菜单中选择2D Plannar。
iii.点击Apply。
b.在Blocking下激活Vertices。
c.在Vertices下选择Numbers。
将blocking下面的Vertices前面的方框勾选,右击,在弹出菜单中选择Numbers即可。
图2给出了包裹几何的初始block。
你将使用这个初始block来创建这个模型的拓扑。
图3. 初始block这些曲线现在被分别上色,并不是由不同部分。
这样可以使你区别不同的曲线实体,这对于某些blocking操作时非常必要的。
你可以通过选择/不选Show Composite激活或者不激活上色命令。
2.将初始block分割为次级block。
本案中,你将使用两个垂直分割和一个水平分割将初始block分割。
软件概述Trados 是业内广泛使用的一款翻译辅助和管理软件,请注意,并不是翻译软件,它能省去您很多的重复工作,但并不能帮你写出很好的译文,那么我们现在就来看看,Trados 如何能帮助你提高翻译效率。
要了解Trados的工作原理,首先介绍一下这个软件的组成部分:Workbench:翻译记忆库组件,与Word 无缝集成,安装Trados 时作为插件内嵌在Word 中,工作时,随着文字的输入、句段的开启关闭,译员所翻译的译文会自动随原文一起存入翻译记忆库。
注意,翻译记忆库共由5个文件组成,除了一个 .tmw 主文件,其他四个文件叫神经元文件,移动的时候必须5个一起动。
MultiTerm:术语库文件,由于术语的统一在IT 行业里很重要,但在传统翻译行业里的需求有限,一个xls 文件足以够用,所以这个可以不用。
(注意:这个组件需要单独安装,如果没有安装,第一次运行Workbench 时会报错,忽略即可)WinAlign:制作翻译记忆库的组件。
如果留有以前的大量语料,可以使用WinAlign 做成可导入Workbench 的库文件(txt 格式)。
TagEditor:Trados自带的编辑器,在翻译ppt、inx、xml 和html 等文件时非常好用,需要和Workbench 同时使用。
其他一些组件也很好用,但因为行业针对性而在传统翻译行业用途有限,再此不一一赘述。
工作原理了解了这些组件后,让我们来了解一下Trados 的工作原理。
工作时,需要同时打开翻译记忆库(Workbench)和文本编辑器(Word 或TagEditor)。
一方面,随着翻译的进行,所有译文都会随机存储到翻译记忆库里。
另一方面,Trados 会将当前需要翻译的原文句段和库里存储的原文句段相比较,如果相似度达到75%(这是默认设置,也可以根据自己的需要调整成其他值)则自动将该原文对应的译文取到当前的文件中来,译员只需对照现有的原文修改Trados自动提取的译文即可。
RTX51 Tiny第二版(版本)是RTX51 Tiny 的升级版本,他完全集成在keil的集成开发环境中。
RTX51 Tiny是一款可以运行在大多数8051兼容的器件及其派生器件上的实时操作系统(准实时),相对与传统的开发方式而言,用实时操作系统进行开发是一种效率更高的方式。
作为实时操作系统,RTX51 Tiny虽然比较简陋,但它还是具备了一些实时操作系统的基本要素,完全可以充当我们进入实时操作系统(RTOS)世界的领路者,更为重要的是,它是免费的。
:-)从本节起,我会陆续将keil帮助文件中的RTX51 Tiny第二版的使用手册翻译为中文,并发布给大家,供大家参考。
RTX51 Tiny第2版用户手册第一章概述RTX51 Tiny是一种实时操作系统(RTOS),可以用它来建立多个任务(函数)同时执行的应用。
嵌入式应用系统经常有这种需求。
RTOS可以提供调度、维护、同步等功能。
实时操作系统能灵活的调度系统资源,像CPU和存储器,并且提供任务间的通信。
RTX51 Tiny是一个功能强大的RTOS,且易于使用,它用于8051系列的微控制器。
RTX51 Tiny的程序用标准的C语言构造,由Keil C51 C编译器编译。
用户可以很容易的定义任务函数,而不需要进行复杂的栈和变量结构配置,只需包含一个指定的头文件。
一、What’sNewRTX51 Tiny第二版增加了许多新特性,使得实时软件的开发更加简单,如:支持Code Banking该选项必须在配置文件中允许,还要在文件中定义Code Banking硬件配置。
直接任务切换新增加的函数(os_swich_task)允许一个任务立即切换到另一个处于就绪态的任务。
任务就绪标志新的库函数isr_set_ready和os_set_ready允许用户给一个任务设置就绪标志。
就绪标志可以用于将一个正在等待时间间隔、超时或信号(参见os_wait)的任务置为就绪态,该任务在下一个运行时机恢复。
前言 (4)1.1系统概述 (5)介绍 (5)系统主要组件 (5)1.2 用户登录和注销 (6)登录 (6)注销 (7)超时不活动注销 (8)退出 (8)1.3 用户界面 (8)介绍 (8)界面布局 (9)导航区 (10)导航区中的项目 (10)项目的状态符号 (10)用户定义的导航树 (11)未授权项目导航树 (11)显示区 (11)显示区的布局 (11)显示窗口中的页 (12)显示窗口中的按钮 (13)状态栏 (14)状态栏中的图标 (14)报警窗口 (15)用户界面诊断窗口 (15)电子签名(只限MVE) (16)查看项目数据 (16)修改项目 (16)删除对象/项目 (16)命令项目 (17)打印用户界面 (17)1.4 图形界面 (17)介绍 (17)显示图形 (17)监控设施 (18)1.5 个性化设 (19)介绍 (19)个性化设置的概念 (19)系统设置 (19)用户设置 (19)个性化设置对话框 (19)信息页(Information) (20)报警设置页(Alarm Settings) (20)图形设置页(Graphic Settings) (22)趋势设置页(Trend Settings) (23)显示设置页(Display Settings) (24)应用页(Applications) (25)电子签名设置页(Electronic Signature Settings) (25)注释设置页(Annotation Settings) (26)1.6全局搜索 (26)介绍 (26)全局搜索概述 (26)全局搜索查看器界面 (26)对象列表 (29)实施全局搜索 (29)停止搜索 (30)在搜索结果中选择对象 (30)从搜索结果中删除对象 (30)清除所有搜索结果 (30)向现有搜索结果中手动添加对象 (30)向现有搜索结果中添加新的搜索结果 (30)给分类搜索结果排序 (31)调整搜索结果表中列的顺序 (31)打印搜索结果表 (31)在搜索结果表中命令对象 (31)将搜索结果复制到剪贴板 (31)保存对象列表 (31)打开对象列表 (32)删除对象列表 (32)1.7 全局命令 (32)介绍 (32)全局命令概述 (33)全局命令对话框 (34)命令结果查看器 (35)发送全局命令 (36)使用命令结果查看器 (37)显示命令结果查看器 (37)在命令结果查看器中调整列的顺序 (38)打印命令结果 (38)将命令结果保存到文件中 (38)清除命令结果查看器 (38)1.8 报警和事件管理 (38)介绍 (38)报警和事件管理概述 (38)事件库 (39)默认目的地 (40)ADS/ADX事件信息转发 (40)事件信息的路由、过滤和目的地 (40)事件优先级 (41)通过报警窗口处理报警和事件 (41)打开或关闭报警弹出窗口 (42)事件查看器和事件信息 (42)查看报警事件 (42)在事件查看器中处理报警事件 (44)确认事件信息 (44)放弃事件信息 (44)打印显示的事件信息 (44)为生成事件信息的对象启动Focus视图 (44)启动与事件信息相关的图形 (44)事件信息注释 (44)添加注释 (45)创建注释 (45)查看注释 (45)1.9 时间表 (46)介绍 (46)时间表的概念 (46)日历 (46)时间表 (47)事件 (47)创建时间表 (47)查看及编辑时间表 (54)前言本文基于Metasys 系统扩展架构3.1 版本而写,您的系统可能会因为版本不同而与本文略有差异。
上海交通大学制冷与低温工程所 白涛 白涛 - 1 - 4/27/2022 瞬态系统模拟计算机程序 a TRaNsient SYstem Simulation program 上海交通大学制冷与低温工程所 白涛
白涛 - 2 - 4/27/2022 说明书使用指南: 本书仅对trnsys 16入门学习做初步指导,并没有提供关于TRNSYS模拟软件和实用程序的详细介绍。详细介绍在会以后章节中一一列出。注册过的用户可在TRNSYS网站上下载最新的版本。 修正记录: • 2004-09 TRNSYS 16.00.0000 • 2005-02 TRNSYS 16.00.0037 • 2009-11 TRNSYS 17.00.0000
如何获取更多的信息: 关于程序和程序应用的详细资料,用户可以在TRNSYS网站或是太阳能实验室的TRNSYS联系人那里获取。 TRNSYS 联系人 麦迪逊大学太阳能实验室1500 工程院, 1303工程研究所 Madison, WI 53706 – U.S.A. Email:****************.eduPhone: +1 (608) 263 1586 Fax: +1 (608) 262 8464
TRNSYS 网址: http://sel.me.wisc.edu/trnsys 上海交通大学制冷与低温工程所 白涛
白涛 - 1 - 4/27/2022 绪论
绪论针对TRNSYS本身及其套件做了简单介绍。从中您可以学会如何安装、打开例子、在模拟演示窗口创建系统以及如何使用多维建筑界面。(TRNBuild) TRNSYS简单介绍 TRNSYS是一个完整的、仿真环境具有可扩展性的瞬态仿真系统,包括多区的建筑物。来自世界各地的工程师和研究人员借此验证新能源的概念,从简单的家庭热水系统的设计到模拟建筑物及其设备,包括控制策略、居住者的行为,、替代能源系统(如风能,太阳能,光伏发电,氢能系统)等。 在过去的25年里,TRNSYS成功的一个关键因素在于系统的开放及其模块化结构。末端用户可以获取软件的源代码内核,以及部件模型。 这有助于简化现有的大模式,以使其更适应用户的特殊需要。 基于DLL内核的结构化设计,用户或第三开发商可以使用一些常见的编程语言(C, C + + ,PASCAL, FORTRAN, 等等),便可轻松地添加用户设定的部件 。此外, TRNSYS可以很容易地连接到许多其它应用软件,比如模拟的前处理或是后处理以及模拟过程中通过through interactive calls(例如Microsoft Excel, Matlab, COMIS ,等等) 。 TRNSYS应用包括: •太阳能系统(集热和光伏) •低能耗建筑和新型空调系统(自然通风, 平板加热/冷却,double façade,等等 •可再生能源系统 •热电联产,燃料电池 •任何动态仿真系统 TRNSYS术语: 通常在模拟演示窗口中以图形的方式组建TRNSYSY模拟方案。每种类型的部件都会在模拟引擎里有一对应的数学模型,在模拟演示窗口有一系列配套的图形,同时附加部件的描述:输入、输出、部件参数、等等。 TRNSYSYS部件是以“Types“来命名,(比如Type1是指太阳能集热器),Type56则是代表3维建筑模型。 演示窗口会自动生成一个文本输入文件,供TRNSYS模拟引擎使用。此类输入文件被称为deck file.。 本说明书中, %TRNSYS16 % ,是指TRNSYS 16安装目录。如果您选择保持默认位置,那么安装位置即为ç : \ Program Files文件\ Trnsys16
1.1 TRNSYS组成 TRNSYS由以下界面组成: TRNSYS模拟演示窗口,模拟引擎( TRNDll.dll )及其执行文件( TRNExe.exe ) ,可视化建筑数据输入界面( TRNBuild.exe ) ,以及TRNSED应用过程中,用于创建独立、可重新发布的程序的编辑器窗口( TRNEdit.exe ) 。
TRNSYS演示窗口
TRNSYS演示窗口是主要的可视化界面(以前称为IISiBat ) 。在演示窗口界面,您可以上海交通大学制冷与低温工程所 白涛 白涛 - 2 - 4/27/2022 执行以下操作:拖拽部件到工作室、连接部件、设置模拟系统的参数。 在演示窗口操作结束后,系统以Trnsys方案文件的格式(*.tpf)保存方案资料。当您运行模拟时,演示窗口还会创建了一个TRNSYS输入文件(包含除图形外所有资料的文本文件) 。
图1-1 :TRNSYS演示窗口 模拟演示窗口包括输出管理器,可以控制变量参数的完整性、打印、绘图,以及错误分析窗口,从而详细分析模拟过程。 演示窗口还可以执行的操作:使用 “新项目向导” 生成项目,使用Fortran生成一个新部件框架, 查看和编辑部件特性 (即部件的输入/输出/参数说明) ,查看输出文件等。使用Fortran
TRNSYS模拟引擎
模拟引擎采用 Fotran语言编辑,the source is distributed(见 \ 源代码目录),并汇编成一个Windows动态链接库( DLL ) , TRNDll 。The TRNSYS kernel 读入TRNSYS的所有模拟信息(包括用到的部件及其连接情况)到TRNSYS输入文件,且命名为deck文件( *.dck) 。模拟引擎同样可以读取其它输入文件(如气象数据) ,并创建输出文件。 仿真引擎因包含可执行程序而得名。同时 TRNExe 具有在线绘图功能。这是个很有用的工具。由此,在模拟过程中,您可以查看几十个输出变量的变化规律。 上海交通大学制冷与低温工程所 白涛
白涛 - 3 - 4/27/2022 图1-2 : TRNExe 中的在线绘图仪 图1-2所示,在线绘图仪提供了一些先进的功能,如显示任意时间点的变量值;缩放某个区域,并在缩放窗口显示被缩放时间段的变量数值。
可视化建筑模拟界面
TRNBuild (以前称为Prebid )是用来输入数据到多区域建筑物。设定所有的建筑结构细节,以及分析建筑热性能时所需的每个参数,比如窗户对光的选择性吸收特性,供暖和制冷参数等。 上海交通大学制冷与低温工程所 白涛
白涛 - 4 - 4/27/2022 图1-3 : TRNBuild TRNBuild创建一个建筑物描述文件( *.bui) 其中包括建筑模拟时所需的所有资料。需要注意的是,和 TRNSYS 15不同的是:运行模拟时,窗户数据库文件(w4-lib.dat)是必需的。 。 TRNEdit和TRNSED应用 TRNEdit是一个专门编辑器,可用于创建或修改TRNSYS输入文件(decks) 。 一般用户不推荐使用TRNEdit修改deck文件,熟练的用户可以尝试。大多数用户应当使用演示窗口生成和修改deck文件。 另一方面, TRNEdit可用于创建可再分发应用程序(称为 TRNSED应用软件) 。即使没有TRNSYS许可证,终端用户也可以得到这些应用程序,从而可生成一个简单的模拟工具。其中包括一个通过添加特殊命令到TRNSYS输入文件后获取的可视化界面。一些新功能,如多个窗口(标签) ,可点击的图片,已添加到TRNSYS 16 。 上海交通大学制冷与低温工程所 白涛
白涛 - 5 - 4/27/2022 图1-4 : TRNEdit -Tabbed view to design TRNSED applications 想了解更多有关TRNSED的申请许可证,请检查安装文件夹下的license.txt文件。
TRNSYS附件
TRNSYS提供了各种各样的标准部件,和其他许多附加图书馆亦可以扩充其功能: • TRNLIB : sel.me.wisc.edu / trnsys / trnlib (免费部件数据库) • TRANSSOLAR图书馆: www.transsolar.com • TESS图书馆: www.tess - inc.com 上海交通大学制冷与低温工程所 白涛 白涛 - 6 - 4/27/2022 1.2 安装
1.2.1系统要求 软件: 操作系统 需要:Windows 95/98 , NT 4.0中, 2000, ME或Windows XP中。 Windows 2000或XP 意见:已知的问题在以前的Windows版本的资源管理中(这些问题不涉及TRNSYS或其实用程序) 。 编译 在DLL技术的帮助下,当添加部件到TRNSYS中时,如果已获得了预编译的DLL文件,则不需要编辑部件程序。 • 如果你想调试TRNSYS或添加已获取Fortran的代码的部件,那么您将需要一个Fortran编译程序(请参阅程序员指南的编译器支持) 。如果您要创建自己的部件,你需要一个编译程序能够创造一个DLL文件 。包括任何Windows兼容的现有编译器,比如C + + ,Delphi,Fortran或其他语言。 其他 阅读程序说明书要求装有the free Acrobat readerAcrobat Reader (建议使用6.0版或更高版本,可受益于其更强大的搜索能力) 。
硬件:
TRNSYS对硬件的要求主要取决于您想运行的模拟。规格这里列出是基本要求和建议配置。后者可以允许以0.1秒的时间步长的全年模拟,同时使用全部功能的在线绘图仪,而基本配置将允许您运行更为典型的模拟。 最低配置 • Pentium III处理器或同等配置 • 128 MB的内存 • 200 MB的可用磁盘空间(如果您安装了所有可选的气象资料档案,则需要2.0G) 推荐配置 •奔腾4处理器2.0 GHz或等同配置 • 512 MB内存 • 1 GB的可用磁盘空间(如果您安装了所有可选的气象资料档案,则需要3.0G)
1.2.2 安装TRNSYS 16 运行安装程序( trnsys16-setup- 16 – XX- xxxx.exe ) 。这里xx.xxxx是确切的release number。安装程序将引导您通过一系列的对话框,做出一些简单的选择。最后提示您接受许可协议,然后继续安装。