flexmeasures icon indicating copy to clipboard operation
flexmeasures copied to clipboard

[reporting] Add flag to filter the data with a the latest version source

Open victorgarcia98 opened this issue 10 months ago • 0 comments

Description

This PR introduces a new (optional) flag for the input use_latest_version_only = False. This flag controls whether to only use the latest source version among the sources for a given sensor.

For example, if we have a Sensor Profit with data coming from two sources (Profit Reporter v1 and Profit Reporter v2), use_latest_version_only = True will only consider the data with source Profit Reporter v2 for the calculations.


  • [X] I agree to contribute to the project under Apache 2 License.
  • [X] To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

victorgarcia98 avatar Apr 24 '24 22:04 victorgarcia98