Rename ev battery master (#1116)

* rename EV battery

* add release note

* adjust tech colors

* fix for battery renaming in plot_summary

---------

Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
This commit is contained in:
Micha 2024-07-29 09:50:02 +02:00 committed by GitHub
parent 23ea16dc14
commit f5fe0d062c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 6 deletions

View File

@ -1054,7 +1054,7 @@ plotting:
V2G: '#e5ffa8' V2G: '#e5ffa8'
land transport EV: '#baf238' land transport EV: '#baf238'
land transport demand: '#38baf2' land transport demand: '#38baf2'
Li ion: '#baf238' EV battery: '#baf238'
# hot water storage # hot water storage
water tanks: '#e69487' water tanks: '#e69487'
residential rural water tanks: '#f7b7a3' residential rural water tanks: '#f7b7a3'

View File

@ -10,6 +10,8 @@ Release Notes
Upcoming Release Upcoming Release
================ ================
* Renamed the carrier of batteries in BEVs from `battery storage` to `EV battery` and the corresponding bus carrier from `Li ion` to `EV battery`. This is to avoid confusion with stationary battery storage.
* Changed default assumptions about waste heat usage from PtX and fuel cells in district heating. * Changed default assumptions about waste heat usage from PtX and fuel cells in district heating.
The default value for the link efficiency scaling factor was changed from 100% to 25%. The default value for the link efficiency scaling factor was changed from 100% to 25%.
It can be set to other values in the configuration ``sector: use_TECHNOLOGY_waste_heat``. It can be set to other values in the configuration ``sector: use_TECHNOLOGY_waste_heat``.

View File

@ -250,7 +250,7 @@ def adjust_stores(n):
n.stores.loc[cyclic_i, "e_cyclic_per_period"] = True n.stores.loc[cyclic_i, "e_cyclic_per_period"] = True
n.stores.loc[cyclic_i, "e_cyclic"] = False n.stores.loc[cyclic_i, "e_cyclic"] = False
# non cyclic store assumptions # non cyclic store assumptions
non_cyclic_store = ["co2", "co2 stored", "solid biomass", "biogas", "Li ion"] non_cyclic_store = ["co2", "co2 stored", "solid biomass", "biogas", "EV battery"]
co2_i = n.stores[n.stores.carrier.isin(non_cyclic_store)].index co2_i = n.stores[n.stores.carrier.isin(non_cyclic_store)].index
n.stores.loc[co2_i, "e_cyclic_per_period"] = False n.stores.loc[co2_i, "e_cyclic_per_period"] = False
n.stores.loc[co2_i, "e_cyclic"] = False n.stores.loc[co2_i, "e_cyclic"] = False

View File

@ -1543,14 +1543,14 @@ def add_EVs(
temperature, temperature,
): ):
n.add("Carrier", "Li ion") n.add("Carrier", "EV battery")
n.madd( n.madd(
"Bus", "Bus",
spatial.nodes, spatial.nodes,
suffix=" EV battery", suffix=" EV battery",
location=spatial.nodes, location=spatial.nodes,
carrier="Li ion", carrier="EV battery",
unit="MWh_el", unit="MWh_el",
) )
@ -1623,9 +1623,9 @@ def add_EVs(
n.madd( n.madd(
"Store", "Store",
spatial.nodes, spatial.nodes,
suffix=" battery storage", suffix=" EV battery",
bus=spatial.nodes + " EV battery", bus=spatial.nodes + " EV battery",
carrier="battery storage", carrier="EV battery",
e_cyclic=True, e_cyclic=True,
e_nom=e_nom, e_nom=e_nom,
e_max_pu=1, e_max_pu=1,