add_gencost#

andes.interop.pandapower.add_gencost(ssp, gen_cost)[source]#

Add cost function to converted pandapower net ssp.

The cost data follows the same format of pypower and matpower.

Now only poly_cost is supported.

Parameters:
ssp

The pandapower net

gen_costarray

generator cost data