Skip to content
Snippets Groups Projects
Commit 3c07943f authored by Taeyoung Kim's avatar Taeyoung Kim
Browse files

now making pandapower network with multiple slack buses(here, we just used...

now making pandapower network with multiple slack buses(here, we just used ext_grid). PowerFlow runs smoothly to Two slack bus system(islanded)

Signed-off-by: default avatarTaeyoung Kim <taeyoung.kim@eonerc.rwth-aachen.de>
parent 55aa3a6d
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ INFO:cimpy.cimimport:CIM object Line created : 11 times ...@@ -76,7 +76,7 @@ INFO:cimpy.cimimport:CIM object Line created : 11 times
INFO:cimpy.cimimport:CIM object SubGeographicalRegion created : 2 times INFO:cimpy.cimimport:CIM object SubGeographicalRegion created : 2 times
INFO:cimpy.cimimport:CIM object BusbarSection created : 13 times INFO:cimpy.cimimport:CIM object BusbarSection created : 13 times
INFO:cimpy.cimimport:CIM object TopologicalIsland created : 2 times INFO:cimpy.cimimport:CIM object TopologicalIsland created : 2 times
INFO:cimpy.cimimport:Created totally 275 CIM objects in 0.026203155517578125s INFO:cimpy.cimimport:Created totally 275 CIM objects in 0.02796316146850586s
WARNING:pandapower.auxiliary:numba cannot be imported and numba functions are disabled. WARNING:pandapower.auxiliary:numba cannot be imported and numba functions are disabled.
......
...@@ -441,7 +441,7 @@ class PandapowerWork(Exporter): ...@@ -441,7 +441,7 @@ class PandapowerWork(Exporter):
bus_id = pp.create_bus(net, vn_kv=bus['nominalVoltagekV'], name = bus['name']) bus_id = pp.create_bus(net, vn_kv=bus['nominalVoltagekV'], name = bus['name'])
dict_buss[bus["index"]] = bus_id dict_buss[bus["index"]] = bus_id
if bus["type"] == 1 and not ext_grid_added: if bus["type"] == 1:
pp.create_ext_grid(net, bus_id, vm_pu=bus.get("voltageModulePu", 1.0), pp.create_ext_grid(net, bus_id, vm_pu=bus.get("voltageModulePu", 1.0),
name=f"ext_grid_{bus['name']}") name=f"ext_grid_{bus['name']}")
ext_grid_added = True ext_grid_added = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment