Muhammad Waseem Ahmad (Waz)
PhD Researcher,
Building Energy Research Group,
Department of Civil and Building Engineering,
Loughborough University,
Loughborough, UK.
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 17.00.0019 Listing file for: "C:\trnsys Modelling\Project with equations as mixers.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:\Trnsys17\Exe" *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : 208 TRNSYS Message 75 : The Type referenced below requires descriptors instead of initial values. Reported information : Type 208 *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : 535 TRNSYS Message 75 : The Type referenced below requires descriptors instead of initial values. Reported information : Type 535 *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : 580 TRNSYS Message 76 : The following Type has been identified as allowing the unit specifications (kg/h for example) after the input specifications and intial values for the inputs. The critical parameter number, and the value of this critical parameter that indicates that the units will be supplied is also listed. This information was retrieved from the VarUnits.dat file loacted in the \Exe directory of your TRNSYS 16 installation. Reported information : Type 580, Critical Parameter 11, Parameter Value 1 *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : 580 TRNSYS Message 88 : The following Type has been identified as allowing FORMAT statements. This information was retrieved from the Formats.dat file loacted in the \Exe directory of your TRNSYS 16 installation. Reported information : Type 580 *** 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 17 ******************************************************************************* *** TRNSYS input file (deck) generated by TrnsysStudio *** on Wednesday, April 06, 2011 at 10:42 *** from TrnsysStudio project: C:\trnsys Modelling\Project with equations as mixers.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=0 STOP=1000 STEP=0.125 * User defined CONSTANTS ! Start time End time Time step SIMULATION 0.0000000000000000E+00 1.0000000000000000E+03 1.2500000000000000E-01 ! Integration Convergence TOLERANCES 1.0000000000000002E-03 1.0000000000000002E-03 ! Max iterations Max warnings Trace limit LIMITS 30 500 51 ! 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 1 ! Overwrite DEBUG statement OVERWRITE_CHECK 1 ! enable time report statement TIME_REPORT 1 ! EQUATION SOLVER statement EQUATION SOLVING METHOD 0 * Model "Type539" (Type 539) * UNIT 2 TYPE 539 *$UNIT_NAME Type539 *$MODEL .\Solar Library (TESS)\Flat Plate Collectors\Capacitance Effects\Inlet Temperature Mode\Type539.tmf *$POSITION 183 138 *$LAYER Main # *$# This component sets the flow rate for all connected flow loop components if the variable speed option is *$# specified. *$# *$# PARAMETERS 12 ! 1 Number in series ! 2 Collector area ! 3 Fluid specific heat ! 4 Intercept efficiency ! 5 1st order efficiency coefficient ! 6 1st-order IAM ! 7 2nd-order IAM ! 8 Minimum flowrate ! 9 Maximum flowrate ! 10 Capacitance of Collector ! 11 Initial Temperature ! 12 Number of Nodes 2.0000000000000000E+00 4.0999999999999996E+00 4.1899999999999995E+00 7.4600000000000011E-01 1.1635199999999999E+01 1.0000000000000001E-01 0.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+06 1.0000000000000000E+02 2.0000000000000000E+01 1.0000000000000000E+01 INPUTS 11 ! Type3b:Outlet fluid temperature ->Inlet temperature ! Type3b:Outlet flow rate ->Inlet flowrate ! Type15-2:Dry bulb temperature ->Ambient temperature ! Type15-2:Total tilted surface radiation for surface ->Incident radiation ! Type15-2:Total horizontal radiation ->Total horizontal radiation ! Type15-2:Total diffuse radiation for surface ->Horizontal diffuse radiation ! Type15-2:Ground reflectance ->Ground reflectance ! Type15-2:Angle of incidence for surface ->Incidence angle ! Type15-2:Slope of surface ->Collector slope ! [unconnected] Pump Control Specification ! [unconnected] Outlet Temperature Setpoint 3,1 3,2 5,1 5,24 5,18 5,28 5,59 5,29 5,30 CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 1.0000000000000000E+02 1.0000000000000000E+01 0.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 2.0000000000000001E-01 4.5000000000000000E+01 0.0000000000000000E+00 0.0000000000000000E+00 6.0000000000000000E+01 *------------------------------------------------------------------------------ * Model "Type3b" (Type 3) * UNIT 3 TYPE 3 *$UNIT_NAME Type3b *$MODEL .\Hydronics\Pumps\Variable Speed\Type3b.tmf *$POSITION 128 351 *$LAYER Main # PARAMETERS 5 ! 1 Maximum flow rate ! 2 Fluid specific heat ! 3 Maximum power ! 4 Conversion coefficient ! 5 Power coefficient 1.0000000000000000E+02 4.1899999999999995E+00 6.0000000000000000E+01 5.0000000000000003E-02 5.0000000000000000E-01 INPUTS 3 ! Type534:Temperature at HX Outlet-1 ->Inlet fluid temperature ! Type534:HX flow rate-1 ->Inlet mass flow rate ! Controller:Control signal ->Control signal 4,29 4,30 8,1 *** INITIAL INPUT VALUES 2.0000000000000000E+01 1.0000000000000000E+02 1.0000000000000000E+00 *------------------------------------------------------------------------------ * Model "Type534" (Type 534) * UNIT 4 TYPE 534 *$UNIT_NAME Type534 *$MODEL .\Storage Tank Library (TESS)\Cylindrical Tank\Vertical Cylinder\Type534.tmf *$POSITION 273 319 *$LAYER Main # PARAMETERS 5 ! 1 Logical unit for data file ! 2 # of tank nodes ! 3 Number of ports ! 4 Number of immersed heat exchangers ! 5 Number of miscellaneous heat flows 4.3000000000000000E+01 8.0000000000000000E+00 3.0000000000000000E+00 4.0000000000000000E+00 2.0000000000000000E+00 INPUTS 36 ! Diverter D1:required_temp ->Inlet temperature for port-1 ! Diverter D1:Flow_2_heating ->Inlet flow rate for port-1 ! [unconnected] Inlet temperature for port-2 ! [unconnected] Inlet flow rate for port-2 ! [unconnected] Inlet temperature for port-3 ! [unconnected] Inlet flow rate for port-3 ! Type539:Outlet temperature ->Inlet temperature for HX-1 ! Type539:Outlet flow rate ->Inlet flow rate for HX-1 ! [unconnected] Inlet temperature for HX-2 ! [unconnected] Inlet flow rate for HX-2 ! [unconnected] Inlet temperature for HX-3 ! [unconnected] Inlet flow rate for HX-3 ! [unconnected] Inlet temperature for HX-4 ! [unconnected] Inlet flow rate for HX-4 ! [unconnected] Top loss temperature ! [unconnected] Edge loss temperature for node-1 ! [unconnected] Edge loss temperature for node-2 ! [unconnected] Edge loss temperature for node-3 ! [unconnected] Edge loss temperature for node-4 ! [unconnected] Edge loss temperature for node-5 ! [unconnected] Edge loss temperature for node-6 ! [unconnected] Edge loss temperature for node-7 ! [unconnected] Edge loss temperature for node-8 ! [unconnected] Bottom loss temperature ! [unconnected] Gas flue temperature ! [unconnected] Inversion mixing flow rate ! [unconnected] Auxiliary heat input for node-1 ! [unconnected] Auxiliary heat input for node-2 ! [unconnected] Auxiliary heat input for node-3 ! [unconnected] Auxiliary heat input for node-4 ! [unconnected] Auxiliary heat input for node-5 ! [unconnected] Auxiliary heat input for node-6 ! [unconnected] Auxiliary heat input for node-7 ! [unconnected] Auxiliary heat input for node-8 ! [unconnected] Miscellaneous heat input-1 ! [unconnected] Miscellaneous heat input-2 REQUIRED_TEMP FLOW_2_HEATING CONST CONST CONST CONST 2,1 2,2 CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST CONST *** INITIAL INPUT VALUES 2.0000000000000000E+01 0.0000000000000000E+00 2.0000000000000000E+01 0.0000000000000000E+00 2.0000000000000000E+01 0.0000000000000000E+00 2.0000000000000000E+01 0.0000000000000000E+00 2.0000000000000000E+01 0.0000000000000000E+00 2.0000000000000000E+01 0.0000000000000000E+00 2.0000000000000000E+01 0.0000000000000000E+00 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+00 0.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 3.0000000000000000E+02 5.0000000000000000E+01 DERIVATIVES 8 ! 1 Initial Tank Temperature-1 ! 2 Initial Tank Temperature-2 ! 3 Initial Tank Temperature-3 ! 4 Initial Tank Temperature-4 ! 5 Initial Tank Temperature-5 ! 6 Initial Tank Temperature-6 ! 7 Initial Tank Temperature-7 ! 8 Initial Tank Temperature-8 5.5000000000000000E+01 5.0000000000000000E+01 4.5000000000000000E+01 4.0000000000000000E+01 3.5000000000000000E+01 3.0000000000000000E+01 2.5000000000000000E+01 2.0000000000000000E+01 *** External files ASSIGN C:\trnsys Modelling\Example_534.dat 43 *|? Which file contains the parameter values for this component? |1000 *------------------------------------------------------------------------------ * Model "Type15-2" (Type 15) * UNIT 5 TYPE 15 *$UNIT_NAME Type15-2 *$MODEL .\Weather Data Reading and Processing\Standard Format\TMY2\Type15-2.tmf *$POSITION 388 31 *$LAYER Main # PARAMETERS 9 ! 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 ! 8 Slope of surface ! 9 Azimuth of surface 2.0000000000000000E+00 4.4000000000000000E+01 3.0000000000000000E+00 2.0000000000000001E-01 7.0000000000000007E-01 1.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 *** External files ASSIGN C:\Trnsys17\Weather\Meteonorm\Europe\GB-Birmingham-Elmdon-35340.tm2 44 *|? Which file contains the TMY-2 weather data? |1000 *------------------------------------------------------------------------------ * Model "Type938" (Type 938) * UNIT 6 TYPE 938 *$UNIT_NAME Type938 *$MODEL .\HVAC Library (TESS)\Heat Pump Water Heater\Type938.tmf *$POSITION 76 586 *$LAYER Main # *$# The value for power in the catalog data files for both heating and cooling mode should include the *$# indoor fan. *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# *$# PARAMETERS 14 ! 1 Humidity mode ! 2 Logical unit for performance data ! 3 Number of water temperatures ! 4 Number of relative humidities ! 5 Number of dry bulb temperatures ! 6 Density of liquid stream ! 7 Specific heat of liquid stream ! 8 Blower power ! 9 Controller power ! 10 Total air flow rate ! 11 Rated total cooling capacity ! 12 Rated sensible cooling capacity ! 13 Rated compressor power ! 14 Rated heat rejection 2.0000000000000000E+00 4.5000000000000000E+01 5.0000000000000000E+00 6.0000000000000000E+00 2.0000000000000000E+00 1.0000000000000000E+03 4.1899999999999995E+00 6.7110000000000002E+02 3.6000000000000000E+01 3.0000000000000000E+02 6.9537799999999997E+03 6.3496600000000008E+03 1.2244800000000000E+03 7.6831700000000001E+03 INPUTS 8 ! Type3b-2:Outlet fluid temperature ->Inlet liquid temperature ! Type3b-2:Outlet flow rate ->Inlet liquid flow rate ! Type15-2:Dry bulb temperature ->Inlet air temperature ! Type15-2:Humidity ratio ->Inlet air humidity ratio ! Type15-2:Percent relative humidity ->Inlet air %RH ! [unconnected] Inlet air pressure ! [unconnected] Pressure rise ! Type2b:Output control function ->Control signal 20,1 20,2 5,1 5,6 5,7 CONST CONST 10,1 *** INITIAL INPUT VALUES 2.0000000000000000E+01 1.0000000000000000E+03 2.0000000000000000E+01 8.0000000000000019E-03 5.0000000000000000E+01 1.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+00 *** External files ASSIGN C:\Trnsys17\Trnsys16\Tess Models\SampleCatalogData\HeatPumpWaterHeater\Normalized_HPWH.dat 45 *|? Which file contains the heat pump performance data? |1000 *------------------------------------------------------------------------------ * Model "Type60n" (Type 60) * UNIT 7 TYPE 60 *$UNIT_NAME Type60n *$MODEL .\Thermal Storage\Detailed Fluid Storage Tank\Horizontal Cylinder\Non-Uniform Losses and Heights\2 Inlets, 2 Outlets\Type60n.tmf *$POSITION 263 543 *$LAYER Main # PARAMETERS 46 ! 1 User-specified inlet positions ! 2 Tank volume ! 3 Tank height ! 4 Horizontal cylinder ! 5 Height of flow inlet 1 ! 6 Height of flow outlet 1 ! 7 Height of flow inlet 2 ! 8 Height of flow outlet 2 ! 9 Fluid specific heat ! 10 Fluid density ! 11 Tank loss coefficient ! 12 Fluid thermal conductivity ! 13 Destratification conductivity ! 14 Boiling temperature ! 15 Auxiliary heater mode ! 16 Height of 1st aux. heater ! 17 Height of 1st thermostat ! 18 Set point temperature for element 1 ! 19 Deadband for heating element 1 ! 20 Maximum heating rate of element 1 ! 21 Height of heating element 2 ! 22 Height of thermostat 2 ! 23 Set point temperature for element 2 ! 24 Deadband for heating element 2 ! 25 Maximum heating rate of element 2 ! 26 Overall loss coefficient for gas flue ! 27 Flue temperature ! 28 Fraction of critical timestep ! 29 Gas heater? ! 30 Number of internal heat exchangers ! 31 Node heights supplied ! 32 Additional loss coeff's supplied ! 33 HX Fluid Indicator ! 34 Fraction of glycol ! 35 Heat exchanger inside diameter ! 36 Heat exchanger outside diameter ! 37 Heat exchanger fin diameter ! 38 Total surface area of heat exchanger ! 39 Fins per meter for heat exchanger ! 40 Heat exchanger length ! 41 Heat exchanger wall conductivity ! 42 Heat exchanger material conductivity ! 43 Height of heat exchanger inlet ! 44 Height of heat exchanger outlet ! 45 Height of node ! 46 Additional loss coefficient for node 2.0000000000000000E+00 3.0000000000000004E-01 1.2500000000000000E+00 -2.0000000000000000E+00 1.2500000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 1.2500000000000000E+00 4.1899999999999995E+00 1.0000000000000000E+03 3.0000000000000000E+00 1.3999999999999999E+00 0.0000000000000000E+00 1.0000000000000000E+02 2.0000000000000000E+00 1.0000000000000000E+00 1.2500000000000000E+00 5.5000000000000000E+01 5.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+00 1.0000000000000000E+00 5.5000000000000000E+01 5.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 2.0000000000000000E+01 6.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+00 1.0000000000000000E+00 1.0000000000000000E+00 1.0000000000000000E+00 7.5000000000000011E-01 1.0000000000000002E-02 1.2000000000000002E-02 1.2000000000000002E-02 1.0000000000000000E+00 1.0000000000000000E+02 2.0000000000000000E+00 1.3999999999999999E+00 1.3999999999999999E+00 0.0000000000000000E+00 1.2500000000000000E+00 1.2500000000000000E+00 0.0000000000000000E+00 INPUTS 13 ! Type938:Exiting fluid flow rate ->Flow rate at inlet 1 ! [unconnected] Flow rate at outlet 1 ! Flow Adder:Flow_return_heatpump ->Flow rate at inlet 2 ! [unconnected] Flow rate at outlet 2 ! Type938:Exiting fluid temperature ->Temperature at inlet 1 ! Flow Adder:Temperature2 ->Temperature at inlet 2 ! [unconnected] Environment temperature ! [unconnected] Control signal for element 1 ! [unconnected] Control signal for element 2 ! [unconnected] Flow rate for heat exchanger ! [unconnected] Inlet temperature for heat exchanger ! [unconnected] Nusselt constant for heat exchanger ! [unconnected] Nusselt exponent for heat exchanger 6,2 CONST FLOW_RETURN_HEATPUMP CONST 6,1 TEMPERATURE2 CONST CONST CONST CONST CONST CONST CONST *** INITIAL INPUT VALUES 0.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 -2.0000000000000000E+00 2.0000000000000000E+01 2.0000000000000000E+01 2.2000000000000000E+01 1.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 2.0000000000000000E+01 5.0000000000000000E-01 2.5000000000000000E-01 DERIVATIVES 1 ! 1 Initial temperature of node 5.0000000000000000E+01 *------------------------------------------------------------------------------ * Model "Controller" (Type 22) * UNIT 8 TYPE 22 *$UNIT_NAME Controller *$MODEL .\Controllers\Iterative Feedback Controller\Type22.tmf *$POSITION 161 242 *$LAYER Main # PARAMETERS 2 ! 1 mode ! 2 Maximum number of oscillations 0.0000000000000000E+00 0.0000000000000000E+00 INPUTS 7 ! Setpoint:TSetColl ->Setpoint ! Type539:Outlet temperature ->Controlled variable ! Setpoint:OnOff1 ->On / Off signal ! [unconnected] Minimum control signal ! [unconnected] Maximum control signal ! [unconnected] Threshold for non-zero output ! [unconnected] Tolerance on tracking error TSETCOLL 2,1 ONOFF1 CONST CONST CONST E2 CONST *** INITIAL INPUT VALUES 0.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+00 5.0000000000000003E-02 0.0000000000000000E+00 *------------------------------------------------------------------------------ * EQUATIONS "Setpoint" * EQUATIONS 2 TSetColl = [4,7]+10 OnOff1 = GT([2,1],[4,7]) *$UNIT_NAME Setpoint *$LAYER Main *$POSITION 71 242 *------------------------------------------------------------------------------ * Model "Type2b" (Type 2) * UNIT 10 TYPE 2 *$UNIT_NAME Type2b *$MODEL .\Controllers\Differential Controller w_ Hysteresis\for Temperatures\Solver 0 (Successive Substitution) Control Strategy\Type2b.tmf *$POSITION 85 479 *$LAYER Main # *$# NOTE: This control strategy can only be used with solver 0 (Successive substitution) *$# PARAMETERS 2 ! 1 No. of oscillations ! 2 High limit cut-out 5.0000000000000000E+00 1.0000000000000000E+02 INPUTS 6 ! [unconnected] Upper input temperature Th ! [unconnected] Lower input temperature Tl ! Type60n:Tank temperature - bottom ->Monitoring temperature Tin ! [unconnected] Input control function ! [unconnected] Upper dead band dT ! [unconnected] Lower dead band dT CONST CONST 7,28 CONST CONST CONST E2 *** INITIAL INPUT VALUES 6.0000000000000000E+01 4.5000000000000000E+01 2.0000000000000000E+01 0.0000000000000000E+00 3.0000000000000000E+00 2.0000000000000000E+00 *------------------------------------------------------------------------------ * Model "Tank" (Type 4) * UNIT 11 TYPE 4 *$UNIT_NAME Tank *$MODEL .\Thermal Storage\Stratified Storage Tank\Variable Inlets\Uniform Losses\Type4c.tmf *$POSITION 275 178 *$LAYER Main # PARAMETERS 25 ! 1 Variable inlet positions ! 2 Tank volume ! 3 Fluid specific heat ! 4 Fluid density ! 5 Tank loss coefficient ! 6 Height of node-1 ! 7 Height of node-2 ! 8 Height of node-3 ! 9 Height of node-4 ! 10 Height of node-5 ! 11 Height of node-6 ! 12 Auxiliary heater mode ! 13 Node containing heating element -1 ! 14 Node containing thermostat -1 ! 15 Set point temperature for element-1 ! 16 Deadband for heating element-1 ! 17 Maximum heating rate of element -1 ! 18 Node containing heating element -2 ! 19 Node containing thermostat -2 ! 20 Set point temperature for element-2 ! 21 Deadband for heating element-2 ! 22 Maximum heating rate of element -2 ! 23 Not used (Flue UA) ! 24 Not used (Tflue) ! 25 Boiling point 2.0000000000000000E+00 3.0000000000000004E-01 4.1899999999999995E+00 1.0000000000000000E+03 2.5000000000000000E+00 3.0000000000000004E-01 3.0000000000000004E-01 3.0000000000000004E-01 3.0000000000000004E-01 3.0000000000000004E-01 3.0000000000000004E-01 1.0000000000000000E+00 1.0000000000000000E+00 1.0000000000000000E+00 6.0000000000000000E+01 5.0000000000000000E+00 9.0000000000000000E+03 1.0000000000000000E+00 1.0000000000000000E+00 6.0000000000000000E+01 5.0000000000000000E+00 9.0000000000000000E+03 0.0000000000000000E+00 2.0000000000000000E+01 1.0000000000000000E+02 INPUTS 7 ! Diverter D1:required_temp ->Hot-side temperature ! Diverter D1:flow_2_hotwater ->Hot-side flowrate ! Daily load:TCold ->Cold-side temperature ! Daily load:mdDHW ->Cold-side flowrate ! Type534:Average tank temperature ->Environment temperature ! [unconnected] Control signal for element-1 ! [unconnected] Control signal for element-2 REQUIRED_TEMP FLOW_2_HOTWATER TCOLD MDDHW 4,7 CONST E2 CONST *** INITIAL INPUT VALUES 4.5000000000000000E+01 0.0000000000000000E+00 1.5000000000000000E+01 0.0000000000000000E+00 2.0000000000000000E+01 1.0000000000000000E+00 0.0000000000000000E+00 DERIVATIVES 6 ! 1 Initial temperature of node-1 ! 2 Initial temperature of node-2 ! 3 Initial temperature of node-3 ! 4 Initial temperature of node-4 ! 5 Initial temperature of node-5 ! 6 Initial temperature of node-6 6.0000000000000000E+01 5.0000000000000000E+01 4.0000000000000000E+01 3.0000000000000000E+01 2.0000000000000000E+01 1.5000000000000000E+01 *------------------------------------------------------------------------------ * EQUATIONS "Mixer 1" * EQUATIONS 24 Flow25Percentsignal = or(a25,b25) Flow50precentsignal = or(a50,b50) Flow75percentSignal = or(a75,b75) Flow100percentSignal = and(a100,b100) Return100percentsig = and(Ra100,Rb100) Return75percent = Flow25Percentsignal*0.75*[7,4] Retuen50percent = Flow50precentsignal*0.50*[7,4] Return25percent = Flow75percentSignal*0.25*[7,4] a25 = and(lt([4,7],33),(gt([4,7],28))) b25 = and(lt([11,12],55),(gt([11,12],48))) flow25 = Flow25Percentsignal*0.25*[7,4] a50 = and(lt([4,7],28),(gt([4,7],22))) b50 = and(lt([11,12],48),(gt([11,12],38))) flow50 = 0.50*Flow50precentsignal*[7,4] a75 = and(lt([4,7],22),(gt([4,7],18))) b75 = and(lt([11,12],38),(gt([11,12],30))) flow75 = 0.75*[7,4]*Flow75percentSignal Temperature21 = [7,6] a100 = and(lt([4,7],18),(gt([4,7],10))) b100 = and(lt([11,12],30),(gt([11,12],20))) flow100 = [7,4]*Flow100percentSignal Ra100 = gt([4,7],33) Rb100 = gt([11,12],55) R100 = [7,4]*Return100percentsig *$UNIT_NAME Mixer 1 *$LAYER Main *$POSITION 479 447 *------------------------------------------------------------------------------ * EQUATIONS "Diverter D1" * EQUATIONS 6 !Flow to hot water tank flow_2_hotwater = [14,1]*Flow_demand flow_2_heating1 = gt([11,12],50) flow_2_heating2 = lt([4,7],28) flow_2_heating_sig = and(flow_2_heating1,flow_2_heating2) required_temp = Temperature2 Flow_2_heating = flow_2_heating_sig*Flow_demand *$UNIT_NAME Diverter D1 *$LAYER Main *$POSITION 606 522 *------------------------------------------------------------------------------ * Model "Type22" (Type 22) * UNIT 14 TYPE 22 *$UNIT_NAME Type22 *$MODEL .\Controllers\Iterative Feedback Controller\Type22.tmf *$POSITION 579 362 *$LAYER Main # PARAMETERS 2 ! 1 mode ! 2 Maximum number of oscillations 0.0000000000000000E+00 4.0000000000000000E+03 INPUTS 7 ! [unconnected] Setpoint ! Tank:Average tank temperature ->Controlled variable ! [unconnected] On / Off signal ! [unconnected] Minimum control signal ! [unconnected] Maximum control signal ! [unconnected] Threshold for non-zero output ! [unconnected] Tolerance on tracking error CONST EMP 11,12 CONST CONST CONST CONST E2 CONST *** INITIAL INPUT VALUES 5.0000000000000000E+01 0.0000000000000000E+00 1.0000000000000000E+00 -1.0000000000000000E+06 1.0000000000000000E+06 0.0000000000000000E+00 0.0000000000000000E+00 *------------------------------------------------------------------------------ * EQUATIONS "Radiator" * EQUATIONS 4 Cp = 4180 Power_rating = 6000 return_temp = [4,1]-(1.44/max([4,2],0.001)) flow3600 = [4,2]*3600 *$UNIT_NAME Radiator *$LAYER Main *$POSITION 833 319 *------------------------------------------------------------------------------ * Model "Load profile" (Type 14) * UNIT 16 TYPE 14 profile *$UNIT_NAME Load profile *$MODEL .\Utility\Forcing Functions\General\Type14h.tmf *$POSITION 855 221 *$LAYER Main # PARAMETERS 28 ! 1 Initial value of time ! 2 Initial value of function ! 3 Time at point-1 ! 4 Value at point -1 ! 5 Time at point-2 ! 6 Value at point -2 ! 7 Time at point-3 ! 8 Value at point -3 ! 9 Time at point-4 ! 10 Value at point -4 ! 11 Time at point-5 ! 12 Value at point -5 ! 13 Time at point-6 ! 14 Value at point -6 ! 15 Time at point-7 ! 16 Value at point -7 ! 17 Time at point-8 ! 18 Value at point -8 ! 19 Time at point-9 ! 20 Value at point -9 ! 21 Time at point-10 ! 22 Value at point -10 ! 23 Time at point-11 ! 24 Value at point -11 ! 25 Time at point-12 ! 26 Value at point -12 ! 27 Time at point-13 ! 28 Value at point -13 0.0000000000000000E+00 0.0000000000000000E+00 7.0000000000000000E+00 0.0000000000000000E+00 7.0000000000000000E+00 5.6000000000000019E-05 9.0000000000000000E+00 5.6000000000000019E-05 9.0000000000000000E+00 0.0000000000000000E+00 1.1000000000000000E+01 0.0000000000000000E+00 1.1000000000000000E+01 2.8000000000000006E-05 1.3000000000000000E+01 2.8000000000000006E-05 1.3000000000000000E+01 0.0000000000000000E+00 1.8000000000000000E+01 0.0000000000000000E+00 1.8000000000000000E+01 2.8000000000000006E-05 2.2000000000000000E+01 2.8000000000000006E-05 2.2000000000000000E+01 0.0000000000000000E+00 2.4000000000000000E+01 0.0000000000000000E+00 *------------------------------------------------------------------------------ * EQUATIONS "Daily load" * EQUATIONS 2 ! Multiply by daily consumption mdDHW = [16,1] * 200 TCold = 15 *$UNIT_NAME Daily load *$LAYER Main *$POSITION 1009 274 *------------------------------------------------------------------------------ * Model "Plotter 2" (Type 65) * UNIT 19 TYPE 65 2 *$UNIT_NAME Plotter 2 *$MODEL .\Output\Online Plotter\Online Plotter With File\No Units\Type65c.tmf *$POSITION 1004 392 *$LAYER Main # PARAMETERS 12 ! 1 Nb. of left-axis variables ! 2 Nb. of right-axis variables ! 3 Left axis minimum ! 4 Left axis maximum ! 5 Right axis minimum ! 6 Right axis maximum ! 7 Number of plots per simulation ! 8 X-axis gridpoints ! 9 Shut off Online w/o removing ! 10 Logical Unit for output file ! 11 Output file units ! 12 Output file delimiter 7.0000000000000000E+00 4.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+02 0.0000000000000000E+00 1.0000000000000000E+04 1.0000000000000000E+00 7.0000000000000000E+00 0.0000000000000000E+00 4.6000000000000000E+01 0.0000000000000000E+00 0.0000000000000000E+00 INPUTS 11 ! Type60n:Average tank temperature ->Left axis variable-1 ! [unconnected] Left axis variable-2 ! [unconnected] Left axis variable-3 ! [unconnected] Left axis variable-4 ! [unconnected] Left axis variable-5 ! [unconnected] Left axis variable-6 ! [unconnected] Left axis variable-7 ! [unconnected] Right axis variable-1 ! [equation] Right axis variable-2 ! [unconnected] Right axis variable-3 ! [unconnected] Right axis variable-4 7,17 CONST CONST CONST CONST CONST E2 CONST CONST MDDHW CONST CONST *** INITIAL INPUT VALUES TTop T2 T3 T4 T5 TBottom TDHW QAux mdDHW mdTank mdByPass LABELS 3 Temperatures Heat transfer rates Graph 1 *** External files ASSIGN C:\trnsys Modelling\Project with equations as mixers.pl2 46 *|? What file should the online print to? |1000 *------------------------------------------------------------------------------ * Model "Type3b-2" (Type 3) * UNIT 20 TYPE 3 *$UNIT_NAME Type3b-2 *$MODEL .\Hydronics\Pumps\Variable Speed\Type3b.tmf *$POSITION 166 628 *$LAYER Main # PARAMETERS 5 ! 1 Maximum flow rate ! 2 Fluid specific heat ! 3 Maximum power ! 4 Conversion coefficient ! 5 Power coefficient 6.6500000000000000E+02 4.1899999999999995E+00 6.0000000000000000E+01 5.0000000000000003E-02 5.0000000000000000E-01 INPUTS 3 ! Type60n:Temperature of outlet flow 1 ->Inlet fluid temperature ! Type60n:Flowrate at outlet 1 ->Inlet mass flow rate ! Type2b:Output control function ->Control signal 7,5 7,2 10,1 *** INITIAL INPUT VALUES 2.0000000000000000E+01 1.0000000000000000E+02 1.0000000000000000E+00 *------------------------------------------------------------------------------ * EQUATIONS "Flow Adder" * EQUATIONS 3 Flow_demand = flow25+flow50+flow75+flow100 Flow_return_heatpump = Return25percent+Retuen50percent+Return75percent+Return100percentsig Temperature2 = Temperature21 *$UNIT_NAME Flow Adder *$LAYER Main *$POSITION 469 618 *------------------------------------------------------------------------------ * Model "Plotter 2-2" (Type 65) * UNIT 22 TYPE 65 2-2 *$UNIT_NAME Plotter 2-2 *$MODEL .\Output\Online Plotter\Online Plotter With File\No Units\Type65c.tmf *$POSITION 981 328 *$LAYER Main # PARAMETERS 12 ! 1 Nb. of left-axis variables ! 2 Nb. of right-axis variables ! 3 Left axis minimum ! 4 Left axis maximum ! 5 Right axis minimum ! 6 Right axis maximum ! 7 Number of plots per simulation ! 8 X-axis gridpoints ! 9 Shut off Online w/o removing ! 10 Logical Unit for output file ! 11 Output file units ! 12 Output file delimiter 7.0000000000000000E+00 4.0000000000000000E+00 0.0000000000000000E+00 1.0000000000000000E+02 0.0000000000000000E+00 1.0000000000000000E+04 1.0000000000000000E+00 7.0000000000000000E+00 0.0000000000000000E+00 4.7000000000000000E+01 0.0000000000000000E+00 0.0000000000000000E+00 INPUTS 11 ! [unconnected] Left axis variable-1 ! [unconnected] Left axis variable-2 ! [unconnected] Left axis variable-3 ! [unconnected] Left axis variable-4 ! [unconnected] Left axis variable-5 ! [unconnected] Left axis variable-6 ! [unconnected] Left axis variable-7 ! [unconnected] Right axis variable-1 ! [equation] Right axis variable-2 ! [unconnected] Right axis variable-3 ! Radiator:return_temp ->Right axis variable-4 CONST CONST CONST CONST CONST CONST E2 CONST CONST MDDHW CONST RETURN_TEMP *** INITIAL INPUT VALUES TTop T2 T3 T4 T5 TBottom TDHW QAux mdDHW mdTank mdByPass LABELS 3 Temperatures Heat transfer rates Graph 1 *** External files ASSIGN C:\trnsys Modelling\Project with equations as mixers.pl2 47 *|? What file should the online print to? |1000 *------------------------------------------------------------------------------ END TRANSIENT SIMULATION STARTING AT TIME = 0.0000000000000000E+00 STOPPING AT TIME = 1.0000000000000000E+03 TIMESTEP = 1 / 8 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 TRNDll.dll: Type3, Type15, Type60, Type22, Type2, Type4, Type14, Type65 *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "FileReader.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 : "TESSApplicationsLibrary_ReleaseVersion204.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 : "TESSCoGenLibrary_ReleaseVersion205.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 : "TESSControlsLibrary_ReleaseVersion204.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 : "TESSGHPLibrary_ReleaseVersion204.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 : "TESSGreenBuildingLibrary_ReleaseVersion204.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 : "TESSGroundCouplingLibrary_ReleaseVersion204.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 : "TESSHVACLibrary_ReleaseVersion204.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 : "TESSHydronicsLibrary_ReleaseVersion204.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 : "TESSLoadsAndStructuresLibrary_ReleaseVersion204.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 : "TESSOptimizationLibrary_ReleaseVersion204.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 "TESSSolarLibrary_ReleaseVersion204.dll": Type539 *** 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 "TESSStorageLibrary_ReleaseVersion204.dll": Type534 *** Notice at time : 0.000000 Generated by Unit : Not applicable or not available Generated by Type : Not applicable or not available Message : "TESSUtilityLibrary_ReleaseVersion204.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 : "type127.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 : "Type157_demo_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 : "Type76Lib.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 : "type79-W.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 : "Type79Lib.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 : "Type82Lib.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 "Type938_ReleaseVersion.dll": Type938 *** 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 : 3 user DLLs were loaded after searching in "C:\Trnsys17\UserLib\ReleaseDLLs" *** Warning at time : 0.125000 Generated by Unit : 4 Generated by Type : 534 TRNSYS Message 33 : An inconsistent connection has been defined in the TRNSYS input file. The desired units for the input do not match the units of the connected output as specified in the component model. The discrepancy is listed below. Reported information : Unit 2 Type 539 Output 2 (variable type TE1) is connected to Unit 4 Type 534 input 8 (variable type MF1). Unit / Type / Output / Var.Type Connected to Unit / Type / Input / Var.Type ----------------------------------------------------------------------------- 2 539 2 TE1 -----------> 4 534 8 MF1 *** Warning at time : 0.125000 Generated by Unit : 6 Generated by Type : 938 TRNSYS Message 33 : An inconsistent connection has been defined in the TRNSYS input file. The desired units for the input do not match the units of the connected output as specified in the component model. The discrepancy is listed below. Reported information : Unit 10 Type 2 Output 1 (variable type CF1) is connected to Unit 6 Type 938 input 8 (variable type DM1). Unit / Type / Output / Var.Type Connected to Unit / Type / Input / Var.Type ----------------------------------------------------------------------------- 10 2 1 CF1 -----------> 6 938 8 DM1 *** The TRNSYS components will be called in the following order: Unit # 5 Type # 15 Unit # 16 Type # 14 Unit # 2 Type # 539 Unit # 3 Type # 3 Unit # 4 Type # 534 Unit # 6 Type # 938 Unit # 7 Type # 60 Unit # 8 Type # 22 Unit # 10 Type # 2 Unit # 11 Type # 4 Unit # 14 Type # 22 Unit # 20 Type # 3 Unit # 19 Type # 65 Unit # 22 Type # 65 *** Fatal Error at time : 0.125000 Generated by Unit : 3 Generated by Type : 3 TRNSYS Message 427 : An OUTPUT from the specified component model has been written to the global OUT array in a location beyond the allocated number of outputs from this model. Please check the component carefully to insure that INFO(6) is set correctly. The simulation has been aborted to avoid problems caused by over-writing the outputs from other component models Reported information : Not available *** Warning at time : 0.125000 Generated by Unit : 6 Generated by Type : 938 Message : The file C:\Trnsys17\Trnsys16\Tess Models\SampleCatalogData\HeatPumpWaterHeater\Normalized_HPWH.dat was called 1 times (0% of the time) with a first independent variable value above the range supplied in the data file. Data is interpolated within the data file range but is not extrapolated beyond the range. Performance of the equipment modeled by this UNIT may be incorrect. *** Warning at time : 0.125000 Generated by Unit : 6 Generated by Type : 938 Message : The file C:\Trnsys17\Trnsys16\Tess Models\SampleCatalogData\HeatPumpWaterHeater\Normalized_HPWH.dat was called 1 times (0% of the time) with a second independent variable value below the range supplied in the data file. Data is interpolated within the data file range but is not extrapolated beyond the range. Performance of the equipment modeled by this UNIT may be incorrect. ********************************************************************************************************* The Following UNIT Numbers, TYPE Numbers, and Logical Units Were Used in the Supplied TRNSYS Input File: 2 2 4 3 3 6 4 4 9 5 14 43 6 15 44 7 22 45 8 60 46 10 65 47 11 534 14 539 16 938 19 20 22 ********************************************************************************************************* Total TRNSYS Calculation Time: 0.7900 Seconds TRNSYS Time Breakdown by Unit Number Unit 5: 0.050000 Seconds Unit 16: 0.000000 Seconds Unit 2: 0.000000 Seconds Unit 3: 0.000000 Seconds Unit 4: 0.020000 Seconds Unit 6: 0.010000 Seconds Unit 7: 0.000000 Seconds Unit 8: 0.000000 Seconds Unit 10: 0.000000 Seconds Unit 11: 0.030000 Seconds Unit 14: 0.000000 Seconds Unit 19: 0.000000 Seconds Unit 20: 0.000000 Seconds Unit 22: 0.000000 Seconds TRNSYS Time Breakdown by Type Number Type 2: 0.000000 Seconds Type 3: 0.000000 Seconds Type 4: 0.030000 Seconds Type 14: 0.000000 Seconds Type 15: 0.050000 Seconds Type 22: 0.000000 Seconds Type 60: 0.000000 Seconds Type 65: 0.000000 Seconds Type 534: 0.020000 Seconds Type 539: 0.000000 Seconds Type 938: 0.010000 Seconds Total Calculation Time Inside of the Types: 0.1100 Seconds TRNSYS Iterative Call Breakdown by Unit Number Unit 5: 4 Calls Unit 16: 4 Calls Unit 2: 5 Calls Unit 3: 6 Calls Unit 4: 6 Calls Unit 6: 6 Calls Unit 7: 6 Calls Unit 8: 5 Calls Unit 10: 6 Calls Unit 11: 6 Calls Unit 14: 6 Calls Unit 19: 3 Calls Unit 20: 6 Calls Unit 22: 3 Calls
Attachment:
Project with equations as mixers.dck
Description: Binary data
Attachment:
Project with equations as mixers.log
Description: Binary data
Attachment:
Project with equations as mixers.tpf
Description: Binary data