Renaming in math syntax
sjpfenninger opened this issue · comments
In general, keep names close to what happens with the xarray objects.
Changes:
- Rename all
imask
towhere
in order to closely match xarray syntax - Remove
equation
in favour of slightly more verboseequations
at all times -
components
->sub_expressions
-
index_slices
->slices
-
expression
top level key ->global_expressions
-
exists
in techs/nodes ->active
(to match math formulation) -
optimisation_config_overrides
/component_config
->custom_math
/math
Additions:
- Add
description
key to all math items
@sjpfenninger is having second thoughts about global_expressions
to define linear math expressions that can be referenced by name in constraints/objectives. Any additional ideas are welcome.
@sjpfenninger is having second thoughts about
global_expressions
to define linear math expressions that can be referenced by name in constraints/objectives. Any additional ideas are welcome.
My second thought was named_expressions
We'll keep global_expressions
(for now), so I'm closing this issue.