FBumann / flixOpt

Vector based Energy Optimization Framework
MIT License
0 stars 0 forks source link

Changed model, variable and equation structure and removed class BeforeValueSet #18

Closed FBumann closed 3 months ago

FBumann commented 3 months ago

In order to have a better structured hierarchy inside of the System, equations and variables are now stored inside of dictionaries. The access to them is through the dictionary, instead of an attribute of the Element model. This prevents multiple references to the same variable and a clearer Structure and Variable access. Work is still to be done in order to get the hierarchy to work perfectly. In the meantime, some exceptions are still made. This will be part of a later update