diff --git a/src/egon/data/datasets/loadarea/loadareas_add_demand_hh.sql b/src/egon/data/datasets/loadarea/loadareas_add_demand_hh.sql index 32dab8ae8..828c31d86 100644 --- a/src/egon/data/datasets/loadarea/loadareas_add_demand_hh.sql +++ b/src/egon/data/datasets/loadarea/loadareas_add_demand_hh.sql @@ -160,7 +160,7 @@ UPDATE demand.egon_loadarea AS t1 ( SELECT nuts3, - sueGon2021m(demand) as demand + sum(demand) as demand FROM demand.egon_demandregio_hh WHERE scenario = 'eGon2035'