lib/measures/HardSizeHvac/measure.rb in openstudio-calibration-0.9.0 vs lib/measures/HardSizeHvac/measure.rb in openstudio-calibration-0.10.0

- old
+ new

@@ -25,23 +25,21 @@ 'Run a simulation to autosize HVAC equipment and then apply these autosized values back to the model.' end # define the arguments that the user will input def arguments(_model) - args = OpenStudio::Measure::OSArgumentVector.new - - args + OpenStudio::Measure::OSArgumentVector.new end # define what happens when the measure is run def run(model, runner, user_arguments) super(model, runner, user_arguments) # Make the standard applier standard = Standard.build('90.1-2004') # template choice doesn't matter # Perform a sizing run (2.5.1 and later) - sizing_run_path = OpenStudio::Path.new(File.dirname(__FILE__) + '/output/SR1').to_s + sizing_run_path = OpenStudio::Path.new("#{File.dirname(__FILE__)}/output/SR1").to_s runner.registerInfo("Performing sizing run at #{sizing_run_path}.") if standard.model_run_sizing_run(model, sizing_run_path) == false return false end