sjpfenninger / modelling-energy-systems

Modelling energy systems
https://www.modelling-energy-systems.org
Creative Commons Attribution 4.0 International
1 stars 3 forks source link

Letters instead of numbers for optimisation problem components #7

Open brynpickering opened 1 month ago

brynpickering commented 1 month ago

I'm not sure that numbering the optimisation problem components helps in understanding the formulation process (i.e., the define an order in the general formulation), especially when they then appear out of order in e.g. defining eqs. 5.9 and 5.10. It also doesn't help that you have (0) parameters and then (2) objectives - somehow I keep thinking objectives when I see (0)!

Signposting them with colours and a symbol is quite nice though - breaks up the monotony a little - but letters could be easier to track? I.e. (P) parameters, (O) objectives, (V) variables, and (C) constraints.

sjpfenninger commented 1 month ago

This is a good idea!