New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor scheduler interface - API and inner logic #537
Commits on Nov 23, 2022
-
Add flex_model & flex_context in API endpoint; refactor design for Sc…
…heduler implementations (moving some endpoint logic here); Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Merge branch 'main' into refactor-scheduler-interface
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
include two other flex context params in solver test
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Commits on Dec 10, 2022
-
Merge branch 'main' into refactor-scheduler-interface
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
also support deprecated flex_context parameters, and align spelling o…
…f params with underscore in docstring Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
correctly handle flex-model validation errors when they come up in th…
…e endpoint Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Commits on Dec 12, 2022
-
changelog: add deprecation warnings and mentions this PR
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
move flex-model and flex-context docs to notation module; small fixes…
… in dummy custom scheduler Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Commits on Dec 13, 2022
-
deprecate soc-sensor-id field, store soc states on the asset attribut…
…es in v3.0 as well, using a way that lets all schedulers save (parts of) it if they want. Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
check (and potentially fill in defaults for) soc_min and soc_max befo…
…re we apply the schema (which expects non-nan values here) Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
make add schedule command work with our refactored scheduling code, s…
…mall refactoring to save lines Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
rename the CLI command as it only represents storage right now (and w…
…e might choose that the CLI will be specific to our in-built flex models) Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Commits on Dec 14, 2022
-
More thorough checks for passed soc-values in StorageScheduler, leads…
… to small fix in API endpoint and scheduling tests Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Commits on Dec 16, 2022
-
Change parameter names for flex model and context which come through …
…the API to use hyphens, which is conventionally preferred. Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Make
flexmeasures add schedule
a subgroup (#557)* Make `flexmeasuress add schedule` a subgroup: - invoke a default subcommand - show a deprecation warning Signed-off-by: F.N. Claessen <felix@seita.nl> * adapt CLI command name so it's clearer what is being added Signed-off-by: Nicolas Höning <nicolas@seita.nl> Signed-off-by: F.N. Claessen <felix@seita.nl> Signed-off-by: Nicolas Höning <nicolas@seita.nl> Co-authored-by: Nicolas Höning <nicolas@seita.nl>
-
add one missing documentation improvement from review
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Commits on Dec 21, 2022
-
make sure hyphens are used in flex-model to the outside world (API, CLI)
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
smaller review items, mostly documentation
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Commits on Dec 25, 2022
-
remove soc checks which added interpretation (should be part of anoth…
…er PR, if at all) Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
make sure scheduling tests work on empty queues, with new fixture
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
remove two tests for previously removed util function
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
batch of small review comments
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
make get_data_source_info a class method of Scheduler
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
small simplification of get_data_source_for_job
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Merge branch 'main' into refactor-scheduler-interface
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
specify min/max inclusiveness of roundtrip-efficiency parameter
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Merge branch 'refactor-scheduler-interface' of github.com:FlexMeasure…
…s/flexmeasures into refactor-scheduler-interface
Commits on Dec 27, 2022
-
create_scheduling_jobs accepts both object and ID
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
API changelog & flex config introduction
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
remove line about previously undocumented & now depreacated line
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Deprecation headers for old fields that moved to flex-model and flex-…
…context (#564) * Add deprecation and sunset response headers when deprecated fields are used Signed-off-by: F.N. Claessen <felix@seita.nl> * Refactor: duplicate code becomes util function Signed-off-by: F.N. Claessen <felix@seita.nl> * Correct deprecation and sunset links Signed-off-by: F.N. Claessen <felix@seita.nl> * rename to represent plural-default of param, update link to 3.0.5 API changelog Signed-off-by: Nicolas Höning <nicolas@seita.nl> Signed-off-by: F.N. Claessen <felix@seita.nl> Signed-off-by: Nicolas Höning <nicolas@seita.nl> Co-authored-by: Nicolas Höning <nicolas@seita.nl>
Commits on Dec 28, 2022
-
refactor where the code lives that builds device equality constraints…
… from soc targets Signed-off-by: Nicolas Höning <nicolas@seita.nl>
-
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Commits on Dec 29, 2022
-
Rename inspection to deserialization
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Fix DummyScheduler in documentation
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Simplify imports for plugin developers (also facilitates renaming the…
… planning module without needing plugin developers to upgrade their code) Signed-off-by: F.N. Claessen <felix@seita.nl>