This PR fixes two small bugs. One bug in the optimisation in case no load timeseries were previously set for loads that are flexible. The other, when the default value for timesteps_pfa should be used in catch_convergence_reinforce_grid, in which case timesteps_pfa is not included in the kwargs.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Checklist:
[x] New and adjusted code is formatted using the pre-commit hooks
~New and adjusted code includes type hinting now~
[x] I have commented my code, particularly in hard-to-understand areas
~I have made corresponding changes to the documentation~
~I have added tests that prove my fix is effective or that my feature works~
[x] New and existing unit tests pass locally with my changes
[x] The Read the Docs documentation is compiling correctly
Description
This PR fixes two small bugs. One bug in the optimisation in case no load timeseries were previously set for loads that are flexible. The other, when the default value for timesteps_pfa should be used in catch_convergence_reinforce_grid, in which case timesteps_pfa is not included in the kwargs.
Type of change
Checklist:
pre-commit
hooks