runopp_map#
- andes.interop.pandapower.runopp_map(ssp, link_table, **kwargs)[source]#
Run OPF in pandapower using
pp.runopp()
and map results back to ANDES based on the link table.- Parameters:
- ssppandapower network
The pandapower network
- link_tableDataFrame
The link table of ANDES system
- Returns:
- DataFrame
The DataFrame contains the OPF results with columns
p_mw
,q_mvar
,vm_pu
in p.u., and the correspondingidx
ofStaticGen
,Exciter
,TurbineGov
in ANDES.
Notes
The pandapower net and the ANDES system must have same base MVA.
Multiple
DG
connected to the sameStaticGen
will be converted to one generator. The power is dispatched to eachDG
by the power ratiogammap