NatLabRockies / NatLabRockies/OpenStudio

Provide API for accessing 'internal' nodes for 'virtual' HVAC components in model

Open
#4,479 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component - Model Enhancement Request
Dominant language
C++
Stars
646
Forks
237
Avg merge
3d 11h
Merged PRs (30d)
10

Description

Enhancement Request

For 'virtual' components that can be placed on an AirLoopHVAC, node setpoint control is not available because the nodes are not created until forward translation. An API that exposes or enables referencing these nodes would allow for defining more detailed HVAC controls.

@kbenne describes this as 'tricky' here, but I believe it would be highly valuable in enabling complex HVAC controls. I've talked with @jmarrec about wanting this feature and he probably has ideas on how it could happen.

Detailed Description

Here is a (probably incomplete) list of where the internal node limitation crops up:

  • AirLoopHVAC:UnitarySystem control type SetPoint requires set points at each coil outlet node, which is not possible in OpenStudio because the nodes don't exist until translation.

  • ZoneHVAC:TerminalUnit:VariableRefrigerantFlow can be placed on an AirLoopHVAC (or AirLoopHVAC:OutdoorAirSystem or AirLoopHVAC:DedicatedOutdoorAirSystem), for which the unit control is based on setpoints placed on the coil outlet nodes. Also not possible currently.

  • The cooling coils in CoilSystem:Cooling:DX:HeatExchangerAssisted and CoilSystem:Cooling:Water:HeatExchangerAssisted cannot have a humidity setpoint (or any, for that matter) added to the coil outlet node, because it doesn't exist.

Possible Implementation

If, for example, an object ZoneHVAC:TerminalUnit:VariableRefrigerantFlow has a method coolingCoil, could there also be methods coolingCoilInletNode/coolingCoilOutletNode that would point to (optional) Node objects (or some related class without all the Connection/Port stuff) that SetpointManagers can reference, and would be translated accordingly?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing forward translation for virtual AirLoopHVAC components and how their internal nodes are created. Review the listed cases—UnitarySystem, VariableRefrigerantFlow terminal units, and heat-exchanger-assisted cooling coils—and determine how optional node references could be exposed to SetpointManagers. Done means the API supports these cases and translates the referenced nodes correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.