lib/measures/tariff_selection_block/measure.rb in openstudio-common-measures-0.1.2 vs lib/measures/tariff_selection_block/measure.rb in openstudio-common-measures-0.2.0
- old
+ new
@@ -34,10 +34,12 @@
# *******************************************************************************
# see the URL below for information on how to write OpenStudio measures
# http://nrel.github.io/OpenStudio-user-documentation/measures/measure_writing_guide/
-require "#{File.dirname(__FILE__)}/resources/os_lib_helper_methods"
+# load OpenStudio measure libraries from openstudio-extension gem
+require 'openstudio-extension'
+require 'openstudio/extension/core/os_lib_helper_methods'
# start the measure
class TariffSelectionBlock < OpenStudio::Measure::EnergyPlusMeasure
# human readable name
def name