@@ -3226,13 +3226,16 @@ def fill_mkts(self, msegs, msegs_cpl, convert_data, tsv_data_init, opts,
32263226 else:
32273227 # Set to original cooling tech./fuel if not switching to HP
32283228 if "cooling" in mskeys:
3229- mskeys_swtch_tech, mskeys_swtch_fuel = [
3230- mskeys[-2], mskeys[3]]
3229+ mskeys_swtch_tech, mskeys_swtch_fuel = [mskeys[-2], mskeys[3]]
32313230 else:
3232- mskeys_swtch_tech = "resistance heat"
3231+ mskeys_swtch_tech = self.tech_switch_to
32333232 # Water heating
32343233 elif mskeys[4] == "water heating":
3235- mskeys_swtch_tech = "electric WH"
3234+ # Set any switched to electric res. WH technology to the Scout/EIA name
3235+ if mskeys_swtch_fuel == "electricity":
3236+ mskeys_swtch_tech = "electric WH"
3237+ else:
3238+ mskeys_swtch_tech = None
32363239 # Cooking and drying
32373240 elif mskeys[4] in ["cooking", "drying"]:
32383241 mskeys_swtch_tech = None
@@ -3265,13 +3268,25 @@ def fill_mkts(self, msegs, msegs_cpl, convert_data, tsv_data_init, opts,
32653268 mskeys[4] == "cooling":
32663269 mskeys_swtch_tech = "comm_GSHP-cool"
32673270 else:
3268- mskeys_swtch_tech = self.tech_switch_to
3271+ # Set to original cooling tech./fuel if not switching to HP
3272+ if "cooling" in mskeys:
3273+ mskeys_swtch_tech, mskeys_swtch_fuel = [mskeys[-2], mskeys[3]]
3274+ else:
3275+ mskeys_swtch_tech = self.tech_switch_to
32693276 # Water heating
32703277 elif mskeys[4] == "water heating":
3271- mskeys_swtch_tech = "HP water heater"
3278+ # Ensure use of correct com. HP water heater name if in user name
3279+ if "HP" in self.tech_switch_to:
3280+ mskeys_swtch_tech = "HP water heater"
3281+ else:
3282+ mskeys_swtch_tech = self.tech_switch_to
32723283 # Cooking
32733284 elif mskeys[4] == "cooking":
3274- mskeys_swtch_tech = "elec_range-combined"
3285+ # Com. cooking has only two names, one for electric and one for gas
3286+ if mskeys_swtch_fuel == "electricity":
3287+ mskeys_swtch_tech = "elec_range-combined"
3288+ else:
3289+ mskeys_swtch_tech = "gas_range-combined"
32753290 # Lighting - switch to comparable LED product based
32763291 # on lighting class in baseline
32773292 elif mskeys[4] == "lighting":
0 commit comments