NREL / openstudio-calibration-gem

Other
5 stars 5 forks source link

shared curves are making shift_hours_of_operation fail #15

Open DavidGoldwasser opened 3 years ago

DavidGoldwasser commented 3 years ago

The measure code works as it should, an error I assume is getting passed along from standards for curves. These are not warnings, but errors that return the measure false.

ERROR MESSAGES [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Biquadratic' and named 'Curve Biquadratic 31' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 38' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Biquadratic' and named 'Curve Biquadratic 32' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 39' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 40' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Biquadratic' and named 'Curve Biquadratic 31' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 38' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Biquadratic' and named 'Curve Biquadratic 32' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 39' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 40' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Biquadratic' and named 'Curve Biquadratic 31' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 38' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Biquadratic' and named 'Curve Biquadratic 32' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 39' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 40' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Biquadratic' and named 'Curve Biquadratic 31' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 38' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Biquadratic' and named 'Curve Biquadratic 32' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 39' has multiple parents. Returning the first. [openstudio.model.Curve] This Curve, Object of type 'OS:Curve:Quadratic' and named 'Curve Quadratic 40' has multiple parents. Returning the first.

DavidGoldwasser commented 3 years ago

I hoped to make a mini-measure to replicate this, but the code below isn't enough. It runs fine. At some point in the parametric code in standards I'm stepping-through zone equipment which is likely when this get called?

OsLib_HelperMethods.setup_log_msgs(runner,true) # bool is debug standard = Standard.build('90.1-2004') # selected template doesn't matter runner.registerInfo("I am not doing anything") OsLib_HelperMethods.log_msgs