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

Revision history [back]

click to hide/show revision 1
initial version

Ok, now I figured out

only one adding one line:

cop = OpenStudio::OptionalDouble.new(arr[1].to_f)

to transfer Float to OpenStudio::OptionalDouble

then:

coil.setRatedCOP(cop)