Skip to content

Commit bb3f4f6

Browse files
pesapstaadecker
authored andcommitted
Merge pull request #90 from staadecker/update_transmission_lifetime
Update transmission line lifetime to 85 years
2 parents 6d34444 + 775b315 commit bb3f4f6

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

REAM Model Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ completed runs.
88

99
Changes are listed from oldest (first line) to newest (last line of table).
1010

11-
| PR | Month | Change description |
11+
| PR | Estimated Merge Time (check PR for exact date) | Change description |
1212
| ---- | --- | ---------------------|
1313
| #12 | March 2021 | Use the middle of the period instead of the start as the cutoff for retirement and predetermined buildout. |
1414
| #15 | March 2021 | Fix bug where storage costs where being over-counted. |

switch_model/wecc/get_inputs/cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ def run_post_process(module):
6666

6767
# Get specific configuration for the post process if specified
6868
post_config = None
69-
if "post_process_config" in full_config and full_config["post_process_config"] is not None:
69+
if (
70+
"post_process_config" in full_config
71+
and full_config["post_process_config"] is not None
72+
):
7073
post_config = full_config["post_process_config"].get(module, None)
7174

7275
# Run post process

switch_model/wecc/get_inputs/get_inputs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,10 @@ def query_db(full_config, skip_cf):
402402
"trans_lifetime_yrs",
403403
"trans_fixed_om_fraction",
404404
],
405+
# See Issue #80 for reasoning behind the 85 year lifetime.
405406
f"""
406407
SELECT trans_capital_cost_per_mw_km,
407-
20 as trans_lifetime_yrs,
408+
85 as trans_lifetime_yrs,
408409
0.03 as trans_fixed_om_fraction
409410
FROM switch.transmission_base_capital_cost
410411
WHERE transmission_base_capital_cost_scenario_id = {transmission_base_capital_cost_scenario_id}

0 commit comments

Comments
 (0)