-
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
Feature: allow for complete math overrides #606
Comments
To do so, here are the steps I've identified:
The general idea is to let users remove the base math and specify everything on their own, if they choose to do so. |
This issue is related to two different things: base math overriding and easier access to the model definition schema. The model definition schema only controls the definition of parameters, it has no bearing on the math or the config (they are both different schema files). Hence why it isn't really linked to overriding the base math. |
The math and config schema should not be user-configurable in any way. Changes to those will likely cause things to break elsewhere. |
@brynpickering I agree that the This PR is only about It does not make sense to allow removing the math formulation constraints and still have presets on the parameter side. In reality, users going this way are likely to re-use a lot of it, but it still should be a separate file. |
I've introduced #609, which only targets skipping base math. |
This was introduce in #639 with the |
What can be improved?
As of now, builds custom math "on top" of the pre-defined math.
While this is good to simplify the way users interact with Calliope, it introduces problems in cases were the math needs to be heavily modified since users have to essentially look in two different places and are limited by what we put in the base math.
I'd like to propose a simple override were users introduce the "base" math file themselves (with no guarantees from our side).
This would make the library much more flexible, and may even allow others to discover improvements to our base math.
Version
v0.7
The text was updated successfully, but these errors were encountered: