calliope-project / calliope

A multi-scale energy systems modelling framework

Home Page:https://www.callio.pe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 to where in order to closely match xarray syntax
  • Remove equation in favour of slightly more verbose equations 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.