@@ -359,12 +359,9 @@ def split_clean_data(meas_prepped_objs, full_dat_out):
359359 if not isinstance(m, MeasurePackage):
360360 del m.markets[adopt_scheme]["mseg_adjust"][
361361 "paired heat/cool mseg adjustments"]
362- # Add remaining contributing microsegment data to
363- # competition data dict, if the adoption scenario will be competed
364- # in the run.py module, then delete from measure
362+ # Add fuel splits and sector shape data, if applicable and the adoption scenario
363+ # will be competed in the run.py module, then delete from measure
365364 if full_dat_out[adopt_scheme]:
366- comp_data_dict[adopt_scheme] = \
367- m.markets[adopt_scheme]["mseg_adjust"]
368365 # If applicable, add efficient fuel split data to fuel split
369366 # data dict
370367 if len(m.eff_fs_splt[adopt_scheme].keys()) != 0:
@@ -380,6 +377,9 @@ def split_clean_data(meas_prepped_objs, full_dat_out):
380377 # If adoption scenario will not be competed in the run.py
381378 # module, remove detailed mseg breakouts
382379 del m.markets[adopt_scheme]["mseg_out_break"]
380+ # Add remaining contributing microsegment data to competition data dict, then
381+ # delete from measure
382+ comp_data_dict[adopt_scheme] = m.markets[adopt_scheme]["mseg_adjust"]
383383 del m.markets[adopt_scheme]["mseg_adjust"]
384384 # Delete info. about efficient fuel splits for fuel switch measures
385385 del m.eff_fs_splt
@@ -10336,7 +10336,8 @@ def breakout_mseg(self, mskeys, contrib_mseg_key, adopt_scheme, opts, input_data
1033610336 fuel->end use->technology type->structure type).
1033710337 adopt_scheme (string): Assumed consumer adoption scenario.
1033810338 opts (object): Stores user-specified execution options.
10339- input_data (list): Stores all mseg-specific data that need to be assigned to breakouts.
10339+ input_data (list): Stores all segment-specific data that need to be assigned to
10340+ breakouts.
1034010341 gap_adj_frac (float): Fraction to apply to breakout data to represent
1034110342 portions of msegs that are not covered by ComStock load shapes (if applicable)
1034210343 Returns:
0 commit comments