Skip to content

Commit

Permalink
Revert "Refactor component data handling in Topology class"
Browse files Browse the repository at this point in the history
This reverts commit 00b8d42.
  • Loading branch information
joda9 committed Oct 1, 2024
1 parent 00b8d42 commit be272ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edisgo/network/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -2640,7 +2640,7 @@ def handle_voltage_level_7():
if comp_type in ["charging_point", "heat_pump"]:
comp_data["type"] = comp_type
elif comp_type in ["generator", "storage_unit"]:
comp_data["p_nom"] = comp_data.pop("p")
comp_data["p_nom"] = comp_data["p"]

# Handle different voltage levels
if voltage_level == 6:
Expand Down

0 comments on commit be272ca

Please sign in to comment.