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

Revision history [back]

AvailabilityManager:NightVentilation isn't available through the GUI, so you'll have to add it via a Measure. Here's a code snippet that should get you started:

# Make a night ventilation availability manager and set inputs
night_vent = OpenStudio::Model::AvailabilityManagerNightVentilation.new(model)
night_vent.setApplicabilitySchedule(model.alwaysOnDiscreteSchedule)
night_vent.setVentilationTemperatureSchedule(some_schedule)
night_vent.setVentilationTemperatureDifference(OpenStudio.convert(5,'R','K').get) # Delta-F to Rankine
night_vent.setVentilationTemperatureLowLimit(OpenStudio.convert(55,'F','C').get) # F to C
night_vent.setNightVentingFlowFraction(0.5)
night_vent.setControlZone(some_zone)
night_vent.setNightVentingFlowFraction

# Attach it to the air loop
air_loop.setAvailabilityManager(night_vent)