Revision history  [back]

EMS with Openstudio debugging

Hi, I have the following line in my measure.rb file

ets_heating_energy = OpenStudio::Model::EnergyManagementSystemGlobalVariable.new(model, "EtsHeatingEnergy")

I get the following error

[openstudio.model.EnergyManagementSystemGlobalVariable] Unable to set Object of type 'OS:EnergyManagementSystem:GlobalVariable' and named 'EtsHeatingEnergy_1''s Name to EtsHeatingEnergy.

What am I doing wrong ?