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

Solar Hot Water with Open Studio measure

I am trying to create an OpenStudio measure the incorporates a solar hot water collector into a plant loop. I can create a new SolarCollectorFlatPlateWater object but cannot create a SolarCollectorPerformanceFlatPlate object.

Within measure.rb:

def run(model, runner, user_arguments) super(model, runner, user_arguments) # Do NOT remove this line new_collector = OpenStudio::Model::SolarCollectorFlatPlateWater.new(model) new_collector_perf = OpenStudio::Model::SolarCollectorPerformanceFlatPlate.new(model)

This produces the following error in Ruby:

Error: allocator undefined for OpenStudio::Model::SolarCollectorPerformanceFlatPlate

Is there another way to create a SolarCollectorPerformanceFlatPlate object in an open studio measure?

Solar Hot Water with Open Studio measure

I am trying to create an OpenStudio measure the incorporates a solar hot water collector into a plant loop. I can create a new SolarCollectorFlatPlateWater object but cannot create a SolarCollectorPerformanceFlatPlate object.

Within measure.rb:

def run(model, runner, user_arguments)
   super(model, runner, user_arguments)  # Do NOT **NOT** remove this line
   new_collector = OpenStudio::Model::SolarCollectorFlatPlateWater.new(model)
   new_collector_perf = OpenStudio::Model::SolarCollectorPerformanceFlatPlate.new(model)

OpenStudio::Model::SolarCollectorPerformanceFlatPlate.new(model)

This produces the following error in Ruby:

Error: allocator undefined for OpenStudio::Model::SolarCollectorPerformanceFlatPlate

OpenStudio::Model::SolarCollectorPerformanceFlatPlate

Is there another way to create a SolarCollectorPerformanceFlatPlate object in an open studio measure?

Solar Hot Water with Open Studio measure

I am trying to create an OpenStudio measure the incorporates a solar hot water collector into a plant loop. I can create a new SolarCollectorFlatPlateWater object but cannot create a SolarCollectorPerformanceFlatPlate object.

Within measure.rb:

def run(model, runner, user_arguments)
  super(model, runner, user_arguments)  # Do **NOT** remove this line
  new_collector = OpenStudio::Model::SolarCollectorFlatPlateWater.new(model)
  new_collector_perf = OpenStudio::Model::SolarCollectorPerformanceFlatPlate.new(model)

This produces the following error in Ruby:

Error: allocator undefined for OpenStudio::Model::SolarCollectorPerformanceFlatPlate

Is there another way to create a SolarCollectorPerformanceFlatPlate object in an open studio measure?