rl-institut / multi-vector-simulator

Multi-vector Simulation Tool assessing and optimizing Local Energy Systems (LES) for the E-LAND project
GNU General Public License v2.0
21 stars 10 forks source link

Double structure to determine the dispatch of assets #868

Open smartie2076 opened 3 years ago

smartie2076 commented 3 years ago

There is a double structure to determine the dispatch of assets - via E1.get_timeseries_per_bus and with E1.get_flow() assertions, and thus E1.cut_below_micro is applied twice for each flow. This duplication should be avoided. It could not be done in PR #859 as it should be done safely, and I believe that testing should also be implemented. This is more of an enhancement, not a bug.

Originally posted by @smartie2076 in https://github.com/rl-institut/multi-vector-simulator/issues/859#issuecomment-824928476