lib/measures/CalibrationReportsEnhanced/measure.rb in openstudio-calibration-0.3.1 vs lib/measures/CalibrationReportsEnhanced/measure.rb in openstudio-calibration-0.4.0
- old
+ new
@@ -1,7 +1,7 @@
# *******************************************************************************
-# OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC.
+# OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# (1) Redistributions of source code must retain the above copyright notice,
@@ -53,10 +53,10 @@
def modeler_description
'Measure looks at consumption for electricity and natural gas, and demand for electricity. It is inteneded to be used with no more than one gas an electric bills. Each bill can have multiple billing periods. Make sure ot use an AMY matching the utility data time frame.'
end
# define the arguments that the user will input
- def arguments
+ def arguments(model = nil)
args = OpenStudio::Measure::OSArgumentVector.new
# Electric NMBE limit
electric_nmbe_limit = OpenStudio::Measure::OSArgument.makeDoubleArgument('electric_nmbe_limit', true)
electric_nmbe_limit.setDisplayName('Electric NMBE limit (%)')