Skip to content

Commit

Permalink
Account for sub-federal appliance regulations.
Browse files Browse the repository at this point in the history
Create and process new input data (./scout/supporting_data/sub_fed/state_appl_regs.csv) to represent the effects of state-level or other sub-federal regulations on the use of certain appliances (e.g., fossil-based appliances) for certain market segments, beginning in certain years.

The restrictions are reflected in compete_measures() as adjustments to the years a competing measure is allowed on the market (when the measure’s market is 100% restricted) or as a downward adjustment to its market share (when the measure’s market is partially restricted).

Addresses issue #409.
  • Loading branch information
jtlangevin committed Dec 6, 2024
1 parent b91cefc commit 9adac31
Show file tree
Hide file tree
Showing 6 changed files with 256 additions and 42 deletions.
1 change: 1 addition & 0 deletions scout/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class FilePaths:
CONVERT_DATA = SUPPORTING_DATA / "convert_data"
STOCK_ENERGY = SUPPORTING_DATA / "stock_energy_tech_data"
TSV_DATA = SUPPORTING_DATA / "tsv_data"
SUB_FED = SUPPORTING_DATA / "sub_fed"

# Non-package data:
_parent_dir = Path.cwd() # parent dir of repo
Expand Down
2 changes: 0 additions & 2 deletions scout/ecm_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -14233,8 +14233,6 @@ def split_clean_data(meas_prepped_objs, full_dat_out):
del m.linked_htcl_tover
del m.linked_htcl_tover_anchor_eu
del m.linked_htcl_tover_anchor_tech
# Delete info. about dual fuel fractions
del m.backup_fuel_fraction
# For measure packages, replace 'contributing_ECMs'
# objects list with a list of these measures' names and remove
# unnecessary heating/cooling equip/env overlap data
Expand Down
Loading

0 comments on commit 9adac31

Please sign in to comment.