to_pandapower#
- andes.interop.pandapower.to_pandapower(ssa, ctrl=[], verify=True, tol=1e-06)[source]#
Convert an ADNES system to a pandapower network for power flow studies.
- Parameters
- ssaandes.system.System
The ADNES system to be converted
- ctrllist
The controlability of generators. The length should be the same with the number of
StaticGen
. If not given, controllability of generators will be assigned by default. Example input: [1, 0, 1, ...];PV
first, thenSlack
.
- Returns
- pandapower.auxiliary.pandapowerNet
A pandapower net with the same bus, branch, gen, and load data as the ANDES system
Notes
Handling of the following parameters:
Line limts are set as 100.0 in the output network.
Generator cost is not included in the conversion. Use
add_gencost()
to add cost data.By default,
SynGen
equipped withTurbineGov
in the ANDES System is converted to generators withcontrollable=True
in pp's networkBy default,
SynGen
that has noTurbineGov
andDG
in the ANDES System is converted to generators withcontrollable=False
in pp's networkThe online status of generators are determined by the online status of
StaticGen
that connected to theSynGen
orDG
Multiple
DG
connected to the sameStaticGen
will be converted to one generator. The power is dispatched to eachDG
by the power ratio inrunopp_map