Ab sofort ist der Login auf der Weboberfläche von git.fh-muenster.de bevorzugt über FH Muenster SSO möglich.

Commit 8c43ee87 authored by Christian Klemm's avatar Christian Klemm

"total energy usage" bug fix - excess-flows were removed from the summation,...

"total energy usage" bug fix - excess-flows were removed from the summation, because this caused a double consideration (source + excess)
parent 9f136134
......@@ -225,7 +225,7 @@ def statistics(nodes_data, optimization_model, energy_system):
logging.info(' '+'Total Energy Input: '
+ str(round(flowsum[[0][0]], 2)) + ' kWh')
# adds the sinks energy demand to the total_usage variable
total_usage = total_usage + flowsum[[0][0]]
# total_usage = total_usage + flowsum[[0][0]]
# calculates the maximum capacity of the excess sink
flowmax = excess['sequences'].max()
# returns logging info
......@@ -849,7 +849,7 @@ def prepare_plotly_results(nodes_data,
# Flows
flowsum = excess['sequences'].sum()
total_usage = total_usage + flowsum[[0][0]]
#total_usage = total_usage + flowsum[[0][0]]
# Capacity
# Variable Costs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment