Project-OMOTES / rtc-tools-heat-network

GNU Lesser General Public License v3.0
2 stars 2 forks source link

Clean up Grow_workflow to generalise classes #115

Closed FJanssen-TNO closed 6 months ago

FJanssen-TNO commented 7 months ago

EndScenarioSizingDiscounted and EndScenarioSizing have the same setup, only the goals and maybe other small parts are different, thus I believe EndScenarioSizingDiscounted should inherit from EndScenarioSizing and only change goals. Or separate class where all the settings/options/constraints that are the same in both, which is then inherited by both classes. Prevents errors when only changing in one of the classes for instance the cyclic constraints or so.