lib/measures/AedgK12ElectricEquipmentControls/measure.rb in openstudio-aedg-0.1.1 vs lib/measures/AedgK12ElectricEquipmentControls/measure.rb in openstudio-aedg-0.2.0

- old
+ new

@@ -40,14 +40,17 @@ # http://openstudio.nrel.gov/openstudio-life-cycle-examples # see the URL below for access to C++ documentation on model objects (click on "model" in the main window to view model objects) # http://openstudio.nrel.gov/sites/openstudio.nrel.gov/files/nv_data/cpp_documentation_it/model/html/namespaces.html +# load OpenStudio measure libraries from openstudio-extension gem +require 'openstudio-extension' +require 'openstudio/extension/core/os_lib_helper_methods' +require 'openstudio/extension/core/os_lib_lighting_and_equipment' +require 'openstudio/extension/core/os_lib_schedules' + # load OpenStudio measure libraries require "#{File.dirname(__FILE__)}/resources/OsLib_AedgMeasures" -require "#{File.dirname(__FILE__)}/resources/os_lib_helper_methods" -require "#{File.dirname(__FILE__)}/resources/os_lib_lighting_and_equipment" -require "#{File.dirname(__FILE__)}/resources/os_lib_schedules" # start the measure class AedgK12ElectricEquipmentControls < OpenStudio::Measure::ModelMeasure # define the name that a user will see, this method may be deprecated as # the display name in PAT comes from the name field in measure.xml