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

[Bug] Multiple energy providers with the same energy carrier are not evaluated correclty #931

Closed smartie2076 closed 2 years ago

smartie2076 commented 2 years ago

To represent multiple feedin tariffs for different technologies, we used multiple energy providers (with very high energy_price). We noticed that the degree of autonomy was 100%, eventhough we have substantial consumption from the grid in one of our pilot sites. We also noticed that the export only included the export of the wind, not the export of PV. Incorrectly calculated: total_feedin, total_consumption_from_providers, Affected KPI: onsite_energy_fraction, onsite_energy_matching, degree_of_autonomy, degree_of_net_zero_energy Functions to be changed: E3.add_total_consumption_from_provider_electricity_equivalent and E3.add_total_feedin_electricity_equivalent, it needs to add up the flows of energy providers with one energy carrier.

Checklist to make sure that the bug report ist complete: