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

Revision history [back]

As @Archmage suggested, what you want is probably the Refrigeration:AirChiller. This is available in the OS API but not in the library as of 1.9.0. Here's some code that you can use in a Measure to add one:

# Create an air chiller
air_chiller = OpenStudio::Model::RefrigerationAirChiller.new(model, defrost_schedule)

# Hook it up to the zone
air_chiller.addToThermalZone(zone_1)

# Set the air chiller properties
air_chiller.setCapacityRatingType("UnitLoadFactorSensibleOnly")
air_chiller.setRatedUnitLoadFactor(0.5)
air_chiller.setRatedCapacity(1000)
air_chiller.setRatedRelativeHumidity(0.2)
# ...etc.  See the documentation for a list of methods
# for all of the fields

The API documentation for Refrigeration:AirChiller gives you a list of all the methods you can use to set the rest of the inputs for this object.