First time here? Check out the Help page!

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

Setpoint manager minimum humidity

asked 8 years ago

Maciej Dluzen's avatar

updated 8 years ago

I want to add setpoint manager minimum humidity to my HVAC loop, but when I click on that in the library, nothing appears. That problem doesn't happen with other setpoints. It seems like setpoint manager minimum humidity is not available. However, it is essential for my loop, otherwise fatal error appears.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 8 years ago

Adam Hilton's avatar

They may have forgotten to add the object to the library or not want you to use it yet. If you desperately need it you drop these chunks into a custom measure. It will add a SetpointManagerSingleZoneHumidityMinimum to a node that you specify.

Arguments

# the name of the node to add the setpoint manager to
nodeName = OpenStudio::Ruleset::OSArgument.makeStringArgument("nodeName", true)
nodeName.setDisplayName("Existing Node Name")
nodeName.setDescription("Name of node to add 'Humidity Minimum Setpoint Manager' to.")
args << nodeName

Run

# assign the user input node name to a variable
nodeName = runner.getStringArgumentValue("nodeName", user_arguments)

# grab the node that has the specified name
node = model.getNodeByName(nodeName).get

# create a new setpoint manager and assign it to the desired node
newSetpointManager = OpenStudio::Model::SetpointManagerSingleZoneHumidityMinimum.new(model)
newSetpointManager.addToNode(node)
Preview: (hide)
link

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: 8 years ago

Seen: 652 times

Last updated: Sep 06 '16