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

Controlling the Demand side Plantloop through the BCVTB-interface

asked 2023-05-10 09:07:14 -0500

Tony Karlsson's avatar

updated 2023-05-10 10:33:12 -0500

We are using Reinforcement Learning with EnergyPlus to optimize the energy demand while keeping temperature comfort. We are currently controlling room temperatures of the 3d-building using a thermostat and the BCVTB-interface.

But instead we want to set the thermostat to a schedule (I know how to do that) but instead control the heating rate of the PlantLoop in kw or C. Is this possible somehow to set this variable using the BCVTB-interface.

My PlantLoop looks like following:

PlantLoop,
  Hot Water Loop Hot Water Loop,          !- Name
  Water,                                  !- Fluid Type
  ,                                       !- User Defined Fluid Type
  Hot Water Loop Operation,               !- PlantEquipmentOperationSchemes Name
  Hot Water Loop HW Supply Outlet,        !- Loop Temperature Setpoint Node Name
  100,                                    !- Maximum Loop Temperature {C}
  10,                                     !- Minimum Loop Temperature {C}
  autosize,                               !- Maximum Loop Volumetric Flow Rate {m3/s}
  0,                                      !- Minimum Loop Volumetric Flow Rate {m3/s}
  autosize,                               !- volume of the plant loop {m3}
  Hot Water Loop HW Supply Inlet,         !- Plant Side Inlet Node Name
  Hot Water Loop HW Supply Outlet,        !- Plant Side Outlet Node Name
  Hot Water Loop HW Supply Side Branches,  !- Plant Side Branch List Name
  Hot Water Loop HW Supply Side Connectors,  !- Plant Side Connector List Name
  Hot Water Loop HW Demand Inlet,         !- Demand Side Inlet Node Name
  Hot Water Loop HW Demand Outlet,        !- Demand Side Outlet Node Name
  Hot Water Loop HW Demand Side Branches,  !- Demand Side Branch List Name
  Hot Water Loop HW Demand Side Connectors,  !- Demand Side Connector List Name
  Sequential,                             !- Load Distribution Scheme
  ,                                       !- AvailabilityManagerAssignmentList
  SingleSetpoint;                         !- Plant Loop Demand Calculation Scheme
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-12 05:58:23 -0500

If you can set the heating rate of the plant loop using EnergyPlus Schedule (Compact), EMS Actuator, or EMS GlobalVariable, then yes you can change this variable using the BCTVB. I suggest first removing the external interface objects from your IDF file and seeing if you can set the heating rate using any of the aforementioned objects. If that works, then substitute the object with the corresponding external interface object. Please check the Input/Output reference to learn more about the external interface variables.

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

Question Tools

1 follower

Stats

Asked: 2023-05-10 09:07:14 -0500

Seen: 20 times

Last updated: May 12