make_GSF#

andes.interop.pandapower.make_GSF(ppn, verify=True, using_sparse_solver=False)[source]#

Build the Generation Shift Factor matrix of a pandapower net.

Parameters:
ppnpandapower.network.Network

Pandapower network

verifybool

True to verify the GSF with that from DC power flow

using_sparse_solverbool

True to use a sparse solver for pandapower maktPTDF

Returns:
np.ndarray

The GSF array