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_puin p.u., and the correspondingidxofStaticGen,Exciter,TurbineGovin ANDES.
Notes
The pandapower net and the ANDES system must have same base MVA.
Multiple
DGconnected to the sameStaticGenwill be converted to one generator. The power is dispatched to eachDGby the power ratiogammap