Skip to content

Commit

Permalink
small fixes for vsc bugs related to runpp_3ph.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rbolgaryn committed Oct 27, 2023
1 parent 26d657e commit fa4c950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pandapower/pd2ppc.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def _pd2ppc(net, sequence=None):
else:
# Calculates ppc1/ppc2 branch impedances from branch elements
_build_branch_ppc(net, ppc)
_build_branch_dc_ppc(net, ppc)
_build_branch_dc_ppc(net, ppc)

_build_tcsc_ppc(net, ppc, mode)
_build_svc_ppc(net, ppc, mode)
Expand Down
1 change: 1 addition & 0 deletions pandapower/pf/runpp_3ph.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ def runpp_3ph(net, calculate_voltage_angles=True, init="auto",
svc = ppci0["svc"] # placeholder
tcsc = ppci0["tcsc"] # placeholder
ssc = ppci0["ssc"] # placeholder
vsc = ppci0["vsc"] # placeholder
bus0, gen0, branch0 = pfsoln(base_mva, bus0, gen0, branch0, svc, tcsc, ssc, vsc, y_0_pu, y_0_f, y_0_t,
v_012_it[0, :].flatten(), sl_bus, ref_gens)
bus1, gen1, branch1 = pfsoln(base_mva, bus1, gen1, branch1, svc, tcsc, ssc, vsc, y_1_pu, y_1_f, y_1_t,
Expand Down

0 comments on commit fa4c950

Please sign in to comment.