First time here? Check out the Help page!
1 | initial version |
The OpenStudio GUI does not currently support editing Ideal Loads Air System inputs, as you have discovered. You can create an EnergyPlus Measure to edit the object with the following code:
# schedule name can be set with an argument
schedule_name = "AC_on_6_11pm"
# get all ideal load air system objects
ideal_loads = workspace.getObjectsByType("ZoneHVAC:IdealLoadsAirSystem".to_IddObjectType)
# set availability schedule
ideal_loads.each do |ideal|
ideal.setString(1,schedule_name)
end
You could expand on this to enable further editing of the object by adding more input arguments and using the setString
method.