Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page

# Revision history [back]

### openstudio-standards apply_prm...efficiency

I'm trying to call the call the apply_prm_pressure_rise_and_motor_efficiencymethod from openstudio-standards in a measure. I included require-'openstudio-standards'in the measure.

My messure snippet:

if sc.to_PumpConstantSpeed.is_initialized
pump = sc.to_PumpConstantSpeed.get
pump.apply_prm_pressure_rise_and_motor_efficiency(chw_pri_only_w_per_gpm,model)


I'm getting the following error (only first line shown):

Optional not initialized :/ruby/2.2.0/gems/openstudio-standards-0.1.15/lib/openstudio-standards/standards/Standards.Pump.rb:26:in get'


My question is whether I called the method incorrectly or whether the error lies within the method.

### openstudio-standards apply_prm...efficiency

I'm trying to call the call the apply_prm_pressure_rise_and_motor_efficiencymethod from openstudio-standards in a measure. I included require-'openstudio-standards'in the measure.

My messure snippet:

if sc.to_PumpConstantSpeed.is_initialized
pump = sc.to_PumpConstantSpeed.get
pump.apply_prm_pressure_rise_and_motor_efficiency(chw_pri_only_w_per_gpm,model)


I'm getting the following error (only first line shown):

Optional not initialized :/ruby/2.2.0/gems/openstudio-standards-0.1.15/lib/openstudio-standards/standards/Standards.Pump.rb:26:in get'


My question is whether I called the method incorrectly or whether the error lies within the method. method.

### openstudio-standards apply_prm...efficiency

I'm trying to call the call the apply_prm_pressure_rise_and_motor_efficiencymethod from openstudio-standards in a measure. I included require-'openstudio-standards'in the measure.

messure snippet:

if sc.to_PumpConstantSpeed.is_initialized
pump = sc.to_PumpConstantSpeed.get
pump.apply_prm_pressure_rise_and_motor_efficiency(chw_pri_only_w_per_gpm,model)


I'm getting the following error (only first line shown):

Optional not initialized :/ruby/2.2.0/gems/openstudio-standards-0.1.15/lib/openstudio-standards/standards/Standards.Pump.rb:26:in get'


My question is whether I called the method incorrectly or whether the error lies within the method.method. If the former, my second question is how to correctly utilize the openstudio-standard methods.

 4 retagged __AmirRoth__ 4388 ●5 ●16 http://bleedinggreenna...

### openstudio-standards apply_prm...efficiency

I'm trying to call the call the apply_prm_pressure_rise_and_motor_efficiencymethod from openstudio-standards in a measure. I included require-'openstudio-standards'in the measure.

messure snippet:

if sc.to_PumpConstantSpeed.is_initialized
pump = sc.to_PumpConstantSpeed.get
pump.apply_prm_pressure_rise_and_motor_efficiency(chw_pri_only_w_per_gpm,model)


I'm getting the following error (only first line shown):

Optional not initialized :/ruby/2.2.0/gems/openstudio-standards-0.1.15/lib/openstudio-standards/standards/Standards.Pump.rb:26:in get'


My question is whether I called the method incorrectly or the error lies within the method. If the former, my second question is how to correctly utilize the openstudio-standard methods.