Replies: 2 comments
-
Hey @tnlrgn2 thanks for your question. Using a ProfitLossReporter for a battery is of course very useful and we also do this in practice. To follow your example and see why it is not working we need the complete information, however. For instance, here we don't see what beliefs and what schedule were present. Maybe you can give us a complete A-Z list of steps you took (I'm guessing some tutorial steps, but also some tinkering?) and then we could see what the issue might be. |
Beta Was this translation helpful? Give feedback.
-
Also, what is the content of breakable-parameters.json? But in the end, a complete list of step would be the best way for us to follow along. |
Beta Was this translation helpful? Give feedback.
-
Hi;
Reporting has nice tutorials which adds a process and creates different costs and reports ProfitOrLoss.
I wonder if reporter can also create a report for profit or loss for a battery (which can charge and discharge).
I have tried to create a report for the battery I created with Tutorial I but always got 0 euros at Breakable report even thought system says:
flexmeasures add report --source 4 --parameters breakable-parameters.json --start-offset DB,-1D --end-offset DB,2D
Report scope:
start: 2024-06-09 00:00:00+02:00
end: 2024-06-12 00:00:00+02:00
Reporter ProfitOrLossReporter fetched successfully from the database.
Report computation is running...
Report computation done for sensor costs (Breakable).
Saving report for sensor costs (Breakable) to the database...
Success. The report for sensor costs (Breakable) has been saved to the database.
Success.
where reporter is:
type: reporter
ID Name User ID Model Version Attributes
4 FlexMeasures ProfitOrLossReporter {
"data_generator": {
"config": {
"consumption_price_sensor": 1,
"loss_is_positive": true
and
flexmeasures add toy-account --kind reporter
The sensor recording day-ahead prices is day-ahead prices (ID: 1).
Created grid connection capacity
The sensor storing the grid connection capacity of the building is grid connection capacity (ID: 9).
Created headroom
The sensor storing the headroom is headroom (ID: 10).
Created <GenericAsset None: 'toy-process' (process)>
Created costs (Inflexible)
The sensor storing the loss is costs (Inflexible) (ID: 11).
Created costs (Breakable)
The sensor storing the loss is costs (Breakable) (ID: 12).
Created costs (Shiftable)
The sensor storing the loss is costs (Shiftable) (ID: 13).
[FLEXMEASURES][2024-06-10 20:04:54,930] INFO: Setting up FlexMeasures's ProfitOrLossReporter model as new data source...
Reporter ProfitOrLossReporter saved with the day ahead price sensor in the DataSource (id=4)
Beta Was this translation helpful? Give feedback.
All reactions