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

Revision history [back]

I'm not sure of the exact syntax but you may need to do something like:

value = OpenStudio.OptionalDouble.new(10000.0)
coil.setRatedHighSpeedTotalCoolingCapacity(value)

Just as an FYI, that argument signature is against our normal patterns. We might change it to conform (e.g. just take a double as input) at some point.

@kylebenne

I'm not sure of the exact syntax but you may need to do something like:

value = OpenStudio.OptionalDouble.new(10000.0)
OpenStudio::OptionalDouble.new(10000.0)
coil.setRatedHighSpeedTotalCoolingCapacity(value)

Just as an FYI, that argument signature is against our normal patterns. We might change it to conform (e.g. just take a double as input) at some point.

@kylebenne