Closed nesnoj closed 2 years ago
Sorry, the right table for the amenities is not openstreetmap.osm_amenities_shops_filtered
but openstreetmap.osm_amenities_not_in_buildings
, I adjusted my post above.
Unfortunately, the preprocessing does not come to an end in reasonable time, I will restructure this part and restart the DAG in eGon-data2..
Disagregate cts:
1 -> 2:
2 -> 3:
cells with amenities
cells without amenites
preliminary diagramm only! for final methodolgy look at the bottom
First implementation is running in SH. Current issues are:
This figure shows an example of the bug. The blue framed cells are duplicated. They are selected for
df_buildings_with_amenities
as well asdf_buildings_without_amenities
Solved by new openstreetmap SQL scripts
For SH | cells | buildings | amenities | |
---|---|---|---|---|
df_buildings_with_amenities | 2716 | 6510 | 9826 | |
df_buildings_without_amenities | 8370 | 8370 | 8370 | |
df_synthetic_buildings_with_amenities | 517 | 654 | 654 | |
df_synthetic_buildings_without_amenities | 1045 | 1045 | 1045 | |
total | 12648 | 16579 | 19895 |
This is the final implementation for heat and electricity. Depending on the sector different source for the annual demand are used and the correspondent profiles at MV-HV substation.
If no information is available the median number (2) of amenities per cell is used to generate synthetic amenities. Each amenity gets one building assigned or generated if no is available
For SH cells buildings amenities df_buildings_with_amenities 2716 6510 9826 df_buildings_without_amenities 8370 8370 8370 df_synthetic_buildings_with_amenities 517 654 654 df_synthetic_buildings_without_amenities 1045 1045 1045 total 12648 16579 19895
For DE: | cells | buildings | amenities | |
---|---|---|---|---|
df_buildings_with_amenities | 97,752 | 219,463 | 309,279 | |
df_buildings_without_amenities | 353,059 | 657,482 | 657,482 | |
df_synthetic_buildings_with_amenities | 18,079 | 22,472 | 22,472 | |
df_synthetic_buildings_without_amenities | 40,856 | 81,712 | 81,712 | |
total | 509,746 | 981,129 | 1,070,945 |
Resulting Peak load compared to residential ones
count | mean | std | min | 25% | 50% | 75% | max | ||
---|---|---|---|---|---|---|---|---|---|
cts | eGon100RE | 981,136 | 33,254.7 | 40,134.6 | 9.8 | 11,085.1 | 21,279.7 | 4,0392.2 | 2,842,573.8 |
eGon2035 | 981,136 | 45,371.3 | 58,926.0 | 11.5 | 14,549.0 | 28,211.3 | 5,4108.9 | 6,785,765.0 | |
residential | eGon100RE | 21,360,296 | 3,173.4 | 3,378.0 | 759.0 | 2,135.2 | 2,475.5 | 3,029.6 | 627,676.6 |
eGon2035 | 21,360,296 | 3,526.6 | 3,740.8 | 907.7 | 2,388.7 | 2,735.9 | 3,335.7 | 678,399.6 |
Distribution of peak loads for scenario 2035.
Whole range min/max
Selected range min/ 200 kWh
Selected range min/ 100 kWh
@birgits
Similar to #435 for households, CTS demands need to be allocated to buildings.
Idea
demand.egon_etrago_electricity_cts
, but it's probably better to use this function to obtain the timeseries.demand.egon_demandregio_zensus_electricity
(sector="service").openstreetmap.osm_buildings_with_amenities
) andopenstreetmap.osm_amenities_not_in_buildings
) which have no building assigned. Create synthetic building for each amenity (maybe 5x5m as in HH)n_amenities_inside
) in a building for weighting the building's demand, if I remember correctly @piaulous' analyses have shown that a linear weighting may overestimate the peak load (and therefore the demand) TODO.