-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add operate mode #539
Add operate mode #539
Conversation
The method for loading them in isn't dirty, but aligning YAML definitions with those from file is.
Dummy test model isn't well-formatted to pass the carrier in/out checks. We _do_ check these in the YAML schema so that should be sufficient.
Not failing locally...
Worth noting that in 4991efe I implemented it in the backend, then I switched it to being implemented in |
Options for run modes:
|
model.build() | ||
model.solve() | ||
|
||
# TODO: introduce some of these warnings ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or introduce these operate mode quirks in the docs
Co-authored-by: Stefan Pfenninger <[email protected]>
* Add `data-sources` top-level key to load tabular data into the model from file or pandas.DataFrame. * Remove `file/df=` functionality. * Fix resampler; add parameter dtype casting. * parent -> base_tech. * Add data source schema validation. * Add tutorial to docs. --------- Co-authored-by: Stefan Pfenninger <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #539 +/- ##
=======================================
Coverage 95.65% 95.66%
=======================================
Files 25 24 -1
Lines 3450 3526 +76
Branches 747 700 -47
=======================================
+ Hits 3300 3373 +73
- Misses 85 87 +2
- Partials 65 66 +1
|
Fixes #432
This is mostly to confirm that we're happy with how we approach adding new run modes into the new calliope internals.
I would love to have operate mode work with #127 but suspect it needs more planning.
Summary of changes in this pull request:
Reviewer checklist: