lib/measures/tariff_selection_block/measure.rb in openstudio-common-measures-0.3.2 vs lib/measures/tariff_selection_block/measure.rb in openstudio-common-measures-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,
@@ -248,10 +248,10 @@
# gas tariff object
if args['gas_rate'] > 0
new_object_string = "
UtilityCost:Tariff,
Gas Tariff, !- Name
- Gas:Facility, !- Output Meter Name
+ NaturalGas:Facility, !- Output Meter Name
Therm, !- Conversion Factor Choice
, !- Energy Conversion Factor
, !- Demand Conversion Factor
, !- Time of Use Period Schedule Name
, !- Season Schedule Name