flexmeasures.data.models.reporting.aggregator
Classes
- class flexmeasures.data.models.reporting.aggregator.AggregatorReporter(config: dict | None = None, save_config=True, save_parameters=False, **kwargs)
This reporter applies an aggregation function to multiple sensors
- _compute_report(start: datetime, end: datetime, input: list[dict[str, Any]], output: list[dict[str, Any]], resolution: timedelta | None = None, belief_time: datetime | None = None) list[dict[str, Any]]
This method merges all the BeliefDataFrames into a single one, dropping all indexes but event_start, and applies an aggregation function over the columns.