Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: add command
flexmeasures add schedule for-process
(#768)
* test: add shiftable_load fixture Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * test: move fixture setup_dummy_sensors from test_reporting.py to conftest.py Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * feat: add ShiftableLoadFlexModelSchema Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * test: add ShiftableLoadFlexModelSchema tests Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * feat: add ShiftableLoadScheduler Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * tests: add ShiftableLoadScheduler tests Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * test: add required parameter Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * docs: improve docstrings Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix: pandas 2.0 deprecated argument Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix: pandas 2.0 deprecated argument Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * feat: add minimum valuable version of the command flexmeasures add report shiftable. Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * docs: add changelog Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * refactor: move TimeIntervalSchema to data.schemas.time Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * refactor: rename cost_sensor to consumption_price_sensor Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * feat: add forbid option Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * docs: add attribute description Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * address change requests Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * use consumption_price_sensor from flex_context Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * communicate consumption_price_sensor through the flex_context Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * add clarifying comments Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * making block_invalid_starting_times_for_whole_process_scheduling work only when optimizing a INFLEXIBLE or SHIFTABLE load type. Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * remove consumption_price_sensor from flex_model Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * add changelog entry Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * CLI changelog entry Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * add flexmeasures add schedule for-shiftable-load to commands list Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * add docstring for fixture shiftable_load_power_sensor Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * simplify schedule sensor attributes Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix flexmeasures add schedule for-shiftable command name Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix: wrong resolution Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * refactor: rename shiftable_load to process Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * rename shiftable_load to process Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * rename optimization_sense to optimization_direction Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * consistent capitalization of INFLEXIBLE, SHIFTABLE AND BREAKABLE Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix typo Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * harmonize capitalization Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix capitalizationof `inflexible-device-sensors` Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * update changelog Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix potental bug Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * add underscores Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix test Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * rename OptimizationSense to OptimizationDirection Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix missing optimization direction renaming Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * simplify test Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * test run pytest ci Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * add skip Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * fix fixture Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * add process fixture back Signed-off-by: Victor Garcia Reolid <victor@seita.nl> * add skip Signed-off-by: Victor Garcia Reolid <victor@seita.nl> --------- Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
- Loading branch information
1 parent
700b935
commit e8eb247
Showing
13 changed files
with
256 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.