Skip to content

Commit 5dcd2eb

Browse files
Existing transmission lines now have their sunk costs carried into the objective function. Update example expectations accordingly.
Ensure that executing `switch solve --help` outside of a project directory will not cause a crash. Update outputs of the copperplate0 example (the only example that includes a full set of outputs). Have setup.py use the version number from the switch_model package Implement `switch --version` for getting the version number from the command-line tool.
1 parent 8b50539 commit 5dcd2eb

File tree

19 files changed

+32
-25
lines changed

19 files changed

+32
-25
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
112306455.975
1+
114415586.323
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
117115037.675
1+
119224168.023

examples/copperplate0/outputs/BuildProj.tab renamed to examples/copperplate0/outputs/BuildGen.tab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ S-Geothermal 1998 1.0
33
S-Central_PV-1 2020 0.0
44
S-Central_PV-1 2000 1.0
55
S-NG_CC 2000 5.0
6-
S-NG_CC 2020 1.84427579787234
6+
S-NG_CC 2020 2.34276595744681
77
S-Geothermal 2020 0.0
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
DispatchBaseloadByPeriod_index_1 DispatchBaseloadByPeriod_index_2 DispatchBaseloadByPeriod
2-
S-Geothermal 2020 0.96858075
2+
S-Geothermal 2020 0.5
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GEN_TPS_1 GEN_TPS_2 DispatchGen
2-
S-Geothermal 2 0.96858075
3-
S-Geothermal 1 0.96858075
4-
S-NG_CC 1 6.43361925
2+
S-Geothermal 2 0.5
3+
S-Geothermal 1 0.5
4+
S-NG_CC 1 6.9022
55
S-NG_CC 2 0.0
66
S-Central_PV-1 2 0.0
77
S-Central_PV-1 1 0.5978

examples/copperplate0/outputs/DumpPower.tab

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
GEN_TP_FUELS_1 GEN_TP_FUELS_2 GEN_TP_FUELS_3 GenFuelUseRate
2-
S-NG_CC 1 NaturalGas 43.13741707125
2+
S-NG_CC 1 NaturalGas 46.279251
33
S-NG_CC 2 NaturalGas 0.0
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
timestamp S-Geothermal S-NG_CC S-Central_PV-1
2-
2025011512 0.96858075 6.43361925 0.5978
3-
2025011600 0.96858075 0.0 0.0
1+
timestamp S-Central_PV-1 S-Geothermal S-NG_CC
2+
2025011512 0.5978 0.5 6.9022
3+
2025011600 0 0.5 0
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
GENERATION_PROJECT PERIOD GenCapacity GenCapitalCosts GenFixedOMCosts
2+
S-Central_PV-1 2020 1 227410 41850
3+
S-NG_CC 2020 7.34277 832743 43089.6
4+
S-Geothermal 2020 1 455992 0

0 commit comments

Comments
 (0)