Merge pull request #870 from PyPSA/heating-norway
Bugfix: Correct Norwegian heat demand
This commit is contained in:
commit
b422cf6135
@ -14,6 +14,8 @@ Upcoming Release
|
|||||||
|
|
||||||
* Remove option for wave energy as technology data is not maintained.
|
* Remove option for wave energy as technology data is not maintained.
|
||||||
|
|
||||||
|
* Bugfix: Assure entering of code block which corrects Norwegian heat demand.
|
||||||
|
|
||||||
|
|
||||||
PyPSA-Eur 0.9.0 (5th January 2024)
|
PyPSA-Eur 0.9.0 (5th January 2024)
|
||||||
==================================
|
==================================
|
||||||
|
@ -479,7 +479,7 @@ def build_energy_totals(countries, eurostat, swiss, idees):
|
|||||||
# The main heating source for about 73 per cent of the households is based on electricity
|
# The main heating source for about 73 per cent of the households is based on electricity
|
||||||
# => 26% is non-electric
|
# => 26% is non-electric
|
||||||
|
|
||||||
if "NO" in df:
|
if "NO" in df.index:
|
||||||
elec_fraction = 0.73
|
elec_fraction = 0.73
|
||||||
|
|
||||||
no_norway = df.drop("NO")
|
no_norway = df.drop("NO")
|
||||||
|
Loading…
Reference in New Issue
Block a user