Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page

# District cooling/heating rate in measure "Tariff_Selection_Flat"

I used the measure "Tariff_Selection_Flat" to calculate the cost of purchased chilled water/hot water. In the measure, the unit for district cooling/heating is "dollar/kBtu". However, results show unreasonably low cost in dollar. It seems the unit in the measure should be "$/therm". Is it a bug in the measure? edit retag close merge delete ## 1 Answer Sort by ยป oldest newest most voted @Yan, I think you are right, looking at the code, it seems I may not have been able to directly enter therms for "The Conversion Factor Choice; so I convert from dollars/therm to dollars/kBtu within the measure. So the unit in the measure argument should be "$/therm". I'll review this, fix and push an update to BCL. Below is the relevant code. It affects both district heating and cooling. Thanks for pointing this out!

# distclg tariff object
if args['distclg_rate'] > 0
new_object_string = "
UtilityCost:Tariff,
DistrictCooling Tariff,                             !- Name
DistrictCooling:Facility,                           !- Output Meter Name
KBtu,                                  !- Conversion Factor Choice
,                                       !- Energy Conversion Factor
,                                       !- Demand Conversion Factor
,                                       !- Time of Use Period Schedule Name
,                                       !- Season Schedule Name
,                                       !- Month Schedule Name
Day,                                    !- Demand Window Length
0.0;                                    !- Monthly Charge or Variable Name
"

# make UtilityCost:Charge:Simple objects for distclg
#value = OpenStudio::convert(args['gas_rate'],"1/therms","1/Kbtu").get # todo - get conversion working
value = args['distclg_rate']/99.98 # $/therm to$/Kbtu
new_object_string = "
UtilityCost:Charge:Simple,
DistrictCoolingTariffEnergyCharge, !- Name
DistrictCooling Tariff,                             !- Tariff Name
totalEnergy,                            !- Source Variable
Annual,                                 !- Season
EnergyCharges,                          !- Category Variable Name
#{value};          !- Cost per Unit Value or Variable Name
"
end

more

Updated measure now on BCL. For district heating and cooling argument unit is now "\$/therm". Conversion Factor Choice is "Therm", and the user entered value is used, without any conversion, for the Cost per Unit Value in the "UtilityCost:Charge:Simple" object.

( 2016-09-21 12:09:48 -0500 )edit

FYI @David Goldwasser this measure and the XcelEDATariffSelectionandModelSetup measure now show two UUID subfolders in user's local BCL directory, one old/outdated and one new. Is there an open issue for this? If not seems like there should be.

( 2017-11-10 14:40:14 -0500 )edit

@MatthewSteen, throw away BCL directory and then re-download only the new one should be there, but I'm interested if they both show in in GUI? IF they do that is an issue, ideally only the new one would show up.

( 2017-11-10 14:46:51 -0500 )edit