Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
0

Thermal storage attached to a PTHP using heat exchanger problem

asked 2024-10-28 15:12:49 -0600

Behnam's avatar

updated 2024-10-29 09:19:33 -0600

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 ...

(more)
edit retag flag offensive close merge delete

Comments

@Behnam while you can't attach a text file directly to your post, you can upload it to Google Drive, Dropbox, or a similar file sharing service and then share the URL here for others to access.

Aaron Boranian's avatar Aaron Boranian  ( 2024-10-29 09:20:36 -0600 )edit

See @Behnam's other post asking if this configuration is possible.

Aaron Boranian's avatar Aaron Boranian  ( 2024-11-06 15:33:46 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2024-11-08 05:28:00 -0600

PmP's avatar

updated 2024-11-08 05:28:37 -0600

Without knowing the E+ version that you are using, it seems like some FluidtoFluid heat exchanger fields are missing or out of order. The error shows this clearly by saying "You cant put a string as an input for Design flow rate" because it is looking for either a number or autosize but your fifth input for the object is a name.

This is how a full FluidtoFluid heat exchanger would be inputted: https://bigladdersoftware.com/epx/doc...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2024-10-28 15:12:49 -0600

Seen: 76 times

Last updated: Nov 08