Hello EnergyPlus community,
I hope you are pretty well.
Sorry I have a problem in running and IDF that is about to simulate a PTHP attached to a water thermal storage using a heat exchanger.
The part of the IDF shows the connection is in below. There is no way in this forum to attach an IDF file, it only accepts png, jpg, etc.
! Define the thermal storage tank object ThermalStorage:ChilledWater:Mixed, Water_Storage_Tank, !- Name 4.0, !- Tank Volume {m3} CW-Tank-Temp-Schedule, !- Setpoint Temperature Schedule Name 3.5, !- Deadband Temperature Difference {deltaC} 1.0, !- Minimum Temperature Limit {C} 10000, !- Nominal Cooling Capacity {W} Zone, !- Ambient Temperature Indicator , !- Ambient Temperature Schedule Name MY_HB_ZONE, !- Ambient Temperature Zone Name , !- Ambient Temperature Outdoor Air Node Name 5.0, !- Heat Gain Coefficient from Ambient Temperature {W/K} Zone HVAC Packaged Terminal Heat Pump 1 Fan Outlet Node, !- Use Side Inlet Node Name Storage_Tank_Outlet_Node, !- Use Side Outlet Node Name 1.0, !- Use Side Effectiveness Always_On, !- Use Side Availability Schedule Name 0.1, !- Use Side Design Flow Rate {m3/s} HX_Water_Inlet_Node, !- Source Side Inlet Node Name HX_Water_Outlet_Node, !- Source Side Outlet Node Name 1.0, !- Source Side Effectiveness Always_On, !- Source Side Availability Schedule Name 0.1, !- Source Side Design Flow Rate {m3/s} 4.0; !- Tank Recovery Time {hr}
! Define the heat exchanger for fluid-to-fluid heat transfer HeatExchanger:FluidToFluid, PTHP_AirToWater_HeatExchanger, !- Name HeatingSetpointModulated, !- Control Type 60, !- Setpoint Temperature {C} Zone HVAC Packaged Terminal Heat Pump 1 Heating Coil Outlet Node, !- Demand Side Inlet Node Name HX_Air_Outlet_Node, !- Demand Side Outlet Node Name HX_Water_Inlet_Node, !- Supply Side Inlet Node Name HX_Water_Outlet_Node, !- Supply Side Outlet Node Name 0.005, !- Loop Demand Side Design Flow Rate {m3/s} (Numeric Value) CrossFlowBothUnmixed; !- Heat Exchange Model Type
! Define the plant loop PlantLoop, PTHP_Loop, !- Name Water, !- Fluid Type , !- User Defined Fluid Type PTHP_Loop_Operation, !- Plant Equipment Operation Scheme Name PTHP_Loop_Inlet_Node, !- Loop Temperature Setpoint Node Name 10.0, !- Plant Loop Volume {m3} , !- Plant Side Branch List Name , !- Demand Side Branch List Name , !- Plant Side Connector List Name , !- Demand Side Connector List Name PTHP_Loop_Supply_Outlet_Node, !- Demand Side Outlet Node Name PTHP_Loop_Demand_Inlet_Node; !- Supply Side Inlet Node Name
! Define branches for each component BranchList, PTHP_Loop_Branch_List, PTHP_HeatExchanger_Branch, WaterStorageTank_Branch;
Branch, PTHP_HeatExchanger_Branch, , !- Pressure Drop Curve Name HeatExchanger:FluidToFluid, !- Component 1 Object Type PTHP_AirToWater_HeatExchanger, !- Component 1 Name HX_Water_Inlet_Node, !- Component 1 Inlet Node Name HX_Water_Outlet_Node; !- Component 1 Outlet Node Name
Branch, WaterStorageTank_Branch, , !- Pressure Drop Curve Name ThermalStorage:ChilledWater:Mixed, !- Component 1 Object Type Water_Storage_Tank, !- Component 1 Name Zone HVAC Packaged Terminal Heat Pump 1 Fan Outlet Node, !- Component 1 Inlet Node Name Storage_Tank_Outlet_Node; !- Component 1 Outlet Node Name
! Define connector for each component and branch ConnectorList, PTHP_Loop_Connector_List, Connector:Splitter, PTHP_Loop_Splitter, Connector:Mixer, PTHP_Loop_Mixer;
Connector:Splitter, PTHP_Loop_Splitter, PTHP_HeatExchanger_Branch, WaterStorageTank_Branch;
Connector:Mixer, PTHP_Loop_Mixer, PTHP_HeatExchanger_Branch, WaterStorageTank_Branch;
I tried many times but could not find a solution to the issue. Below is the error message I found in the eplusout.err file
Program Version,EnergyPlus, Version 23.2.0-7636e6b3e9, YMD=2024.10.28 20:30, * Severe * <root>[HeatExchanger:FluidToFluid][PTHP_AirToWater_HeatExchanger][loop_demand_side_design_flow_rate] - Value type "string" for input "HX_Air_Outlet_Node" not permitted by 'type' constraint. * Severe * <root>[HeatExchanger:FluidToFluid][PTHP_AirToWater_HeatExchanger][loop_demand_side_design_flow_rate] - Failed to validate against child schema #0. * Severe * <root>[HeatExchanger:FluidToFluid][PTHP_AirToWater_HeatExchanger][loop_demand_side_design_flow_rate] - "HX_Air_Outlet_Node" - Failed to match against any enum values. * Severe * <root>[HeatExchanger:FluidToFluid][PTHP_AirToWater_HeatExchanger][loop_demand_side_design_flow_rate] - Failed to validate against child schema #1. * Severe * <root>[HeatExchanger:FluidToFluid][PTHP_AirToWater_HeatExchanger][loop_demand_side_design_flow_rate] - Failed to validate against any schemas allowed by anyOf constraint.
* Fatal * Errors occurred on processing input file. Preceding condition(s) cause termination.
...Summary of Errors that led to program termination: ..... Reference severe error count=5
..... Last severe error=<root>[HeatExchanger:FluidToFluid][PTHP_AirToWater_HeatExchanger][loop_demand_side_design_flow_rate] - Failed to validate against any schemas allowed by anyOf constraint.
*** Warning: Node connection errors not checked - most system input has not been read (see previous warning). *** Fatal error -- final processing. Program exited before simulations began. See previous error messages.
*** EnergyPlus Warmup Error Summary. During Warmup: 0 Warning; 0 Severe Errors. *** EnergyPlus Sizing Error Summary. During Sizing: 0 Warning; 0 Severe Errors. *** EnergyPlus Terminated--Fatal Error Detected. 0 Warning; 5 Severe Errors; Elapsed Time=00hr 00min 0.10sec
Can you kindly let me know what the problem is and how I can solve that?
Thank you very much for your time and asssistance.
Sincerely, Behnam