fix logging
This commit is contained in:
parent
c0adb51454
commit
a60f180f61
@ -1694,12 +1694,10 @@ def create_nodes_for_heat_sector():
|
|||||||
diff = (urban_fraction * central_fraction) - dist_fraction_node
|
diff = (urban_fraction * central_fraction) - dist_fraction_node
|
||||||
progress = get(options["district_heating"]["potential"], investment_year)
|
progress = get(options["district_heating"]["potential"], investment_year)
|
||||||
dist_fraction_node += diff * progress
|
dist_fraction_node += diff * progress
|
||||||
logger.info(
|
print(
|
||||||
"The current district heating share compared to the maximum",
|
"The current district heating share compared to the maximum",
|
||||||
"possible is increased by a progress factor of ",
|
f"possible is increased by a progress factor of\n{progress}",
|
||||||
progress,
|
f"resulting in a district heating share of\n{dist_fraction_node}"
|
||||||
"resulting in a district heating share of ",
|
|
||||||
dist_fraction_node
|
|
||||||
)
|
)
|
||||||
|
|
||||||
return nodes, dist_fraction_node, urban_fraction
|
return nodes, dist_fraction_node, urban_fraction
|
||||||
|
Loading…
Reference in New Issue
Block a user