TRNSYS - the TRaNsient SYstem Simulation program The Solar Energy Lab at the University of Wisconsin - Madison, USA Le Centre Scientifique et Technique du Batiment, Sophia Antipolis, France Transsolar Energietechnik GmBH, Stuttgart, Germany Thermal Energy System Specialists, LLC, Madison Wisconsin, USA Release 18.04.0001 User ID 18-T0380 Listing file for: "C:\Users\aheidari\B21\B21.dck" *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : The TRNSYS Executable (TRNExe.exe) and main DLL (TRNDll.dll) are located in "C:\TRNSYS18\Exe" *** Pre-Processing the TRNSYS EQUATIONs and CONSTANTs to check for fatal errors. *** Pre-Processing of EQUATIONs and CONSTANTs completed with no fatal errors found. *** Evaluating the EQUATIONs and CONSTANTs to determine their initial values. *** Finished evaluating the EQUATIONs and CONSTANTs and ready to begin processing the remainder of the TRNSYS input file. VERSION 18 ******************************************************************************* *** TRNSYS input file (deck) generated by TrnsysStudio *** on Saturday, January 14, 2023 at 11:59 *** from TrnsysStudio project: C:\Users\aheidari\B21\B21.tpf *** *** If you edit this file, use the File/Import TRNSYS Input File function in *** TrnsysStudio to update the project. *** *** If you have problems, questions or suggestions please contact your local *** TRNSYS distributor or mailto:software@cstb.fr *** ******************************************************************************* ******************************************************************************* *** Units ******************************************************************************* ******************************************************************************* *** Control cards ******************************************************************************* * START, STOP and STEP CONSTANTS 3 START=894.0 STOP=895.0 STEP=15/60 ! Start time End time Time step SIMULATION 8.9400000000000000E+02 8.9500000000000000E+02 2.5000000000000000E-01 ! Integration Convergence TOLERANCES 1.0000000000000002E-03 1.0000000000000002E-03 ! Max iterations Max warnings Trace limit LIMITS 35 35 36 ! TRNSYS numerical integration solver method DFQ 1 ! TRNSYS output file width, number of characters WIDTH 80 ! NOLIST statement LIST ! MAP statement ! Solver statement Minimum relaxation factor Maximum relaxation factor SOLVER 0 1.000000000000000 1.000000000000000 ! Nan DEBUG statement NAN_CHECK 0 ! Overwrite DEBUG statement OVERWRITE_CHECK 0 ! disable time report TIME_REPORT 0 ! EQUATION SOLVER statement EQUATION SOLVING METHOD 0 * User defined CONSTANTS *$USER_CONSTANTS EQUATIONS 1 nPlots = (STOP-START)/168. *$USER_CONSTANTS_END * EQUATIONS "Py_inputs" * EQUATIONS 23 T_sp_w_FH = 27 T_sp_w_AHU = 40 T_sp_a_AHU = 23 signal_w_FH_E = 1 signal_w_FH_W = 1 signal_w_AHU_B = 0 signal_w_AHU_C = 0 signal_a_AHU_E = 0 signal_a_AHU_W = 0 signal_a_AHU_RI = 0 signal_a_AHU_RS = 0 signal_hp = 1 m_water_FH_E = 11000 m_water_FH_W = 18000 m_water_AHU_B = 9300 m_water_AHU_C = 8600 m_air_AHU_W = 264.0 m_air_AHU_E = 307.0 m_air_AHU_RI = 62.0 m_air_AHU_RS = 67.5 valve_E = 0.2 valve_W = 0.2 valve_AHU = 0.2 *$UNIT_NAME Py_inputs *$LAYER Main *$POSITION 3651 129 *$UNIT_NUMBER 166 *------------------------------------------------------------------------------ * Model "Type3157" (Type 3157) * UNIT 61 TYPE 3157 Type3157 *$UNIT_NAME Type3157 *$MODEL .\TRNLib\Calling Python (CFFI)\Type3157.tmf *$POSITION 2374 652 *$LAYER Main # PARAMETERS 4 ! 1 Mode ! 2 Number of inputs ! 3 Number of outputs ! 4 Iteration Mode 0.0000000000000000E+00 2.2000000000000000E+01 2.9000000000000000E+01 1.0000000000000000E+00 INPUTS 22 ! [equation] T_sp_w_FH ! [equation] T_sp_w_AHU ! [equation] T_sp_a_AHU ! [equation] signal_w_FH_E ! [equation] signal_w_FH_W ! [equation] signal_w_AHU_B ! [equation] signal_w_AHU_C ! [equation] signal_hp ! [equation] m_water_FH_E ! [equation] m_water_FH_W ! [equation] m_water_AHU_B ! [equation] m_water_AHU_C ! [equation] valve_E ! [equation] valve_W ! [equation] valve_AHU ! Type657:Cold-Side Mixed Outlet Temperature ->T_out_HX ! [unconnected] T_out_hp ! Type649-W:Outlet Temperature ->T_frombuilding_FH_W ! Type649-E:Outlet Temperature ->T_frombuilding_FH_E ! Distribution_return_ahu_b:Outlet Temperature ->T_frombuilding_AHU_B ! Distribution_return_ahus_c:Outlet Temperature ->T_frombuilding_AHU_C ! [unconnected] T_sp_hp_Cout T_SP_W_FH T_SP_W_AHU T_SP_A_AHU SIGNAL_W_FH_E SIGNAL_W_FH_W SIGNAL_W_AHU_B SIGNAL_W_AHU_C SIGNAL_HP M_WATER_FH_E M_WATER_FH_W M_WATER_AHU_B M_WATER_AHU_C VALVE_E VALVE_W VALVE_AHU 120,7 CONST 116,1 115,1 72,1 77,1 CONST *** INITIAL INPUT VALUES 2.7000000000000000E+01 4.0000000000000000E+01 2.3000000000000000E+01 1.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+00 1.1000000000000000E+04 1.8000000000000000E+04 9.3000000000000000E+03 8.6000000000000000E+03 2.0000000000000001E-01 2.0000000000000001E-01 2.0000000000000001E-01 3.0000000000000000E+01 3.1000000000000000E+01 2.0000000000000000E+01 1.9000000000000000E+01 3.2000000000000000E+01 3.3000000000000000E+01 2.9000000000000000E+01 LABELS 1 calc_balance.py *------------------------------------------------------------------------------ * EQUATIONS "DHN" * EQUATIONS 2 Mnetwork = 5000 Tnetwork = 70 *$UNIT_NAME DHN *$LAYER Water Loop *$POSITION 3916 2288 *$UNIT_NUMBER 92 *------------------------------------------------------------------------------ * Model "Type15-6" (Type 15) * UNIT 93 TYPE 15 Type15-6 *$UNIT_NAME Type15-6 *$MODEL .\Weather Data Reading and Processing\Standard Format\Meteonorm Files (TM2)\Type15-6.tmf *$POSITION 266 61 *$LAYER Weather - Data Files # PARAMETERS 21 ! 1 File Type ! 2 Logical unit ! 3 Tilted Surface Radiation Mode ! 4 Ground reflectance - no snow ! 5 Ground reflectance - snow cover ! 6 Number of surfaces ! 7 Tracking mode-1 ! 8 Slope of surface-1 ! 9 Azimuth of surface-1 ! 10 Tracking mode-2 ! 11 Slope of surface-2 ! 12 Azimuth of surface-2 ! 13 Tracking mode-3 ! 14 Slope of surface-3 ! 15 Azimuth of surface-3 ! 16 Tracking mode-4 ! 17 Slope of surface-4 ! 18 Azimuth of surface-4 ! 19 Tracking mode-5 ! 20 Slope of surface-5 ! 21 Azimuth of surface-5 6.0000000000000000E+00 3.8000000000000000E+01 5.0000000000000000E+00 2.0000000000000001E-01 7.0000000000000007E-01 5.0000000000000000E+00 1.0000000000000000E+00 9.0000000000000000E+01 1.8000000000000000E+02 1.0000000000000000E+00 9.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 9.0000000000000000E+01 -9.0000000000000000E+01 1.0000000000000000E+00 9.0000000000000000E+01 9.0000000000000000E+01 1.0000000000000000E+00 4.5000000000000000E+01 0.0000000000000000E+00 *** External files ASSIGN CH-Sion-67200.tm2 38 *|? Which file contains the Meteonorm weather data? |1000 *------------------------------------------------------------------------------ * Model "Type562e" (Type 562) * UNIT 154 TYPE 562 Type562e *$UNIT_NAME Type562e *$MODEL .\Electrical Library (TESS)\Simple PV Models\Not Covered\Constant Efficiency\Type562e.tmf *$POSITION 268 360 *$LAYER Main # PARAMETERS 8 ! 1 PV Efficiency Mode ! 2 Cover Mode ! 3 Area ! 4 Back Resistance ! 5 Top Emissivity ! 6 Back Emissivity ! 7 Absorptance ! 8 PV Efficiency 1.0000000000000000E+00 0.0000000000000000E+00 2.0000000000000000E+03 1.0000000000000000E+00 9.0000000000000002E-01 9.0000000000000002E-01 9.0000000000000002E-01 1.5000000000000002E-01 INPUTS 7 ! Type15-6:Dry bulb temperature ->Ambient Temperature ! Type15-6:Effective sky temperature ->Sky Temperature ! Type15-6:Dry bulb temperature ->Zone Temperature ! Type15-6:Dry bulb temperature ->Back Radiant Temperature ! [unconnected] Top Heat Loss Coefficient ! [unconnected] Bottom Heat Loss Coefficient ! Type15-6:Total tilted surface radiation for surface-5 ->Incident Solar Radiation 93,1 93,4 93,1 93,1 CONST CONST 93,28 *** INITIAL INPUT VALUES 1.0000000000000000E+01 1.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.5000000000000000E+01 1.1000000000000000E+01 0.0000000000000000E+00 *------------------------------------------------------------------------------ * EQUATIONS "LoadPower" * EQUATIONS 1 P_LOAD_TOTAL = [61,28]+[106,6]+[107,6]+[105,6]+[104,6] *$UNIT_NAME LoadPower *$LAYER Main *$POSITION 452 487 *$UNIT_NUMBER 170 *------------------------------------------------------------------------------ * Model "inverter/charge control" (Type 48) * UNIT 172 TYPE 48 inverter/charge control *$UNIT_NAME inverter/charge control *$MODEL .\Electrical\Regulators and Inverters\System w_ battery storage\MPP Tracking\SOC monitoring only\Type48b.tmf *$POSITION 232 683 *$LAYER Main # PARAMETERS 7 ! 1 Mode ! 2 Regulator efficiency ! 3 Inverter efficiency ! 4 High limit on fractional state of charge (FSOC) ! 5 Low limit on FSOC ! 6 Charge to discharge limit on FSOC ! 7 Inverter output power capacity 1.0000000000000000E+00 7.8000000000000003E-01 9.6000000000000008E-01 9.5000000000000007E-01 1.0000000000000001E-01 3.0000000000000004E-01 5.3999996004630001E+06 INPUTS 3 ! Type562e:Power Production ->Input power ! LoadPower:P_LOAD_TOTAL ->Load power ! battery bank:Fractional state of charge ->Battery fractional state of charge 154,2 P_LOAD_TOTAL 173,2 *** INITIAL INPUT VALUES 0.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+00 *------------------------------------------------------------------------------ * Model "battery bank" (Type 47) * UNIT 173 TYPE 47 battery bank *$UNIT_NAME battery bank *$MODEL .\Electrical\Batteries\Power as an input\dQ_dt=P eff\Type47a.tmf *$POSITION 71 684 *$LAYER Main # PARAMETERS 5 ! 1 Mode ! 2 Cell energy capacity ! 3 Cells in parallel ! 4 Cells in series ! 5 Charging efficiency 1.0000000000000000E+00 1.9999999852699999E+05 1.0000000000000000E+00 6.0000000000000000E+00 9.0000000000000002E-01 INPUTS 1 ! inverter/charge control:Power to or from battery ->Power to or from battery 172,2 *** INITIAL INPUT VALUES 0.0000000000000000E+00 DERIVATIVES 1 ! 1 State of charge1 1.0000000000000000E+02 *------------------------------------------------------------------------------ * Model "fan_ahu_RI" (Type 146) * UNIT 105 TYPE 146 fan_ahu_RI *$UNIT_NAME fan_ahu_RI *$MODEL .\Hydronics\Fan\Constant Speed\Type146.tmf *$POSITION 555 410 *$LAYER AHU_cuisine # *$# Single-Speed Fan PARAMETERS 5 ! 1 Humidity Mode ! 2 Rated Volumetric Flow Rate ! 3 Rated Power ! 4 Motor Efficiency ! 5 Motor Heat Loss Fraction 2.0000000000000000E+00 6.2000000000000000E+01 3.6000000000000004E-01 9.0000000000000002E-01 0.0000000000000000E+00 INPUTS 7 ! Type15-6:Dry bulb temperature ->Inlet Air Temperature ! Type15-6:Humidity ratio ->Inlet Air Humidity Ratio ! Type15-6:Percent relative humidity ->Inlet Air % Relative Humidity ! [unconnected] Air Flow Rate ! [unconnected] Inlet Air Pressure ! [equation] Control Signal ! [unconnected] Air-Side Pressure Increase 93,1 93,6 93,7 CONST CONST SIGNAL_A_AHU_RI CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 2.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 *------------------------------------------------------------------------------ * Model "AHU_RI" (Type 753) * UNIT 94 TYPE 753 AHU_RI *$UNIT_NAME AHU_RI *$MODEL .\HVAC Library (TESS)\Air Handler Components\Heating Coils\Bypass Factor Approach\Outlet Air Temp Control\Type753e.tmf *$POSITION 836 423 *$LAYER AHU_cuisine # *$# Heating Coil Using the Bypass Fraction Approach - Outlet Air Temperature Controlled PARAMETERS 3 ! 1 Air Temperature Control Mode ! 2 Humidity Mode ! 3 Liquid Specific Heat 1.0000000000000000E+00 2.0000000000000000E+00 4.1899999999999995E+00 INPUTS 10 ! Distribution_supply_ahus_c:Outlet Temperature-1_RI ->Fluid Inlet Temperature ! Distribution_supply_ahus_c:Outlet Flowrate-1_RI ->Fluid Flowrate ! Type760-3:Fresh Air Temperature ->Air Inlet Temperature ! [unconnected] Air Humidity Ratio ! [unconnected] Air % Relative Humidity ! Type760-3:Fresh Air Flowrate ->Air Flowrate ! [unconnected] Air Pressure ! [unconnected] Air-Side Pressure Drop ! [unconnected] Coil Bypass Fraction ! [equation] Setpoint: Outlet Air Temperature 76,1 76,2 137,6 CONST CONST 137,9 CONST CONST CONST T_SP_A_AHU *** INITIAL INPUT VALUES 1.0000000000000000E+01 3.0000000000000000E+02 2.0000000000000000E+01 5.0000000000000010E-03 5.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 1.5000000000000002E-01 2.3000000000000000E+01 *------------------------------------------------------------------------------ * Model "Type646-4" (Type 646) * UNIT 119 TYPE 646 Type646-4 *$UNIT_NAME Type646-4 *$MODEL .\Hydronics Library (TESS)\Valves\Diverting Valve (100 Ports)\Air\Type646.tmf *$POSITION 1099 423 *$LAYER AHU_cuisine # *$# Supply Plenum (Air Diverting Valve) PARAMETERS 2 ! 1 Humidity Mode ! 2 Number of Outlet Ports 2.0000000000000000E+00 2.0000000000000000E+00 INPUTS 8 ! AHU_RI:Outlet Air Temperature ->Inlet Air Temperature ! AHU_RI:Outlet Air Humidity Ratio ->Inlet Air Humidity Ratio ! AHU_RI:Outlet Air % Relative Humidity ->Inlet Air % Relative Humidity ! AHU_RI:Dry Air Flowrate ->Inlet Air Flowrate ! [unconnected] Inlet Air Pressure ! [unconnected] Air-Side Pressure Drop ! [unconnected] Fraction of Flow to Outlet -1_RIW ! [unconnected] Fraction of Flow to Outlet -2_RIE 94,3 94,4 94,5 94,6 CONST CONST CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 3.0000000000000004E-01 7.0000000000000007E-01 *------------------------------------------------------------------------------ * Model "Type648-4" (Type 648) * UNIT 108 TYPE 648 Type648-4 *$UNIT_NAME Type648-4 *$MODEL .\Hydronics Library (TESS)\Valves\Mixing Valve (100 Ports)\Air\Type648.tmf *$POSITION 978 183 *$LAYER AHU_cuisine # *$# Return Plenum (Air Diverting Valve) PARAMETERS 2 ! 1 Humidity Mode ! 2 Number of Inlet Ports 2.0000000000000000E+00 2.0000000000000000E+00 INPUTS 11 ! Building_21: 1- TAIR_RI_W ->Inlet Air Temperature-1 ! [unconnected] Inlet Air Humidity Ratio-1 ! [unconnected] Inlet Air % Relative Humidity-1 ! Type646-4:Outlet Air Flowrate -1_RIW ->Inlet Air Flowrate-1 ! [unconnected] Inlet Air Pressure-1 ! Building_21: 2- TAIR_RI_E ->Inlet Air Temperature-2 ! [unconnected] Inlet Air Humidity Ratio-2 ! [unconnected] Inlet Air % Relative Humidity-2 ! Type646-4:Outlet Air Flowrate -2_RIE ->Inlet Air Flowrate-2 ! [unconnected] Inlet Air Pressure-2 ! [unconnected] Air-Side Pressure Drop 2,1 CONST CONST 119,4 CONST 2,2 CONST CONST 119,9 CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 *------------------------------------------------------------------------------ * EQUATIONS "Equa" * EQUATIONS 1 Mo_RI = [108,4]*0.6 *$UNIT_NAME Equa *$LAYER Main *$POSITION 812 236 *$UNIT_NUMBER 129 *------------------------------------------------------------------------------ * Model "Type760-3" (Type 760) * UNIT 137 TYPE 760 Type760-3 *$UNIT_NAME Type760-3 *$MODEL .\HVAC Library (TESS)\Air-Air Heat Recovery\Air-to-Air Heat Exchanger\Sensible Only with Control Modes\Air-Air Heat Recovery\Type760.tmf *$POSITION 690 418 *$LAYER Main # *$# Air-to-Air Heat Recovery PARAMETERS 3 ! 1 Humidity Mode ! 2 Rated Power ! 3 Control Mode 2.0000000000000000E+00 6.7110000000000002E+02 0.0000000000000000E+00 INPUTS 15 ! Type648-4:Outlet Air Temperature ->Exhaust Air Temperature ! [unconnected] Exhaust Air Humidity Ratio ! [unconnected] Exhaust Air % Relative Humidity ! Equa:Mo_RI ->Exhaust Air Flowrate ! [unconnected] Exhaust Air Pressure ! [unconnected] Exhaust Air Pressure Drop ! fan_ahu_RI:Outlet Air Temperature ->Fresh Air Temperature ! [unconnected] Fresh Air Humidity Ratio ! [unconnected] Fresh Air % Relative Humidity ! fan_ahu_RI:Outlet Flow Rate ->Fresh Air Flowrate ! [unconnected] Fresh Air Pressure ! [unconnected] Fresh Air Pressure Drop ! [unconnected] Sensible Effectiveness ! [equation] On/Off Control Signal ! [unconnected] Control Temperature 108,1 CONST CONST MO_RI CONST CONST 105,1 CONST CONST 105,4 CONST CONST CONST SIGNAL_A_AHU_RI CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 5.0000000000000010E-03 6.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 2.0000000000000000E+01 5.0000000000000010E-03 5.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 6.0000000000000009E-01 0.0000000000000000E+00 2.0000000000000000E+01 *------------------------------------------------------------------------------ * Model "fan_ahu_floors_W" (Type 146) * UNIT 106 TYPE 146 fan_ahu_floors_W *$UNIT_NAME fan_ahu_floors_W *$MODEL .\Hydronics\Fan\Constant Speed\Type146.tmf *$POSITION 623 378 *$LAYER AHU_W # *$# Single-Speed Fan PARAMETERS 5 ! 1 Humidity Mode ! 2 Rated Volumetric Flow Rate ! 3 Rated Power ! 4 Motor Efficiency ! 5 Motor Heat Loss Fraction 2.0000000000000000E+00 2.6400000000000000E+02 3.6000000000000004E-01 9.0000000000000002E-01 0.0000000000000000E+00 INPUTS 7 ! [unconnected] Inlet Air Temperature ! Type15-6:Humidity ratio ->Inlet Air Humidity Ratio ! Type15-6:Percent relative humidity ->Inlet Air % Relative Humidity ! [unconnected] Air Flow Rate ! [unconnected] Inlet Air Pressure ! [equation] Control Signal ! [unconnected] Air-Side Pressure Increase CONST 93,6 93,7 CONST CONST SIGNAL_A_AHU_W CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 2.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 *------------------------------------------------------------------------------ * Model "AHU_offices_W" (Type 753) * UNIT 96 TYPE 753 AHU_offices_W *$UNIT_NAME AHU_offices_W *$MODEL .\HVAC Library (TESS)\Air Handler Components\Heating Coils\Bypass Factor Approach\Outlet Air Temp Control\Type753e.tmf *$POSITION 920 378 *$LAYER AHU_W # *$# Heating Coil Using the Bypass Fraction Approach - Outlet Air Temperature Controlled PARAMETERS 3 ! 1 Air Temperature Control Mode ! 2 Humidity Mode ! 3 Liquid Specific Heat 1.0000000000000000E+00 2.0000000000000000E+00 4.1899999999999995E+00 INPUTS 10 ! Distribution_supply_ahu_b:Outlet Temperature-1_W ->Fluid Inlet Temperature ! Distribution_supply_ahu_b:Outlet Flowrate-1_W ->Fluid Flowrate ! Type760-2:Fresh Air Temperature ->Air Inlet Temperature ! [unconnected] Air Humidity Ratio ! [unconnected] Air % Relative Humidity ! Type760-2:Fresh Air Flowrate ->Air Flowrate ! [unconnected] Air Pressure ! [unconnected] Air-Side Pressure Drop ! [unconnected] Coil Bypass Fraction ! [equation] Setpoint: Outlet Air Temperature 71,1 71,2 150,6 CONST CONST 150,9 CONST CONST CONST T_SP_A_AHU *** INITIAL INPUT VALUES 1.0000000000000000E+01 0.0000000000000000E+00 2.0000000000000000E+01 5.0000000000000010E-03 5.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 1.5000000000000002E-01 2.3000000000000000E+01 *------------------------------------------------------------------------------ * Model "Type646-3" (Type 646) * UNIT 100 TYPE 646 Type646-3 *$UNIT_NAME Type646-3 *$MODEL .\Hydronics Library (TESS)\Valves\Diverting Valve (100 Ports)\Air\Type646.tmf *$POSITION 1126 378 *$LAYER AHU_W # *$# Supply Plenum (Air Diverting Valve) PARAMETERS 2 ! 1 Humidity Mode ! 2 Number of Outlet Ports 2.0000000000000000E+00 6.0000000000000000E+00 INPUTS 12 ! AHU_offices_W:Outlet Air Temperature ->Inlet Air Temperature ! AHU_offices_W:Outlet Air Humidity Ratio ->Inlet Air Humidity Ratio ! AHU_offices_W:Outlet Air % Relative Humidity ->Inlet Air % Relative Humidity ! AHU_offices_W:Dry Air Flowrate ->Inlet Air Flowrate ! [unconnected] Inlet Air Pressure ! [unconnected] Air-Side Pressure Drop ! [unconnected] Fraction of Flow to Outlet -1 ! [unconnected] Fraction of Flow to Outlet -2 ! [unconnected] Fraction of Flow to Outlet -3 ! [unconnected] Fraction of Flow to Outlet -4 ! [unconnected] Fraction of Flow to Outlet -5 ! [unconnected] Fraction of Flow to Outlet -6 96,3 96,4 96,5 96,6 CONST CONST CONST CONST CONST CONST CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 1.4000000000000001E-01 1.7000000000000001E-01 1.6000000000000003E-01 2.3000000000000001E-01 1.4000000000000001E-01 1.6000000000000003E-01 *------------------------------------------------------------------------------ * Model "Type648-2" (Type 648) * UNIT 102 TYPE 648 Type648-2 *$UNIT_NAME Type648-2 *$MODEL .\Hydronics Library (TESS)\Valves\Mixing Valve (100 Ports)\Air\Type648.tmf *$POSITION 914 202 *$LAYER AHU_W # *$# Return Plenum (Air Diverting Valve) PARAMETERS 2 ! 1 Humidity Mode ! 2 Number of Inlet Ports 2.0000000000000000E+00 6.0000000000000000E+00 INPUTS 31 ! Building_21: 5- TAIR_N1_W ->Inlet Air Temperature-1 ! [unconnected] Inlet Air Humidity Ratio-1 ! [unconnected] Inlet Air % Relative Humidity-1 ! Type646-3:Outlet Air Flowrate -1 ->Inlet Air Flowrate-1 ! [unconnected] Inlet Air Pressure-1 ! Building_21: 7- TAIR_N2_W ->Inlet Air Temperature-2 ! [unconnected] Inlet Air Humidity Ratio-2 ! [unconnected] Inlet Air % Relative Humidity-2 ! Type646-3:Outlet Air Flowrate -2 ->Inlet Air Flowrate-2 ! [unconnected] Inlet Air Pressure-2 ! Building_21: 9- TAIR_N3_W ->Inlet Air Temperature-3 ! [unconnected] Inlet Air Humidity Ratio-3 ! [unconnected] Inlet Air % Relative Humidity-3 ! Type646-3:Outlet Air Flowrate -3 ->Inlet Air Flowrate-3 ! [unconnected] Inlet Air Pressure-3 ! Building_21: 11- TAIR_N4_W ->Inlet Air Temperature-4 ! [unconnected] Inlet Air Humidity Ratio-4 ! [unconnected] Inlet Air % Relative Humidity-4 ! Type646-3:Outlet Air Flowrate -4 ->Inlet Air Flowrate-4 ! [unconnected] Inlet Air Pressure-4 ! Building_21: 13- TAIR_N5_W ->Inlet Air Temperature-5 ! [unconnected] Inlet Air Humidity Ratio-5 ! [unconnected] Inlet Air % Relative Humidity-5 ! Type646-3:Outlet Air Flowrate -5 ->Inlet Air Flowrate-5 ! [unconnected] Inlet Air Pressure-5 ! Building_21: 15- TAIR_N6_W ->Inlet Air Temperature-6 ! [unconnected] Inlet Air Humidity Ratio-6 ! [unconnected] Inlet Air % Relative Humidity-6 ! Type646-3:Outlet Air Flowrate -6 ->Inlet Air Flowrate-6 ! [unconnected] Inlet Air Pressure-6 ! [unconnected] Air-Side Pressure Drop 2,5 CONST CONST 100,4 CONST 2,7 CONST CONST 100,9 CONST 2,9 CONST CONST 100,14 CONST 2,11 CONST CONST 100,19 CONST 2,13 CONST CONST 100,24 CONST 2,15 CONST CONST 100,29 CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 *------------------------------------------------------------------------------ * EQUATIONS "Equa-3" * EQUATIONS 1 Mo_W = [102,4]*0.6 *$UNIT_NAME Equa-3 *$LAYER Main *$POSITION 726 257 *$UNIT_NUMBER 134 *------------------------------------------------------------------------------ * Model "Type760-2" (Type 760) * UNIT 150 TYPE 760 Type760-2 *$UNIT_NAME Type760-2 *$MODEL .\HVAC Library (TESS)\Air-Air Heat Recovery\Air-to-Air Heat Exchanger\Sensible Only with Control Modes\Air-Air Heat Recovery\Type760.tmf *$POSITION 766 378 *$LAYER AHU_W # *$# Air-to-Air Heat Recovery PARAMETERS 3 ! 1 Humidity Mode ! 2 Rated Power ! 3 Control Mode 2.0000000000000000E+00 6.7110000000000002E+02 0.0000000000000000E+00 INPUTS 15 ! Type648-2:Outlet Air Temperature ->Exhaust Air Temperature ! Type648-2:Outlet Air Humidity Ratio ->Exhaust Air Humidity Ratio ! Type648-2:Outlet Air % Relative Humidity ->Exhaust Air % Relative Humidity ! Equa-3:Mo_W ->Exhaust Air Flowrate ! [unconnected] Exhaust Air Pressure ! [unconnected] Exhaust Air Pressure Drop ! fan_ahu_floors_W:Outlet Air Temperature ->Fresh Air Temperature ! fan_ahu_floors_W:Outlet Air Humidity Ratio ->Fresh Air Humidity Ratio ! fan_ahu_floors_W:Outlet Air % Relative Humidity ->Fresh Air % Relative Humidity ! fan_ahu_floors_W:Outlet Flow Rate ->Fresh Air Flowrate ! [unconnected] Fresh Air Pressure ! [unconnected] Fresh Air Pressure Drop ! [unconnected] Sensible Effectiveness ! [equation] On/Off Control Signal ! [unconnected] Control Temperature 102,1 102,2 102,3 MO_W CONST CONST 106,1 106,2 106,3 106,4 CONST CONST CONST SIGNAL_A_AHU_W CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 5.0000000000000010E-03 6.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 2.0000000000000000E+01 5.0000000000000010E-03 5.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 6.0000000000000009E-01 0.0000000000000000E+00 2.0000000000000000E+01 *------------------------------------------------------------------------------ * Model "fan_ahu_floors_E" (Type 146) * UNIT 107 TYPE 146 fan_ahu_floors_E *$UNIT_NAME fan_ahu_floors_E *$MODEL .\Hydronics\Fan\Constant Speed\Type146.tmf *$POSITION 574 301 *$LAYER AHU_E # *$# Single-Speed Fan PARAMETERS 5 ! 1 Humidity Mode ! 2 Rated Volumetric Flow Rate ! 3 Rated Power ! 4 Motor Efficiency ! 5 Motor Heat Loss Fraction 2.0000000000000000E+00 3.0700000000000000E+02 3.6000000000000004E-01 9.0000000000000002E-01 0.0000000000000000E+00 INPUTS 7 ! Type15-6:Dry bulb temperature ->Inlet Air Temperature ! Type15-6:Humidity ratio ->Inlet Air Humidity Ratio ! Type15-6:Percent relative humidity ->Inlet Air % Relative Humidity ! [unconnected] Air Flow Rate ! Type15-6:Atmospheric pressure ->Inlet Air Pressure ! [equation] Control Signal ! [unconnected] Air-Side Pressure Increase 93,1 93,6 93,7 CONST 93,10 SIGNAL_A_AHU_E CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 2.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 *------------------------------------------------------------------------------ * Model "AHU_offices_E" (Type 753) * UNIT 97 TYPE 753 AHU_offices_E *$UNIT_NAME AHU_offices_E *$MODEL .\HVAC Library (TESS)\Air Handler Components\Heating Coils\Bypass Factor Approach\Outlet Air Temp Control\Type753e.tmf *$POSITION 908 327 *$LAYER AHU_E # *$# Heating Coil Using the Bypass Fraction Approach - Outlet Air Temperature Controlled PARAMETERS 3 ! 1 Air Temperature Control Mode ! 2 Humidity Mode ! 3 Liquid Specific Heat 1.0000000000000000E+00 2.0000000000000000E+00 4.1899999999999995E+00 INPUTS 10 ! Distribution_supply_ahu_b:Outlet Temperature-2_E ->Fluid Inlet Temperature ! Distribution_supply_ahu_b:Outlet Flowrate-2_E ->Fluid Flowrate ! Type760:Fresh Air Temperature ->Air Inlet Temperature ! [unconnected] Air Humidity Ratio ! [unconnected] Air % Relative Humidity ! Type760:Fresh Air Flowrate ->Air Flowrate ! [unconnected] Air Pressure ! [unconnected] Air-Side Pressure Drop ! [unconnected] Coil Bypass Fraction ! [equation] Setpoint: Outlet Air Temperature 71,3 71,4 151,6 CONST CONST 151,9 CONST CONST CONST T_SP_A_AHU *** INITIAL INPUT VALUES 1.0000000000000000E+01 0.0000000000000000E+00 2.0000000000000000E+01 5.0000000000000010E-03 5.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 1.5000000000000002E-01 2.3000000000000000E+01 *------------------------------------------------------------------------------ * Model "Type646-2" (Type 646) * UNIT 99 TYPE 646 Type646-2 *$UNIT_NAME Type646-2 *$MODEL .\Hydronics Library (TESS)\Valves\Diverting Valve (100 Ports)\Air\Type646.tmf *$POSITION 1038 314 *$LAYER AHU_E # *$# Supply Plenum (Air Diverting Valve) PARAMETERS 2 ! 1 Humidity Mode ! 2 Number of Outlet Ports 2.0000000000000000E+00 6.0000000000000000E+00 INPUTS 12 ! AHU_offices_E:Outlet Air Temperature ->Inlet Air Temperature ! AHU_offices_E:Outlet Air Humidity Ratio ->Inlet Air Humidity Ratio ! AHU_offices_E:Outlet Air % Relative Humidity ->Inlet Air % Relative Humidity ! AHU_offices_E:Dry Air Flowrate ->Inlet Air Flowrate ! AHU_offices_E:Outlet Air Pressure ->Inlet Air Pressure ! [unconnected] Air-Side Pressure Drop ! [unconnected] Fraction of Flow to Outlet -1_N1E ! [unconnected] Fraction of Flow to Outlet -2_N2E ! [unconnected] Fraction of Flow to Outlet -3_N3E ! [unconnected] Fraction of Flow to Outlet -4_N4E ! [unconnected] Fraction of Flow to Outlet -5_N5E ! [unconnected] Fraction of Flow to Outlet -6_N6E 97,3 97,4 97,5 97,6 97,7 CONST CONST CONST CONST CONST CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 2.0000000000000001E-01 1.4000000000000001E-01 1.5000000000000002E-01 1.4000000000000001E-01 1.9000000000000003E-01 1.7000000000000001E-01 *------------------------------------------------------------------------------ * Model "Type648-3" (Type 648) * UNIT 103 TYPE 648 Type648-3 *$UNIT_NAME Type648-3 *$MODEL .\Hydronics Library (TESS)\Valves\Mixing Valve (100 Ports)\Air\Type648.tmf *$POSITION 1024 153 *$LAYER AHU_E # *$# Return Plenum (Air Diverting Valve) PARAMETERS 2 ! 1 Humidity Mode ! 2 Number of Inlet Ports 2.0000000000000000E+00 6.0000000000000000E+00 INPUTS 31 ! Building_21: 6- TAIR_N1_E ->Inlet Air Temperature-1 ! [unconnected] Inlet Air Humidity Ratio-1 ! [unconnected] Inlet Air % Relative Humidity-1 ! Type646-2:Outlet Air Flowrate -1 ->Inlet Air Flowrate-1 ! [unconnected] Inlet Air Pressure-1 ! Building_21: 8- TAIR_N2_E ->Inlet Air Temperature-2 ! [unconnected] Inlet Air Humidity Ratio-2 ! [unconnected] Inlet Air % Relative Humidity-2 ! Type646-2:Outlet Air Flowrate -2 ->Inlet Air Flowrate-2 ! [unconnected] Inlet Air Pressure-2 ! Building_21: 10- TAIR_N3_E ->Inlet Air Temperature-3 ! [unconnected] Inlet Air Humidity Ratio-3 ! [unconnected] Inlet Air % Relative Humidity-3 ! Type646-2:Outlet Air Flowrate -3 ->Inlet Air Flowrate-3 ! [unconnected] Inlet Air Pressure-3 ! Building_21: 12- TAIR_N4_E ->Inlet Air Temperature-4 ! [unconnected] Inlet Air Humidity Ratio-4 ! [unconnected] Inlet Air % Relative Humidity-4 ! Type646-2:Outlet Air Flowrate -4 ->Inlet Air Flowrate-4 ! [unconnected] Inlet Air Pressure-4 ! Building_21: 14- TAIR_N5_E ->Inlet Air Temperature-5 ! [unconnected] Inlet Air Humidity Ratio-5 ! [unconnected] Inlet Air % Relative Humidity-5 ! Type646-2:Outlet Air Flowrate -5 ->Inlet Air Flowrate-5 ! [unconnected] Inlet Air Pressure-5 ! Building_21: 16- TAIR_N6_E ->Inlet Air Temperature-6 ! [unconnected] Inlet Air Humidity Ratio-6 ! [unconnected] Inlet Air % Relative Humidity-6 ! Type646-2:Outlet Air Flowrate -6 ->Inlet Air Flowrate-6 ! [unconnected] Inlet Air Pressure-6 ! [unconnected] Air-Side Pressure Drop 2,6 CONST CONST 99,4 CONST 2,8 CONST CONST 99,9 CONST 2,10 CONST CONST 99,14 CONST 2,12 CONST CONST 99,19 CONST 2,14 CONST CONST 99,24 CONST 2,16 CONST CONST 99,29 CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 *------------------------------------------------------------------------------ * EQUATIONS "Equa-4" * EQUATIONS 1 Mo_E = [103,4]*0.6 *$UNIT_NAME Equa-4 *$LAYER Main *$POSITION 790 118 *$UNIT_NUMBER 135 *------------------------------------------------------------------------------ * Model "Type760" (Type 760) * UNIT 151 TYPE 760 Type760 *$UNIT_NAME Type760 *$MODEL .\HVAC Library (TESS)\Air-Air Heat Recovery\Air-to-Air Heat Exchanger\Sensible Only with Control Modes\Air-Air Heat Recovery\Type760.tmf *$POSITION 731 301 *$LAYER AHU_E # *$# Air-to-Air Heat Recovery PARAMETERS 3 ! 1 Humidity Mode ! 2 Rated Power ! 3 Control Mode 2.0000000000000000E+00 6.7110000000000002E+02 0.0000000000000000E+00 INPUTS 15 ! Type648-3:Outlet Air Temperature ->Exhaust Air Temperature ! Type648-3:Outlet Air Humidity Ratio ->Exhaust Air Humidity Ratio ! Type648-3:Outlet Air % Relative Humidity ->Exhaust Air % Relative Humidity ! Equa-4:Mo_E ->Exhaust Air Flowrate ! [unconnected] Exhaust Air Pressure ! [unconnected] Exhaust Air Pressure Drop ! fan_ahu_floors_E:Outlet Air Temperature ->Fresh Air Temperature ! [unconnected] Fresh Air Humidity Ratio ! [unconnected] Fresh Air % Relative Humidity ! fan_ahu_floors_E:Outlet Flow Rate ->Fresh Air Flowrate ! [unconnected] Fresh Air Pressure ! [unconnected] Fresh Air Pressure Drop ! [unconnected] Sensible Effectiveness ! [equation] On/Off Control Signal ! [unconnected] Control Temperature 103,1 103,2 103,3 MO_E CONST CONST 107,1 CONST CONST 107,4 CONST CONST CONST SIGNAL_A_AHU_E CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 5.0000000000000010E-03 6.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 2.0000000000000000E+01 5.0000000000000010E-03 5.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 6.0000000000000009E-01 0.0000000000000000E+00 2.0000000000000000E+01 *------------------------------------------------------------------------------ * Model "fan_ahu_RS" (Type 146) * UNIT 104 TYPE 146 fan_ahu_RS *$UNIT_NAME fan_ahu_RS *$MODEL .\Hydronics\Fan\Constant Speed\Type146.tmf *$POSITION 296 474 *$LAYER AHU_cafet # *$# Single-Speed Fan PARAMETERS 5 ! 1 Humidity Mode ! 2 Rated Volumetric Flow Rate ! 3 Rated Power ! 4 Motor Efficiency ! 5 Motor Heat Loss Fraction 2.0000000000000000E+00 6.7500000000000000E+01 3.6000000000000004E-01 9.0000000000000002E-01 0.0000000000000000E+00 INPUTS 7 ! Type15-6:Dry bulb temperature ->Inlet Air Temperature ! Type15-6:Humidity ratio ->Inlet Air Humidity Ratio ! Type15-6:Percent relative humidity ->Inlet Air % Relative Humidity ! [unconnected] Air Flow Rate ! [unconnected] Inlet Air Pressure ! [equation] Control Signal ! [unconnected] Air-Side Pressure Increase 93,1 93,6 93,7 CONST CONST SIGNAL_A_AHU_RS CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 2.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 *------------------------------------------------------------------------------ * Model "AHU_RS" (Type 753) * UNIT 95 TYPE 753 AHU_RS *$UNIT_NAME AHU_RS *$MODEL .\HVAC Library (TESS)\Air Handler Components\Heating Coils\Bypass Factor Approach\Outlet Air Temp Control\Type753e.tmf *$POSITION 587 474 *$LAYER AHU_cafet # *$# Heating Coil Using the Bypass Fraction Approach - Outlet Air Temperature Controlled PARAMETERS 3 ! 1 Air Temperature Control Mode ! 2 Humidity Mode ! 3 Liquid Specific Heat 1.0000000000000000E+00 2.0000000000000000E+00 4.1899999999999995E+00 INPUTS 10 ! Distribution_supply_ahus_c:Outlet Temperature-2_RS ->Fluid Inlet Temperature ! Distribution_supply_ahus_c:Outlet Flowrate-2_RS ->Fluid Flowrate ! Type760-4:Fresh Air Temperature ->Air Inlet Temperature ! Type760-4:Fresh Air Humidity Ratio ->Air Humidity Ratio ! Type760-4:Fresh Air % Relative Humidity ->Air % Relative Humidity ! Type760-4:Fresh Air Flowrate ->Air Flowrate ! [unconnected] Air Pressure ! [unconnected] Air-Side Pressure Drop ! [unconnected] Coil Bypass Fraction ! [equation] Setpoint: Outlet Air Temperature 76,3 76,4 153,6 153,7 153,8 153,9 CONST CONST CONST T_SP_A_AHU *** INITIAL INPUT VALUES 1.0000000000000000E+01 0.0000000000000000E+00 2.0000000000000000E+01 5.0000000000000010E-03 5.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 1.5000000000000002E-01 2.3000000000000000E+01 *------------------------------------------------------------------------------ * Model "Type646" (Type 646) * UNIT 98 TYPE 646 Type646 *$UNIT_NAME Type646 *$MODEL .\Hydronics Library (TESS)\Valves\Diverting Valve (100 Ports)\Air\Type646.tmf *$POSITION 773 474 *$LAYER AHU_cafet # *$# Supply Plenum (Air Diverting Valve) PARAMETERS 2 ! 1 Humidity Mode ! 2 Number of Outlet Ports 2.0000000000000000E+00 2.0000000000000000E+00 INPUTS 8 ! AHU_RS:Outlet Air Temperature ->Inlet Air Temperature ! AHU_RS:Outlet Air Humidity Ratio ->Inlet Air Humidity Ratio ! AHU_RS:Outlet Air % Relative Humidity ->Inlet Air % Relative Humidity ! AHU_RS:Dry Air Flowrate ->Inlet Air Flowrate ! [unconnected] Inlet Air Pressure ! [unconnected] Air-Side Pressure Drop ! [unconnected] Fraction of Flow to Outlet -1_RSW ! [unconnected] Fraction of Flow to Outlet -2_RSE 95,3 95,4 95,5 95,6 CONST CONST CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 4.0000000000000002E-01 6.0000000000000009E-01 *------------------------------------------------------------------------------ * Model "Type648" (Type 648) * UNIT 101 TYPE 648 Type648 *$UNIT_NAME Type648 *$MODEL .\Hydronics Library (TESS)\Valves\Mixing Valve (100 Ports)\Air\Type648.tmf *$POSITION 637 215 *$LAYER AHU_cafet # *$# Return Plenum (Air Diverting Valve) PARAMETERS 2 ! 1 Humidity Mode ! 2 Number of Inlet Ports 2.0000000000000000E+00 2.0000000000000000E+00 INPUTS 11 ! Building_21: 3- TAIR_RS_W ->Inlet Air Temperature-1 ! [unconnected] Inlet Air Humidity Ratio-1 ! [unconnected] Inlet Air % Relative Humidity-1 ! Type646:Outlet Air Flowrate -1_RSW ->Inlet Air Flowrate-1 ! [unconnected] Inlet Air Pressure-1 ! Building_21: 4- TAIR_RS_E ->Inlet Air Temperature-2 ! [unconnected] Inlet Air Humidity Ratio-2 ! [unconnected] Inlet Air % Relative Humidity-2 ! Type646:Outlet Air Flowrate -2_RSE ->Inlet Air Flowrate-2 ! [unconnected] Inlet Air Pressure-2 ! [unconnected] Air-Side Pressure Drop 2,3 CONST CONST 98,4 CONST 2,4 CONST CONST 98,9 CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+00 0.0000000000000000E+00 *------------------------------------------------------------------------------ * EQUATIONS "Equa-5" * EQUATIONS 1 Mo_RS = [101,4]*0.6 *$UNIT_NAME Equa-5 *$LAYER Main *$POSITION 406 268 *$UNIT_NUMBER 136 *------------------------------------------------------------------------------ * Model "Type760-4" (Type 760) * UNIT 153 TYPE 760 Type760-4 *$UNIT_NAME Type760-4 *$MODEL .\HVAC Library (TESS)\Air-Air Heat Recovery\Air-to-Air Heat Exchanger\Sensible Only with Control Modes\Air-Air Heat Recovery\Type760.tmf *$POSITION 426 474 *$LAYER AHU_cafet # *$# Air-to-Air Heat Recovery PARAMETERS 3 ! 1 Humidity Mode ! 2 Rated Power ! 3 Control Mode 2.0000000000000000E+00 6.7110000000000002E+02 0.0000000000000000E+00 INPUTS 15 ! Type648:Outlet Air Temperature ->Exhaust Air Temperature ! Type648:Outlet Air Humidity Ratio ->Exhaust Air Humidity Ratio ! Type648:Outlet Air % Relative Humidity ->Exhaust Air % Relative Humidity ! Equa-5:Mo_RS ->Exhaust Air Flowrate ! [unconnected] Exhaust Air Pressure ! [unconnected] Exhaust Air Pressure Drop ! fan_ahu_RS:Outlet Air Temperature ->Fresh Air Temperature ! fan_ahu_RS:Outlet Air Humidity Ratio ->Fresh Air Humidity Ratio ! fan_ahu_RS:Outlet Air % Relative Humidity ->Fresh Air % Relative Humidity ! fan_ahu_RS:Outlet Flow Rate ->Fresh Air Flowrate ! [unconnected] Fresh Air Pressure ! [unconnected] Fresh Air Pressure Drop ! [unconnected] Sensible Effectiveness ! [equation] On/Off Control Signal ! [unconnected] Control Temperature 101,1 101,2 101,3 MO_RS CONST CONST 104,1 104,2 104,3 104,4 CONST CONST CONST SIGNAL_A_AHU_RS CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 5.0000000000000010E-03 6.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 2.0000000000000000E+01 5.0000000000000010E-03 5.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 6.0000000000000009E-01 0.0000000000000000E+00 2.0000000000000000E+01 *------------------------------------------------------------------------------ * Model "Type657" (Type 657) * UNIT 120 TYPE 657 Type657 *$UNIT_NAME Type657 *$MODEL .\HVAC Library (TESS)\Heat Exchangers\Fluid-to-Fluid\Cold-Side Modulation\Keep Hot-Side Below a Maximum\Type657.tmf *$POSITION 3746 2198 *$LAYER Main # *$# Heat Exchanger With Cold-Side Modulation to Keep Hot-Side Outlet Below a Setpoint *$# *$# *$# *$# *$# *$# *$# PARAMETERS 4 ! 1 Effectiveness of Heat Exchanger ! 2 Specific Heat of Hot-Side Fluid ! 3 Specific Heat of Cold-Side Fluid ! 4 Number of Possible Steps 6.5000000000000013E-01 4.1899999999999995E+00 4.1899999999999995E+00 1.0000000000000000E+03 INPUTS 6 ! DHN:Tnetwork ->Hot-Side Inlet Temperature ! DHN:Mnetwork ->Hot-Side Flowrate ! Type3157:T_tohx_total ->Cold-Side Inlet Temperature ! Type3157:M_tohx_total ->Cold-Side Flowrate ! [unconnected] Hot-Side Set Temperature ! [unconnected] Modulation Control TNETWORK MNETWORK 61,26 61,25 CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+01 1.0000000000000000E+03 1.0000000000000000E+01 0.0000000000000000E+00 *------------------------------------------------------------------------------ * Model "Distribution_supply_east" (Type 647) * UNIT 66 TYPE 647 Distribution_supply_east *$UNIT_NAME Distribution_supply_east *$MODEL .\Hydronics Library (TESS)\Valves\Diverting Valve (100 Ports)\Other Fluids\Type647.tmf *$POSITION 3410 1008 *$LAYER Water Loop # *$# Flow Diverter PARAMETERS 1 ! 1 Number of Outlet Ports 8.0000000000000000E+00 INPUTS 10 ! Type3157:T_supply_FH_E ->Inlet Temperature ! Type3157:M_supply_FH_E ->Inlet Flowrate ! [unconnected] Fraction of Flow to Outlet -1_RIE ! [unconnected] Fraction of Flow to Outlet -2_RSE ! [unconnected] Fraction of Flow to Outlet -3_N!E ! [unconnected] Fraction of Flow to Outlet -4_N2E ! [unconnected] Fraction of Flow to Outlet -5_N3E ! [unconnected] Fraction of Flow to Outlet -6_N4E ! [unconnected] Fraction of Flow to Outlet -7_N5E ! [unconnected] Fraction of Flow to Outlet -8_N6E 61,9 61,10 CONST CONST CONST CONST CONST CONST CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 1.0000000000000000E+03 1.1000000000000001E-01 1.5000000000000002E-01 1.4000000000000001E-01 1.0000000000000001E-01 1.2000000000000001E-01 1.1000000000000001E-01 1.3000000000000000E-01 1.3000000000000000E-01 *------------------------------------------------------------------------------ * Model "Distribution_supply_ahu_b" (Type 647) * UNIT 71 TYPE 647 Distribution_supply_ahu_b *$UNIT_NAME Distribution_supply_ahu_b *$MODEL .\Hydronics Library (TESS)\Valves\Diverting Valve (100 Ports)\Other Fluids\Type647.tmf *$POSITION 1690 1035 *$LAYER Water Loop # *$# Flow Diverter PARAMETERS 1 ! 1 Number of Outlet Ports 2.0000000000000000E+00 INPUTS 4 ! Type3157:T_supply_AHU_B ->Inlet Temperature ! Type3157:M_supply_AHU_B ->Inlet Flowrate ! [unconnected] Fraction of Flow to Outlet -1_W ! [unconnected] Fraction of Flow to Outlet -2_E 61,15 61,16 CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 1.0000000000000000E+03 4.6000000000000002E-01 5.4000000000000004E-01 *------------------------------------------------------------------------------ * Model "Distribution_supply_ahus_c" (Type 647) * UNIT 76 TYPE 647 Distribution_supply_ahus_c *$UNIT_NAME Distribution_supply_ahus_c *$MODEL .\Hydronics Library (TESS)\Valves\Diverting Valve (100 Ports)\Other Fluids\Type647.tmf *$POSITION 1059 1061 *$LAYER Water Loop # *$# Flow Diverter PARAMETERS 1 ! 1 Number of Outlet Ports 2.0000000000000000E+00 INPUTS 4 ! Type3157:T_supply_AHU_C ->Inlet Temperature ! Type3157:M_supply_AHU_C ->Inlet Flowrate ! [unconnected] Fraction of Flow to Outlet -1_RI ! [unconnected] Fraction of Flow to Outlet -2_RS 61,19 61,20 CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 1.0000000000000000E+03 4.0000000000000002E-01 6.0000000000000009E-01 *------------------------------------------------------------------------------ * Model "Distribution_supply_west" (Type 647) * UNIT 13 TYPE 647 Distribution_supply_west *$UNIT_NAME Distribution_supply_west *$MODEL .\Hydronics Library (TESS)\Valves\Diverting Valve (100 Ports)\Other Fluids\Type647.tmf *$POSITION 2597 982 *$LAYER Water Loop # *$# Flow Diverter PARAMETERS 1 ! 1 Number of Outlet Ports 8.0000000000000000E+00 INPUTS 10 ! Type3157:T_supply_FH_W ->Inlet Temperature ! Type3157:M_supply_FH_W ->Inlet Flowrate ! [unconnected] Fraction of Flow to Outlet -1_RI ! [unconnected] Fraction of Flow to Outlet -2_RS ! [unconnected] Fraction of Flow to Outlet -3_N1 ! [unconnected] Fraction of Flow to Outlet -4_N2 ! [unconnected] Fraction of Flow to Outlet -5_N3 ! [unconnected] Fraction of Flow to Outlet -6_N4 ! [unconnected] Fraction of Flow to Outlet -7_N5 ! [unconnected] Fraction of Flow to Outlet -8_N6 61,3 61,4 CONST CONST CONST CONST CONST CONST CONST CONST *** INITIAL INPUT VALUES 2.5000000000000000E+01 1.0000000000000000E+03 7.0000000000000007E-02 1.3000000000000000E-01 1.2000000000000001E-01 1.5000000000000002E-01 1.2000000000000001E-01 1.4000000000000001E-01 1.2000000000000001E-01 1.3000000000000000E-01 *------------------------------------------------------------------------------ * Model "Type649-E" (Type 649) * UNIT 115 TYPE 649 Type649-E *$UNIT_NAME Type649-E *$MODEL .\Hydronics Library (TESS)\Valves\Mixing Valve (100 Ports)\Other Fluids\Type649.tmf *$POSITION 3384 355 *$LAYER Water Loop # *$# Mixing Valve PARAMETERS 1 ! 1 Number of Inlets 8.0000000000000000E+00 INPUTS 16 ! Building_21: 36- TOFL_S23 ->Temperature at Inlet-1 ! [unconnected] Flowrate at Inlet-1 ! Building_21: 40- TOFL_S51 ->Temperature at Inlet-2 ! [unconnected] Flowrate at Inlet-2 ! Building_21: 44- TOFL_S79 ->Temperature at Inlet-3 ! [unconnected] Flowrate at Inlet-3 ! Building_21: 48- TOFL_S107 ->Temperature at Inlet-4 ! [unconnected] Flowrate at Inlet-4 ! Building_21: 52- TOFL_S135 ->Temperature at Inlet-5 ! [unconnected] Flowrate at Inlet-5 ! Building_21: 56- TOFL_S163 ->Temperature at Inlet-6 ! [unconnected] Flowrate at Inlet-6 ! Building_21: 60- TOFL_S191 ->Temperature at Inlet-7 ! [unconnected] Flowrate at Inlet-7 ! Building_21: 64- TOFL_S219 ->Temperature at Inlet-8 ! [unconnected] Flowrate at Inlet-8 2,36 CONST 2,40 CONST 2,44 CONST 2,48 CONST 2,52 CONST 2,56 CONST 2,60 CONST 2,64 CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 *------------------------------------------------------------------------------ * Model "Type649-W" (Type 649) * UNIT 116 TYPE 649 Type649-W *$UNIT_NAME Type649-W *$MODEL .\Hydronics Library (TESS)\Valves\Mixing Valve (100 Ports)\Other Fluids\Type649.tmf *$POSITION 2904 421 *$LAYER Air Loop # *$# Mixing Valve PARAMETERS 1 ! 1 Number of Inlets 8.0000000000000000E+00 INPUTS 16 ! Building_21: 34- TOFL_S9 ->Temperature at Inlet-1 ! [unconnected] Flowrate at Inlet-1 ! Building_21: 38- TOFL_S37 ->Temperature at Inlet-2 ! [unconnected] Flowrate at Inlet-2 ! Building_21: 42- TOFL_S65 ->Temperature at Inlet-3 ! [unconnected] Flowrate at Inlet-3 ! Building_21: 46- TOFL_S93 ->Temperature at Inlet-4 ! [unconnected] Flowrate at Inlet-4 ! Building_21: 50- TOFL_S121 ->Temperature at Inlet-5 ! [unconnected] Flowrate at Inlet-5 ! Building_21: 54- TOFL_S149 ->Temperature at Inlet-6 ! [unconnected] Flowrate at Inlet-6 ! Building_21: 58- TOFL_S177 ->Temperature at Inlet-7 ! [unconnected] Flowrate at Inlet-7 ! Building_21: 62- TOFL_S205 ->Temperature at Inlet-8 ! [unconnected] Flowrate at Inlet-8 2,34 CONST 2,38 CONST 2,42 CONST 2,46 CONST 2,50 CONST 2,54 CONST 2,58 CONST 2,62 CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 *------------------------------------------------------------------------------ * Model "Building_21" (Type 56) * UNIT 2 TYPE 56 Building_21 *$UNIT_NAME Building_21 *$MODEL .\Loads and Structures\Multi-Zone Building\Type56.tmf *$POSITION 2820 141 *$LAYER Production Systems # *$# PARAMETERS 3 ! 1 Logical unit for building description file (*.b18, *.b17, *.bui) ! 2 Star network calculation switch ! 3 Weighting factor for operative temperature 3.0000000000000000E+01 0.0000000000000000E+00 5.0000000000000000E-01 INPUTS 86 ! Type15-6:Dry bulb temperature -> 1- TAMB ! Type15-6:Percent relative humidity -> 2- RELHUMAMB ! Type15-6:Effective sky temperature -> 3- TSKY ! Type15-6:Dry bulb temperature -> 4- TSGRD ! Type15-6:Solar zenith angle -> 5- AZEN ! Type15-6:Solar azimuth angle -> 6- AAZM ! Type15-6:Total tilted surface radiation for surface-1 -> 7- IT_NORTH ! Type15-6:Total tilted surface radiation for surface-2 -> 8- IT_SOUTH ! Type15-6:Total tilted surface radiation for surface-3 -> 9- IT_EAST ! Type15-6:Total tilted surface radiation for surface-4 -> 10- IT_WEST ! Type15-6:Total horizontal radiation -> 11- IT_HORIZONTAL ! Type15-6:Beam radiation for surface-1 -> 12- IB_NORTH ! Type15-6:Beam radiation for surface-2 -> 13- IB_SOUTH ! Type15-6:Beam radiation for surface-3 -> 14- IB_EAST ! Type15-6:Beam radiation for surface-4 -> 15- IB_WEST ! Type15-6:Horizontal beam radiation -> 16- IB_HORIZONTAL ! Type15-6:Angle of incidence for surface-1 -> 17- AI_NORTH ! Type15-6:Angle of incidence for surface-2 -> 18- AI_SOUTH ! Type15-6:Angle of incidence for surface-3 -> 19- AI_EAST ! Type15-6:Angle of incidence for surface-4 -> 20- AI_WEST ! Type15-6:Angle of incidence for horizontal -> 21- AI_HORIZONTAL ! Type15-6:Ground reflectance -> 22- GRDREF ! Type646-4:Outlet Air Flowrate -1_RIW -> 23- Vair_RI_W ! Type646-4:Outlet Air Flowrate -2_RIE -> 24- Vair_RI_E ! Type646:Outlet Air Flowrate -1_RSW -> 25- Vair_RS_W ! Type646:Outlet Air Flowrate -2_RSE -> 26- Vair_RS_E ! Type646-3:Outlet Air Flowrate -1 -> 27- Vair_N1_W ! Type646-2:Outlet Air Flowrate -1 -> 28- Vair_N1_E ! Type646-3:Outlet Air Flowrate -2 -> 29- Vair_N2_W ! Type646-2:Outlet Air Flowrate -2 -> 30- Vair_N2_E ! Type646-3:Outlet Air Flowrate -3 -> 31- Vair_N3_W ! Type646-2:Outlet Air Flowrate -3 -> 32- Vair_N3_E ! Type646-3:Outlet Air Flowrate -4 -> 33- Vair_N4_W ! Type646-2:Outlet Air Flowrate -4 -> 34- Vair_N4_E ! Type646-3:Outlet Air Flowrate -5 -> 35- Vair_N5_W ! Type646-2:Outlet Air Flowrate -5 -> 36- Vair_N5_E ! Type646-3:Outlet Air Flowrate -6 -> 37- Vair_N6_W ! Type646-2:Outlet Air Flowrate -6 -> 38- Vair_N6_E ! Distribution_supply_west:Outlet Temperature-1_RIW -> 39- Twater_RI_W ! Distribution_supply_east:Outlet Temperature-1_RIE -> 40- Twater_RI_E ! Distribution_supply_west:Outlet Temperature-2_RSW -> 41- Twater_RS_W ! Distribution_supply_east:Outlet Temperature-2_RSE -> 42- Twater_RS_E ! Distribution_supply_west:Outlet Temperature-3_N1W -> 43- Twater_N1_W ! Distribution_supply_east:Outlet Temperature-3_N1E -> 44- Twater_N1_E ! Distribution_supply_west:Outlet Temperature-4_N2W -> 45- Twater_N2_W ! Distribution_supply_east:Outlet Temperature-4_N2E -> 46- Twater_N2_E ! Distribution_supply_west:Outlet Temperature-5_N3W -> 47- Twater_N3_W ! Distribution_supply_east:Outlet Temperature-5_N3E -> 48- Twater_N3_E ! Distribution_supply_west:Outlet Temperature-6_N4W -> 49- Twater_N4_W ! Distribution_supply_east:Outlet Temperature-6_N4E -> 50- Twater_N4_E ! Distribution_supply_west:Outlet Temperature-7_N5W -> 51- Twater_N5_W ! Distribution_supply_east:Outlet Temperature-7_N5E -> 52- Twater_N5_E ! Distribution_supply_west:Outlet Temperature-8_N6W -> 53- Twater_N6_W ! Distribution_supply_east:Outlet Temperature-8_N6E -> 54- Twater_N6_E ! Distribution_supply_west:Outlet Flowrate-1_RIW -> 55- Mwater_RI_W ! Distribution_supply_east:Outlet Flowrate-1_RIE -> 56- Mwater_RI_E ! Distribution_supply_west:Outlet Flowrate-2_RSW -> 57- Mwater_RS_W ! Distribution_supply_east:Outlet Flowrate-2_RSE -> 58- Mwater_RS_E ! Distribution_supply_west:Outlet Flowrate-3_N1W -> 59- Mwater_N1_W ! Distribution_supply_east:Outlet Flowrate-3_N1E -> 60- Mwater_N1_E ! Distribution_supply_west:Outlet Flowrate-4_N2W -> 61- Mwater_N2_W ! Distribution_supply_east:Outlet Flowrate-4_N2E -> 62- Mwater_N2_E ! Distribution_supply_west:Outlet Flowrate-5_N3W -> 63- Mwater_N3_W ! Distribution_supply_east:Outlet Flowrate-5_N3E -> 64- Mwater_N3_E ! Distribution_supply_west:Outlet Flowrate-6_N4W -> 65- Mwater_N4_W ! Distribution_supply_east:Outlet Flowrate-6_N4E -> 66- Mwater_N4_E ! Distribution_supply_west:Outlet Flowrate-7_N5W -> 67- Mwater_N5_W ! Distribution_supply_east:Outlet Flowrate-7_N5E -> 68- Mwater_N5_E ! Distribution_supply_west:Outlet Flowrate-8_N6W -> 69- Mwater_N6_W ! Distribution_supply_east:Outlet Flowrate-8_N6E -> 70- Mwater_N6_E ! Type646-4:Outlet Air Temperature-2_RIE -> 71- Tair_RI_E ! Type646-4:Outlet Air Temperature-1_RIW -> 72- Tair_RI_W ! Type646:Outlet Air Temperature-2_RSE -> 73- Tair_RS_E ! Type646:Outlet Air Temperature-1_RSW -> 74- Tair_RS_W ! Type646-2:Outlet Air Temperature-1 -> 75- Tair_N1_E ! Type646-3:Outlet Air Temperature-1 -> 76- Tair_N1_W ! Type646-2:Outlet Air Temperature-2 -> 77- Tair_N2_E ! Type646-3:Outlet Air Temperature-2 -> 78- Tair_N2_W ! Type646-2:Outlet Air Temperature-3 -> 79- Tair_N3_E ! Type646-3:Outlet Air Temperature-3 -> 80- Tair_N3_W ! Type646-2:Outlet Air Temperature-4 -> 81- Tair_N4_E ! Type646-3:Outlet Air Temperature-4 -> 82- Tair_N4_W ! Type646-2:Outlet Air Temperature-5 -> 83- Tair_N5_E ! Type646-3:Outlet Air Temperature-5 -> 84- Tair_N5_W ! Type646-2:Outlet Air Temperature-6 -> 85- Tair_N6_E ! Type646-3:Outlet Air Temperature-6 -> 86- Tair_N6_W 93,1 93,7 93,4 93,1 93,16 93,17 93,24 93,25 93,26 93,27 93,18 93,29 93,30 93,31 93,32 93,19 93,49 93,50 93,51 93,52 93,23 93,91 119,4 119,9 98,4 98,9 100,4 99,4 100,9 99,9 100,14 99,14 100,19 99,19 100,24 99,24 100,29 99,29 13,1 66,1 13,3 66,3 13,5 66,5 13,7 66,7 13,9 66,9 13,11 66,11 13,13 66,13 13,15 66,15 13,2 66,2 13,4 66,4 13,6 66,6 13,8 66,8 13,10 66,10 13,12 66,12 13,14 66,14 13,16 66,16 119,6 119,1 98,6 98,1 99,1 100,1 99,6 100,6 99,11 100,11 99,16 100,16 99,21 100,21 99,26 100,26 *** INITIAL INPUT VALUES 2.0000000000000000E+00 5.0000000000000000E+01 1.0000000000000000E+01 1.0000000000000000E+01 1.0000000000000000E+01 2.0000000000000000E+01 1.0000000000000000E+01 1.0000000000000000E+01 1.0000000000000000E+01 1.0000000000000000E+01 2.0000000000000000E+00 2.0000000000000000E+00 2.0000000000000000E+00 2.0000000000000000E+00 2.0000000000000000E+00 2.0000000000000000E+00 5.0000000000000000E+00 5.0000000000000000E+00 5.0000000000000000E+00 5.0000000000000000E+00 5.0000000000000000E+00 2.0000000000000000E+00 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 1.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 1.0000000000000000E+05 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 2.0000000000000000E+01 *** External files ASSIGN b21.b18 30 *|? Building description file (*.b18, *.b17, *.bui) |1000 *------------------------------------------------------------------------------ * Model "Distribution_return_ahus_c" (Type 649) * UNIT 77 TYPE 649 Distribution_return_ahus_c *$UNIT_NAME Distribution_return_ahus_c *$MODEL .\Hydronics Library (TESS)\Valves\Mixing Valve (100 Ports)\Other Fluids\Type649.tmf *$POSITION 1204 1101 *$LAYER Water Loop # *$# Mixing Valve PARAMETERS 1 ! 1 Number of Inlets 2.0000000000000000E+00 INPUTS 4 ! AHU_RS:Fluid Outlet Temperature ->Temperature at Inlet-1 ! AHU_RS:Outlet Fluid Flowrate ->Flowrate at Inlet-1 ! AHU_RI:Fluid Outlet Temperature ->Temperature at Inlet-2 ! AHU_RI:Outlet Fluid Flowrate ->Flowrate at Inlet-2 95,1 95,2 94,1 94,2 *** INITIAL INPUT VALUES 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 *------------------------------------------------------------------------------ * Model "Distribution_return_ahu_b" (Type 649) * UNIT 72 TYPE 649 Distribution_return_ahu_b *$UNIT_NAME Distribution_return_ahu_b *$MODEL .\Hydronics Library (TESS)\Valves\Mixing Valve (100 Ports)\Other Fluids\Type649.tmf *$POSITION 1835 1075 *$LAYER Water Loop # *$# Mixing Valve PARAMETERS 1 ! 1 Number of Inlets 2.0000000000000000E+00 INPUTS 4 ! AHU_offices_W:Fluid Outlet Temperature ->Temperature at Inlet-1 ! AHU_offices_W:Outlet Fluid Flowrate ->Flowrate at Inlet-1 ! AHU_offices_E:Fluid Outlet Temperature ->Temperature at Inlet-2 ! AHU_offices_E:Outlet Fluid Flowrate ->Flowrate at Inlet-2 96,1 96,2 97,1 97,2 *** INITIAL INPUT VALUES 2.0000000000000000E+01 2.0000000000000000E+02 2.0000000000000000E+01 2.0000000000000000E+02 *------------------------------------------------------------------------------ * Model "Py_outputs" (Type 25) * UNIT 155 TYPE 25 Py_outputs *$UNIT_NAME Py_outputs *$MODEL .\Output\Printer\Unformatted\No Units\Type25c.tmf *$POSITION 3055 609 *$LAYER Outputs # PARAMETERS 10 ! 1 Printing interval ! 2 Start time ! 3 Stop time ! 4 Logical unit ! 5 Units printing mode ! 6 Relative or absolute start time ! 7 Overwrite or Append ! 8 Print header ! 9 Delimiter ! 10 Print labels 2.5000000000000000E-01 8.9400000000000000E+02 8.9500000000000000E+02 3.9000000000000000E+01 0.0000000000000000E+00 0.0000000000000000E+00 -1.0000000000000000E+00 -1.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+00 INPUTS 52 ! Building_21: 1- TAIR_RI_W ->Input to be printed-1 ! Building_21: 2- TAIR_RI_E ->Input to be printed-2 ! Building_21: 3- TAIR_RS_W ->Input to be printed-3 ! Building_21: 4- TAIR_RS_E ->Input to be printed-4 ! Building_21: 5- TAIR_N1_W ->Input to be printed-5 ! Building_21: 6- TAIR_N1_E ->Input to be printed-6 ! Building_21: 7- TAIR_N2_W ->Input to be printed-7 ! Building_21: 8- TAIR_N2_E ->Input to be printed-8 ! Building_21: 9- TAIR_N3_W ->Input to be printed-9 ! Building_21: 10- TAIR_N3_E ->Input to be printed-10 ! Building_21: 11- TAIR_N4_W ->Input to be printed-11 ! Building_21: 12- TAIR_N4_E ->Input to be printed-12 ! Building_21: 13- TAIR_N5_W ->Input to be printed-13 ! Building_21: 14- TAIR_N5_E ->Input to be printed-14 ! Building_21: 15- TAIR_N6_W ->Input to be printed-15 ! Building_21: 16- TAIR_N6_E ->Input to be printed-16 ! Type15-6:Total tilted surface radiation for surface-1 ->Input to be printed-17 ! Type562e:Power Production ->Input to be printed-18 ! Type3157:P_hp ->Input to be printed-19 ! Type657:Heat Exchanger Heat Transfer Rate ->Input to be printed-20 ! Type3157:COP_act ->Input to be printed-21 ! fan_ahu_floors_W:Power Consumption ->Input to be printed-22 ! fan_ahu_floors_E:Power Consumption ->Input to be printed-23 ! fan_ahu_RI:Power Consumption ->Input to be printed-24 ! fan_ahu_RS:Power Consumption ->Input to be printed-25 ! battery bank:Battery state of charge ->Input to be printed-26 ! Type3157:T_supply_FH_W ->Input to be printed-27 ! Type3157:T_supply_FH_E ->Input to be printed-28 ! Type3157:T_supply_AHU_B ->Input to be printed-29 ! Type3157:T_supply_AHU_C ->Input to be printed-30 ! AHU_offices_W:Outlet Air Temperature ->Input to be printed-31 ! AHU_offices_E:Outlet Air Temperature ->Input to be printed-32 ! AHU_RI:Outlet Air Temperature ->Input to be printed-33 ! AHU_RS:Outlet Air Temperature ->Input to be printed-34 ! Type3157:M_supply_FH_W ->Input to be printed-35 ! Type3157:M_supply_FH_E ->Input to be printed-36 ! Type3157:M_supply_AHU_B ->Input to be printed-37 ! Type3157:M_supply_AHU_C ->Input to be printed-38 ! AHU_offices_W:Dry Air Flowrate ->Input to be printed-39 ! AHU_offices_E:Dry Air Flowrate ->Input to be printed-40 ! AHU_RI:Dry Air Flowrate ->Input to be printed-41 ! AHU_RS:Dry Air Flowrate ->Input to be printed-42 ! Type3157:T_sp_hp_Cout ->Input to be printed-43 ! Type657:Cold-Side Mixed Outlet Temperature ->Input to be printed-44 ! Type15-6:Dry bulb temperature ->Input to be printed-45 ! DHN:Tnetwork ->Input to be printed-46 ! Type657:Hot-Side Outlet Temperature ->Input to be printed-47 ! Type3157:T_tohx_total ->Input to be printed-48 ! Type657:Cold-Side Mixed Outlet Temperature ->Input to be printed-49 ! Type657:Cold-Side Mixed Outlet Flowrate ->Input to be printed-50 ! Type3157:M_tohp_total ->Input to be printed-51 ! Type3157:T_tohp_total ->Input to be printed-52 2,1 2,2 2,3 2,4 2,5 2,6 2,7 2,8 2,9 2,10 2,11 2,12 2,13 2,14 2,15 2,16 93,24 154,2 61,28 120,10 61,29 106,6 107,6 105,6 104,6 173,6 61,3 61,9 61,15 61,19 96,3 97,3 94,3 95,3 61,4 61,10 61,16 61,20 96,6 97,6 94,6 95,6 61,27 120,7 93,1 TNETWORK 120,1 61,26 120,7 120,8 61,23 61,24 *** INITIAL INPUT VALUES Tindoor_RI_W Tindoor_RI_E Tindoor_RS_W Tindoor_RS_E Tindoor_N1_W Tindoor_N1_E Tindoor_N2_W Tindoor_N2_E Tindoor_N3_W Tindoor_N3_E Tindoor_N4_W Tindoor_N4_E Tindoor_N5_W Tindoor_N5_E Tindoor_N6_W Tindoor_N6_E Irradiation PV_power HP_power HX_power HP_COP AHU_W_power AHU_E_power AHU_RI_power AHU_RS_power Battery_SOC Tsupply_w_FH_W Tsupply_w_FH_E Tsupply_w_AHU_B Tsupply_w_AHU_C Tsupply_a_AHU_W Tsupply_a_AHU_E Tsupply_a_AHU_RI Tsupply_a_AHU_RS Msupply_w_FH_W Msupply_w_FH_E Msupply_w_AHU_B Msupply_w_AHU_C Msupply_a_AHU_W Msupply_a_AHU_E Msupply_a_AHU_RI Msupply_a_AHU_RS Toutlet_hp Toutlet_hx Tamb Thi_hx Tho_hx Tci_hx Tco_hx M_hx M_hp Tin_hp *** External files ASSIGN Outputs.txt 39 *|? Output file for printed results |1000 *------------------------------------------------------------------------------ END TRANSIENT SIMULATION STARTING AT TIME = 8.9400000000000000E+02 STOPPING AT TIME = 8.9500000000000000E+02 TIMESTEP = 1 / 4 DIFFERENTIAL EQUATION ERROR TOLERANCE = 1.0000000000000002E-03 ALGEBRAIC CONVERGENCE TOLERANCE = 1.0000000000000002E-03 DIFFERENTIAL EQUATIONS SOLVED BY MODIFIED EULER *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available TRNSYS Message 90 : TRNDll.dll is compiled in release mode. External DLLs will be loaded from the .\UserLib\ReleaseDLLs\ directory. Reported information : Not available *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : The following Types were loaded from TRNDll64.dll: Type15, Type146, Type25, Type48, Type47 *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "DS_Illuminance.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESSArchiveDLL_v17.2.01_Release.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_Application_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_CHP_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_Controls_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : The following Types were loaded from "TESS_Electrical_v17.2.01_64.dll": Type562 *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_GHP_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_GroundCoupling_1256_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_GroundCoupling_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : The following Types were loaded from "TESS_HTS_v17.2.01_64.dll": Type647 *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : The following Types were loaded from "TESS_HVAC_v17.2.01_64.dll": Type753, Type657, Type760 *** Warning at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : 647 TRNSYS Message 200 : This TYPE was found in more than one DLL. The first instance of the TYPE was loaded. Subsequent instances have been ignored Reported information : A duplicate of TYPE647 was found in "TESS_Hydronics_v17.2.01_64.dll" *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : The following Types were loaded from "TESS_Hydronics_v17.2.01_64.dll": Type649, Type646, Type648, *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_LoadsStructures_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_Optimization_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_Solar_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_Storage_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESS_Utility_v17.2.01_64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "Type159.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "Type169.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : The following Types were loaded from "Type3157.dll": Type3157 *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : The following Types were loaded from "Type56_x64.dll": Type56 *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "Type76Lib64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "Type82Lib64.dll" was found but did not contain any components from the input file. *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available TRNSYS Message 199 : TRNSYS found at least one user DLL in the UserLib directory. (Note: Only DLL's including Types that are used in the simulation are loaded) Reported information : 6 user DLLs were loaded after searching in "C:\TRNSYS18\UserLib\ReleaseDLLs" *** Notice at time : 894.000000 Generated by Unit : 2 Generated by Type : 56 Message : No humidity related outputs defined. Therefore, no internal humidity calculations are performed and no condensation warnings are printed. *** Notice at time : 894.000000 Generated by Unit : 2 Generated by Type : 56 Message : Star network calculation: every iteration step of TYPE 56 *** The TRNSYS components will be called in the following order: Unit # 93 Type # 15 Unit # 61 Type # 3157 Unit # 154 Type # 562 Unit # 172 Type # 48 Unit # 173 Type # 47 Unit # 105 Type # 146 Unit # 94 Type # 753 Unit # 119 Type # 646 Unit # 108 Type # 648 Unit # 137 Type # 760 Unit # 106 Type # 146 Unit # 96 Type # 753 Unit # 100 Type # 646 Unit # 102 Type # 648 Unit # 150 Type # 760 Unit # 107 Type # 146 Unit # 97 Type # 753 Unit # 99 Type # 646 Unit # 103 Type # 648 Unit # 151 Type # 760 Unit # 104 Type # 146 Unit # 95 Type # 753 Unit # 98 Type # 646 Unit # 101 Type # 648 Unit # 153 Type # 760 Unit # 120 Type # 657 Unit # 66 Type # 647 Unit # 71 Type # 647 Unit # 76 Type # 647 Unit # 13 Type # 647 Unit # 115 Type # 649 Unit # 116 Type # 649 Unit # 2 Type # 56 Unit # 77 Type # 649 Unit # 72 Type # 649 Unit # 155 Type # 25
Attachment:
B21.dck
Description: Binary data
Attachment:
b21.b18
Description: Binary data
# Python module for the TRNSYS Type calling Python using CFFI # Data exchange with TRNSYS uses a dictionary, called TRNData in this file (it is the argument of all functions). # Data for this module will be in a nested dictionary under the module name, # i.e. if this file is called "MyScript.py", the inputs will be in TRNData["MyScript"]["inputs"] # for convenience the module name is saved in thisModule # # MKu, 2022-02-15 import os thisModule = os.path.splitext(os.path.basename(__file__))[0] # Initialization: function called at TRNSYS initialization # ---------------------------------------------------------------------------------------------------------------------- def Initialization(TRNData): return # StartTime: function called at TRNSYS starting time (not an actual time step, initial values should be reported) # ---------------------------------------------------------------------------------------------------------------------- def StartTime(TRNData): # Define local short names for convenience (this is optional) T_sp_w_FH = TRNData[thisModule]["inputs"][0] T_sp_w_AHU = TRNData[thisModule]["inputs"][1] T_sp_a_AHU = TRNData[thisModule]["inputs"][2] signal_w_FH_E = TRNData[thisModule]["inputs"][3] signal_w_FH_W = TRNData[thisModule]["inputs"][4] signal_w_AHU_B = TRNData[thisModule]["inputs"][5] signal_w_AHU_C = TRNData[thisModule]["inputs"][6] signal_hp = TRNData[thisModule]["inputs"][7] m_water_FH_E = TRNData[thisModule]["inputs"][8] m_water_FH_W = TRNData[thisModule]["inputs"][9] m_water_AHU_B = TRNData[thisModule]["inputs"][10] m_water_AHU_C = TRNData[thisModule]["inputs"][11] #valve_E = TRNData[thisModule]["inputs"][12] #valve_W = TRNData[thisModule]["inputs"][13] #valve_AHU = TRNData[thisModule]["inputs"][14] T_out_HX = TRNData[thisModule]["inputs"][15] #T_out_hp = TRNData[thisModule]["inputs"][16] T_frombuilding_FH_W = TRNData[thisModule]["inputs"][17] T_frombuilding_FH_E = TRNData[thisModule]["inputs"][18] T_frombuilding_AHU_B = TRNData[thisModule]["inputs"][19] T_frombuilding_AHU_C = TRNData[thisModule]["inputs"][20] T_sp_hp_Cout = TRNData[thisModule]["inputs"][21] ########################################################################### #Check signals if signal_w_AHU_B == 0: m_water_AHU_B = 0 if signal_w_AHU_C == 0: m_water_AHU_C = 0 ########################################################################### #Replace T_out_hp T_out_hp = T_sp_hp_Cout # Outlet temperature is just equal to the setpint for hp # Calculate the outputs ###### FH_W_calculatios ################################################### T_tohp_FH_W = T_frombuilding_FH_W if signal_hp == 0: M_tohp_FH_W = 0 T_afterhp_FH_W = T_frombuilding_FH_W else: ######################## valve_W = (T_frombuilding_FH_W-T_sp_w_FH)/(T_frombuilding_FH_W-T_out_hp+0.001) #To avoid over-heating if valve_W <0: valve_W = 0 if valve_W>1: valve_W = 1 ######################### M_tohp_FH_W = valve_W * m_water_FH_W if m_water_FH_W>0: T_afterhp_FH_W = (valve_W*m_water_FH_W*T_out_hp+(1-valve_W)*m_water_FH_W*T_frombuilding_FH_W)/(m_water_FH_W) else: T_afterhp_FH_W = 21 if T_afterhp_FH_W < T_sp_w_FH: if (T_afterhp_FH_W-T_out_HX)!=0: frac_tohx_W = (T_afterhp_FH_W-T_sp_w_FH)/(T_afterhp_FH_W-T_out_HX+0.001) else: frac_tohx_W=0.1 if frac_tohx_W <0: frac_tohx_W = 0 if frac_tohx_W >1: frac_tohx_W = 1 M_tohx_FH_W = m_water_FH_W * frac_tohx_W T_supply_FH_W = (1-frac_tohx_W)*T_afterhp_FH_W+(frac_tohx_W)*T_out_HX else: M_tohx_FH_W = 0 T_supply_FH_W = T_afterhp_FH_W M_supply_FH_W = m_water_FH_W T_tohx_FH_W = T_afterhp_FH_W ###### FH_E_calculatios ################################################### T_tohp_FH_E = T_frombuilding_FH_E if signal_hp == 0: M_tohp_FH_E = 0 T_afterhp_FH_E = T_frombuilding_FH_E else: ######################## valve_E = (T_frombuilding_FH_E-T_sp_w_FH)/(T_frombuilding_FH_E-T_out_hp+0.001) #To avoid over-heating if valve_E <0: valve_E = 0 if valve_E >1: valve_E = 1 ######################### M_tohp_FH_E = valve_E * m_water_FH_E if m_water_FH_E > 0: T_afterhp_FH_E = (valve_E*m_water_FH_E*T_out_hp+(1-valve_E)*m_water_FH_E*T_frombuilding_FH_E)/(m_water_FH_E) else: T_afterhp_FH_E = 21 if T_afterhp_FH_E < T_sp_w_FH: if (T_afterhp_FH_E-T_out_HX)!=0: frac_tohx_E = (T_afterhp_FH_E-T_sp_w_FH)/(T_afterhp_FH_E-T_out_HX+0.001) else: frac_tohx_E = 0 if frac_tohx_E <0: frac_tohx_E = 0 if frac_tohx_E >1: frac_tohx_E =1 M_tohx_FH_E = m_water_FH_E * frac_tohx_E T_supply_FH_E = (1-frac_tohx_E)*T_afterhp_FH_E+(frac_tohx_E)*T_out_HX else: M_tohx_FH_E = 0 T_supply_FH_E = T_afterhp_FH_E M_supply_FH_E = m_water_FH_E T_tohx_FH_E = T_afterhp_FH_E ###### AHU_B_calculatios ################################################### T_tohp_AHU_B = T_frombuilding_AHU_B if signal_hp == 0: M_tohp_AHU_B = 0 T_afterhp_AHU_B = T_frombuilding_AHU_B else: ######################## valve_AHU = (T_frombuilding_AHU_B-T_sp_w_AHU)/(T_frombuilding_AHU_B-T_out_hp+0.001) #To avoid over-heating if valve_AHU <0: valve_AHU = 0 if valve_AHU >1: valve_AHU =1 ######################### M_tohp_AHU_B = valve_AHU * m_water_AHU_B if m_water_AHU_B > 0: T_afterhp_AHU_B = (valve_AHU*m_water_AHU_B*T_out_hp+(1-valve_AHU)*m_water_AHU_B*T_frombuilding_AHU_B)/(m_water_AHU_B) else: T_afterhp_AHU_B = 35 if T_afterhp_AHU_B < T_sp_w_AHU: if (T_afterhp_AHU_B-T_out_HX) !=0: frac_tohx_AHU_B = (T_afterhp_AHU_B-T_sp_w_AHU)/(T_afterhp_AHU_B-T_out_HX+0.001) else: frac_tohx_AHU_B = 0 if frac_tohx_AHU_B <0: frac_tohx_AHU_B = 0 if frac_tohx_AHU_B >1: frac_tohx_AHU_B =1 M_tohx_AHU_B = m_water_AHU_B * frac_tohx_AHU_B T_supply_AHU_B = (1-frac_tohx_AHU_B)*T_afterhp_AHU_B+(frac_tohx_AHU_B)*T_out_HX else: M_tohx_AHU_B = 0 T_supply_AHU_B = T_afterhp_AHU_B M_supply_AHU_B = m_water_AHU_B T_tohx_AHU_B = T_afterhp_AHU_B ###### AHU_C_calculatios ################################################### if T_frombuilding_AHU_C < T_sp_w_AHU: if (T_frombuilding_AHU_C-T_out_HX)!=0: frac_tohx_AHU_C = (T_frombuilding_AHU_C-T_sp_w_AHU)/(T_frombuilding_AHU_C-T_out_HX+0.001) else: frac_tohx_AHU_C = 0 if frac_tohx_AHU_C <0: frac_tohx_AHU_C = 0 if frac_tohx_AHU_C >1: frac_tohx_AHU_C = 1 M_tohx_AHU_C = m_water_AHU_C * frac_tohx_AHU_C T_supply_AHU_C = (1-frac_tohx_AHU_C)*T_frombuilding_AHU_C+(frac_tohx_AHU_C)*T_out_HX else: M_tohx_AHU_C = 0 T_supply_AHU_C = T_frombuilding_AHU_C M_supply_AHU_C = m_water_AHU_C T_tohx_AHU_C = T_frombuilding_AHU_C ############################################################################# # calculate main outputs M_tohp_total = M_tohp_FH_E + M_tohp_FH_W + M_tohp_AHU_B if M_tohp_total > 0: T_tohp_total = (M_tohp_FH_E*T_frombuilding_FH_E + M_tohp_FH_W*T_frombuilding_FH_W + M_tohp_AHU_B*T_frombuilding_AHU_B)/(M_tohp_total) else: T_tohp_total = 32 M_tohx_total = M_tohx_FH_E + M_tohx_FH_W + M_tohx_AHU_B + M_tohx_AHU_C if M_tohx_total > 0: T_tohx_total = (M_tohx_FH_E*T_tohx_FH_E + M_tohx_FH_W*T_tohx_FH_W + M_tohx_AHU_B*T_tohx_AHU_B + M_tohx_AHU_C* T_tohx_AHU_C)/(M_tohx_total) else: T_tohx_total = 35 ############################################################################# # calculations of heat pump module c_p = 4.18 # kJ/kg.C if T_sp_hp_Cout > T_tohp_total: Q_cond = M_tohp_total * c_p * (T_sp_hp_Cout-T_tohp_total) # kJ/h else: Q_cond = 0 T_h = (T_tohp_total+T_sp_hp_Cout)/2 T_c = 7 # Constant temperature of CO2 if (T_h-T_c) != 0: COP_th = (T_h+273)/(T_h-T_c) # Theoretical COP else: COP_th = 6 COP_act = 0.4 * COP_th # Actual COP P_hp = Q_cond / (COP_act+0.001) # kJ/h ############################################################################# # Set outputs in TRNData TRNData[thisModule]["outputs"][0] = T_tohp_FH_W TRNData[thisModule]["outputs"][1] = M_tohp_FH_W TRNData[thisModule]["outputs"][2] = T_supply_FH_W TRNData[thisModule]["outputs"][3] = M_supply_FH_W TRNData[thisModule]["outputs"][4] = T_tohx_FH_W TRNData[thisModule]["outputs"][5] = M_tohx_FH_W TRNData[thisModule]["outputs"][6] = T_tohp_FH_E TRNData[thisModule]["outputs"][7] = M_tohp_FH_E TRNData[thisModule]["outputs"][8] = T_supply_FH_E TRNData[thisModule]["outputs"][9] = M_supply_FH_E TRNData[thisModule]["outputs"][10] = T_tohx_FH_E TRNData[thisModule]["outputs"][11] = M_tohx_FH_E TRNData[thisModule]["outputs"][12] = T_tohp_AHU_B TRNData[thisModule]["outputs"][13] = M_tohp_AHU_B TRNData[thisModule]["outputs"][14] = T_supply_AHU_B TRNData[thisModule]["outputs"][15] = M_supply_AHU_B TRNData[thisModule]["outputs"][16] = T_tohx_AHU_B TRNData[thisModule]["outputs"][17] = M_tohx_AHU_B TRNData[thisModule]["outputs"][18] = T_supply_AHU_C TRNData[thisModule]["outputs"][19] = M_supply_AHU_C TRNData[thisModule]["outputs"][20] = T_tohx_AHU_C TRNData[thisModule]["outputs"][21] = M_tohx_AHU_C TRNData[thisModule]["outputs"][22] = M_tohp_total TRNData[thisModule]["outputs"][23] = T_tohp_total TRNData[thisModule]["outputs"][24] = M_tohx_total TRNData[thisModule]["outputs"][25] = T_tohx_total TRNData[thisModule]["outputs"][26] = T_sp_hp_Cout TRNData[thisModule]["outputs"][27] = P_hp TRNData[thisModule]["outputs"][28] = COP_act return # Iteration: function called at each TRNSYS iteration within a time step # ---------------------------------------------------------------------------------------------------------------------- def Iteration(TRNData): return # EndOfTimeStep: function called at the end of each time step, after iteration and before moving on to next time step # ---------------------------------------------------------------------------------------------------------------------- def EndOfTimeStep(TRNData): # Define local short names for convenience (this is optional) T_sp_w_FH = TRNData[thisModule]["inputs"][0] T_sp_w_AHU = TRNData[thisModule]["inputs"][1] T_sp_a_AHU = TRNData[thisModule]["inputs"][2] signal_w_FH_E = TRNData[thisModule]["inputs"][3] signal_w_FH_W = TRNData[thisModule]["inputs"][4] signal_w_AHU_B = TRNData[thisModule]["inputs"][5] signal_w_AHU_C = TRNData[thisModule]["inputs"][6] signal_hp = TRNData[thisModule]["inputs"][7] m_water_FH_E = TRNData[thisModule]["inputs"][8] m_water_FH_W = TRNData[thisModule]["inputs"][9] m_water_AHU_B = TRNData[thisModule]["inputs"][10] m_water_AHU_C = TRNData[thisModule]["inputs"][11] #valve_E = TRNData[thisModule]["inputs"][12] #valve_W = TRNData[thisModule]["inputs"][13] #valve_AHU = TRNData[thisModule]["inputs"][14] T_out_HX = TRNData[thisModule]["inputs"][15] #T_out_hp = TRNData[thisModule]["inputs"][16] T_frombuilding_FH_W = TRNData[thisModule]["inputs"][17] T_frombuilding_FH_E = TRNData[thisModule]["inputs"][18] T_frombuilding_AHU_B = TRNData[thisModule]["inputs"][19] T_frombuilding_AHU_C = TRNData[thisModule]["inputs"][20] T_sp_hp_Cout = TRNData[thisModule]["inputs"][21] ########################################################################### #Check signals if signal_w_AHU_B == 0: m_water_AHU_B = 0 if signal_w_AHU_C == 0: m_water_AHU_C = 0 ########################################################################### #Replace T_out_hp T_out_hp = T_sp_hp_Cout # Outlet temperature is just equal to the setpint for hp # Calculate the outputs ###### FH_W_calculatios ################################################### T_tohp_FH_W = T_frombuilding_FH_W if signal_hp == 0: M_tohp_FH_W = 0 T_afterhp_FH_W = T_frombuilding_FH_W else: ######################## valve_W = (T_frombuilding_FH_W-T_sp_w_FH)/(T_frombuilding_FH_W-T_out_hp+0.001) #To avoid over-heating if valve_W <0: valve_W = 0 if valve_W>1: valve_W = 1 ######################### M_tohp_FH_W = valve_W * m_water_FH_W if m_water_FH_W>0: T_afterhp_FH_W = (valve_W*m_water_FH_W*T_out_hp+(1-valve_W)*m_water_FH_W*T_frombuilding_FH_W)/(m_water_FH_W) else: T_afterhp_FH_W = 21 if T_afterhp_FH_W < T_sp_w_FH: if (T_afterhp_FH_W-T_out_HX)!=0: frac_tohx_W = (T_afterhp_FH_W-T_sp_w_FH)/(T_afterhp_FH_W-T_out_HX+0.001) else: frac_tohx_W=0.1 if frac_tohx_W <0: frac_tohx_W = 0 if frac_tohx_W >1: frac_tohx_W = 1 M_tohx_FH_W = m_water_FH_W * frac_tohx_W T_supply_FH_W = (1-frac_tohx_W)*T_afterhp_FH_W+(frac_tohx_W)*T_out_HX else: M_tohx_FH_W = 0 T_supply_FH_W = T_afterhp_FH_W M_supply_FH_W = m_water_FH_W T_tohx_FH_W = T_afterhp_FH_W ###### FH_E_calculatios ################################################### T_tohp_FH_E = T_frombuilding_FH_E if signal_hp == 0: M_tohp_FH_E = 0 T_afterhp_FH_E = T_frombuilding_FH_E else: ######################## valve_E = (T_frombuilding_FH_E-T_sp_w_FH)/(T_frombuilding_FH_E-T_out_hp+0.001) #To avoid over-heating if valve_E <0: valve_E = 0 if valve_E >1: valve_E = 1 ######################### M_tohp_FH_E = valve_E * m_water_FH_E if m_water_FH_E > 0: T_afterhp_FH_E = (valve_E*m_water_FH_E*T_out_hp+(1-valve_E)*m_water_FH_E*T_frombuilding_FH_E)/(m_water_FH_E) else: T_afterhp_FH_E = 21 if T_afterhp_FH_E < T_sp_w_FH: if (T_afterhp_FH_E-T_out_HX)!=0: frac_tohx_E = (T_afterhp_FH_E-T_sp_w_FH)/(T_afterhp_FH_E-T_out_HX+0.001) else: frac_tohx_E = 0 if frac_tohx_E <0: frac_tohx_E = 0 if frac_tohx_E >1: frac_tohx_E =1 M_tohx_FH_E = m_water_FH_E * frac_tohx_E T_supply_FH_E = (1-frac_tohx_E)*T_afterhp_FH_E+(frac_tohx_E)*T_out_HX else: M_tohx_FH_E = 0 T_supply_FH_E = T_afterhp_FH_E M_supply_FH_E = m_water_FH_E T_tohx_FH_E = T_afterhp_FH_E ###### AHU_B_calculatios ################################################### T_tohp_AHU_B = T_frombuilding_AHU_B if signal_hp == 0: M_tohp_AHU_B = 0 T_afterhp_AHU_B = T_frombuilding_AHU_B else: ######################## valve_AHU = (T_frombuilding_AHU_B-T_sp_w_AHU)/(T_frombuilding_AHU_B-T_out_hp+0.001) #To avoid over-heating if valve_AHU <0: valve_AHU = 0 if valve_AHU >1: valve_AHU =1 ######################### M_tohp_AHU_B = valve_AHU * m_water_AHU_B if m_water_AHU_B > 0: T_afterhp_AHU_B = (valve_AHU*m_water_AHU_B*T_out_hp+(1-valve_AHU)*m_water_AHU_B*T_frombuilding_AHU_B)/(m_water_AHU_B) else: T_afterhp_AHU_B = 35 if T_afterhp_AHU_B < T_sp_w_AHU: if (T_afterhp_AHU_B-T_out_HX) !=0: frac_tohx_AHU_B = (T_afterhp_AHU_B-T_sp_w_AHU)/(T_afterhp_AHU_B-T_out_HX+0.001) else: frac_tohx_AHU_B = 0 if frac_tohx_AHU_B <0: frac_tohx_AHU_B = 0 if frac_tohx_AHU_B >1: frac_tohx_AHU_B =1 M_tohx_AHU_B = m_water_AHU_B * frac_tohx_AHU_B T_supply_AHU_B = (1-frac_tohx_AHU_B)*T_afterhp_AHU_B+(frac_tohx_AHU_B)*T_out_HX else: M_tohx_AHU_B = 0 T_supply_AHU_B = T_afterhp_AHU_B M_supply_AHU_B = m_water_AHU_B T_tohx_AHU_B = T_afterhp_AHU_B ###### AHU_C_calculatios ################################################### if T_frombuilding_AHU_C < T_sp_w_AHU: if (T_frombuilding_AHU_C-T_out_HX)!=0: frac_tohx_AHU_C = (T_frombuilding_AHU_C-T_sp_w_AHU)/(T_frombuilding_AHU_C-T_out_HX+0.001) else: frac_tohx_AHU_C = 0 if frac_tohx_AHU_C <0: frac_tohx_AHU_C = 0 if frac_tohx_AHU_C >1: frac_tohx_AHU_C = 1 M_tohx_AHU_C = m_water_AHU_C * frac_tohx_AHU_C T_supply_AHU_C = (1-frac_tohx_AHU_C)*T_frombuilding_AHU_C+(frac_tohx_AHU_C)*T_out_HX else: M_tohx_AHU_C = 0 T_supply_AHU_C = T_frombuilding_AHU_C M_supply_AHU_C = m_water_AHU_C T_tohx_AHU_C = T_frombuilding_AHU_C ############################################################################# # calculate main outputs M_tohp_total = M_tohp_FH_E + M_tohp_FH_W + M_tohp_AHU_B if M_tohp_total > 0: T_tohp_total = (M_tohp_FH_E*T_frombuilding_FH_E + M_tohp_FH_W*T_frombuilding_FH_W + M_tohp_AHU_B*T_frombuilding_AHU_B)/(M_tohp_total) else: T_tohp_total = 32 M_tohx_total = M_tohx_FH_E + M_tohx_FH_W + M_tohx_AHU_B + M_tohx_AHU_C if M_tohx_total > 0: T_tohx_total = (M_tohx_FH_E*T_tohx_FH_E + M_tohx_FH_W*T_tohx_FH_W + M_tohx_AHU_B*T_tohx_AHU_B + M_tohx_AHU_C* T_tohx_AHU_C)/(M_tohx_total) else: T_tohx_total = 35 ############################################################################# # calculations of heat pump module c_p = 4.18 # kJ/kg.C if T_sp_hp_Cout > T_tohp_total: Q_cond = M_tohp_total * c_p * (T_sp_hp_Cout-T_tohp_total) # kJ/h else: Q_cond = 0 T_h = (T_tohp_total+T_sp_hp_Cout)/2 T_c = 7 # Constant temperature of CO2 if (T_h-T_c) != 0: COP_th = (T_h+273)/(T_h-T_c) # Theoretical COP else: COP_th = 6 COP_act = 0.4 * COP_th # Actual COP P_hp = Q_cond / (COP_act+0.001) # kJ/h ############################################################################# # Set outputs in TRNData TRNData[thisModule]["outputs"][0] = T_tohp_FH_W TRNData[thisModule]["outputs"][1] = M_tohp_FH_W TRNData[thisModule]["outputs"][2] = T_supply_FH_W TRNData[thisModule]["outputs"][3] = M_supply_FH_W TRNData[thisModule]["outputs"][4] = T_tohx_FH_W TRNData[thisModule]["outputs"][5] = M_tohx_FH_W TRNData[thisModule]["outputs"][6] = T_tohp_FH_E TRNData[thisModule]["outputs"][7] = M_tohp_FH_E TRNData[thisModule]["outputs"][8] = T_supply_FH_E TRNData[thisModule]["outputs"][9] = M_supply_FH_E TRNData[thisModule]["outputs"][10] = T_tohx_FH_E TRNData[thisModule]["outputs"][11] = M_tohx_FH_E TRNData[thisModule]["outputs"][12] = T_tohp_AHU_B TRNData[thisModule]["outputs"][13] = M_tohp_AHU_B TRNData[thisModule]["outputs"][14] = T_supply_AHU_B TRNData[thisModule]["outputs"][15] = M_supply_AHU_B TRNData[thisModule]["outputs"][16] = T_tohx_AHU_B TRNData[thisModule]["outputs"][17] = M_tohx_AHU_B TRNData[thisModule]["outputs"][18] = T_supply_AHU_C TRNData[thisModule]["outputs"][19] = M_supply_AHU_C TRNData[thisModule]["outputs"][20] = T_tohx_AHU_C TRNData[thisModule]["outputs"][21] = M_tohx_AHU_C TRNData[thisModule]["outputs"][22] = M_tohp_total TRNData[thisModule]["outputs"][23] = T_tohp_total TRNData[thisModule]["outputs"][24] = M_tohx_total TRNData[thisModule]["outputs"][25] = T_tohx_total TRNData[thisModule]["outputs"][26] = T_sp_hp_Cout TRNData[thisModule]["outputs"][27] = P_hp TRNData[thisModule]["outputs"][28] = COP_act return # LastCallOfSimulation: function called at the end of the simulation (once) - outputs are meaningless at this call # ---------------------------------------------------------------------------------------------------------------------- def LastCallOfSimulation(TRNData): # NOTE: TRNSYS performs this call AFTER the executable (the online plotter if there is one) is closed. # Python errors in this function will be difficult (or impossible) to diagnose as they will produce no message. # A recommended alternative for "end of simulation" actions it to implement them in the EndOfTimeStep() part, # within a condition that the last time step has been reached. # # Example (to be placed in EndOfTimeStep()): # # stepNo = TRNData[thisModule]["current time step number"] # nSteps = TRNData[thisModule]["total number of time steps"] # if stepNo == nSteps-1: # Remember: TRNSYS steps go from 0 to (number of steps - 1) # do stuff that needs to be done only at the end of simulation return