openego / eGon-data

GNU Affero General Public License v3.0
10 stars 4 forks source link

Differences in aggregate and individual DSM time series #1120

Open khelfen opened 1 year ago

khelfen commented 1 year ago

Currently, there are differences in the aggregated and individual DSM time series. These are caused by the truncation of the values at zero.

https://github.com/openego/eGon-data/blob/80489d54bfbc667b0ba4b6a3830fb91dd3e99c94/src/egon/data/datasets/DSM_cts_ind.py#L529-L537

The sum of the individual time series is a more accurate value than the aggregated time series used so far and should replace it in the future. Since the deviations are relatively small, a tolerance is currently accepted in the sanity checks.

https://github.com/openego/eGon-data/blob/80489d54bfbc667b0ba4b6a3830fb91dd3e99c94/src/egon/data/datasets/sanity_checks.py#L1493