First time here? Check out the Help page!

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

It seems like you are trying to create ModelObjects using your IDF file values. You are not using the correct constructors to create ModelObjects for the schedule, or the cooling coil. Most likely the same is happening for the supply fan and your cooling coil.

As an example, for your cooling coil you would need to do:

  unless library_strings.getString(18).get.empty? then
    model_cooling_coil = OpenStudio::Model::CoilCoolingDXVariableRefrigerantFlow.new(model)
    model_cooling_coil.setName(library_strings.getString(11).get)
    # Most likely you would want to add more coil properties here
    model_vrf_indoor_unit.setCoolingCoil(model_cooling_coil)
  end
click to hide/show revision 2
No.2 Revision

It seems like you are trying to create ModelObjects using your IDF file values. You are not using the correct constructors to create ModelObjects for the schedule, or the cooling coil. Most likely the same is happening for the supply fan and your cooling heating coil.

As an example, for your cooling coil you would need to do:

  unless library_strings.getString(18).get.empty? then
    model_cooling_coil = OpenStudio::Model::CoilCoolingDXVariableRefrigerantFlow.new(model)
    model_cooling_coil.setName(library_strings.getString(11).get)
    # Most likely you would want to add more coil properties here
    model_vrf_indoor_unit.setCoolingCoil(model_cooling_coil)
  end