Skip to content

Commit

Permalink
Specify v_nom for buses explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
ekatef committed Jul 28, 2024
1 parent 8f4f7ea commit 20192e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/simplify_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def simplify_network_to_base_voltage(n, linetype, base_voltage):
"""
logger.info(f"Mapping all network lines onto a single {int(base_voltage)}kV layer")

n.buses["v_nom"] = base_voltage

n.lines["type"] = linetype
n.lines["v_nom"] = base_voltage
n.lines["i_nom"] = n.line_types.i_nom[linetype]
Expand Down

0 comments on commit 20192e6

Please sign in to comment.