@ktehranchi, can you please confirm that you were not planning to use build_powerplant.py for anything, before I merge this PR. I ran the workflow without build_powerplant and it worked fine
Changes proposed in this Pull Request
Turns out, we dont actually use the build_powerplants.py code anywhere; seems to be legacy from the pypsa-eur code we used as a template. The changes in add_electricity.py over build_powerplants.py are:
Slight change in update_marginal_costs() function, as described in issue #252
Change in how marginal cost is calculated for conditional generators (potentially related to PR #249)
Closes #252
@ktehranchi, can you please confirm that you were not planning to use
build_powerplant.py
for anything, before I merge this PR. I ran the workflow withoutbuild_powerplant
and it worked fineChanges proposed in this Pull Request
Turns out, we dont actually use the
build_powerplants.py
code anywhere; seems to be legacy from the pypsa-eur code we used as a template. The changes inadd_electricity.py
overbuild_powerplants.py
are:update_marginal_costs()
function, as described in issue #252attach_wind_and_solar(...)
functionattach_battery_storage(...)
functionclean_bus_data(n)
functionChecklist
envs/environment.yaml
.config.default.yaml
.doc/configtables/*.csv
.