pwrs.mp_opt_model.opf_model#

class pwrs.mp_opt_model.opf_model.OPFModel(mpc=None)[source]#

Bases: OptModel

OPF-specific optimization model object.

Extends OptModel with MATPOWER case storage and legacy cost support used by the OPF formulation.

Parameters:

mpc (dict or OPFModel, optional) – MATPOWER case dict or existing OPF model used to initialize the object.