Open Aliadavid opened 1 year ago
Hi @Aliadavid, When using OPF in timeseries, you can use the output writer during run_timeseries to track the res_cost. Here are relevant tutorials that might help: https://github.com/e2nIEE/pandapower/blob/develop/tutorials/opf_basic.ipynb https://github.com/e2nIEE/pandapower/blob/develop/tutorials/timeseries_opf.ipynb
@Aliadavid I have the same question. @pawellytaev those tutorials do not show logging the cost at each indepent timestep. If I have 24 time steps, I want 24 cost data points.
@PB-vines I am not sure, but this should be in the internal data structure of the output writer which you can also access afterwards. Quick hack would be to just run a for-loop.
Feature Checklist
[X] Searched the issues page for similar reports
[X] Read the relevant sections of the documentation
[X] Browse the tutorials and tests for usefull code snippets and examples of use
Issue
Is it possible to store the Dispatch Cost for each time step using the output_writer?
Label