rl-institut / oemof-B3

An open-source energy system model for Brandenburg/Berlin.
https://oemof-b3.readthedocs.io/
GNU Affero General Public License v3.0
9 stars 5 forks source link

Aggregate timeseries #222

Closed jnnr closed 2 years ago

jnnr commented 2 years ago

Fixes #221.

henhuy commented 2 years ago

Implemented timeseries aggregation. Aggregation function from aggregate_scalars is reused (and therefore refactored into separate function). Additionally, a sum_series function has been added to allow summing up series. Attention: In order to sum series, series column dtype has been changed to np.ndarray - maybe this affects later functions? PLeas check!

Had to make following fixes in test data file:

Please review, @jnnr !

henhuy commented 2 years ago

Waits for #227