lib/measures/TimeseriesObjectiveFunction/measure.rb in openstudio-calibration-0.5.0 vs lib/measures/TimeseriesObjectiveFunction/measure.rb in openstudio-calibration-0.5.1

- old
+ new

@@ -57,10 +57,10 @@ def modeler_description "Creates Objective Function from Timeseries Data. The measure applies a Norm at each timestep between the difference of CSV metered data and SQL model data. A timeseries plot can also be created. Possible outputs are 'cvrmse', 'nmbe', 'simdata' = sum of the simulated data, 'csvdata' = sum of metered data, 'diff' = P Norm between the metered and simulated data if Norm is 1 or 2, else its just the Difference." end # define the arguments that the user will input - def arguments + def arguments(model = nil) args = OpenStudio::Measure::OSArgumentVector.new # the name of the sql file csv_name = OpenStudio::Measure::OSArgument.makeStringArgument('csv_name', true) csv_name.setDisplayName('Path to CSV file for the metered data')