mp.xt_3p
- class mp.xt_3p
Bases:
mp.extension
mp.xt_3p
- MATPOWER extension to add unbalanced three-phase elements.For AC power flow, continuation power flow, and optimial power flow problems, adds six new element types:
'bus3p'
- 3-phase bus'gen3p'
- 3-phase generator'load3p'
- 3-phase load'line3p'
- 3-phase distribution line'xfmr3p'
- 3-phase transformer'buslink'
- 3-phase to single phase linking element
No changes are required for the task or container classes, so only the
..._element_classes
methods are overridden.The set of data model element classes depends on the task, with each OPF class inheriting from the corresponding class used for PF and CPF.
The set of network model element classes depends on the formulation, specifically whether cartesian or polar representations are used for voltages.
And the set of mathematical model element classes depends on both the task and the formulation.
- mp.xt_3p Methods:
dmc_element_classes()
- add six classes to data model converter elementsdm_element_classes()
- add six classes to data model elementsnm_element_classes()
- add six classes to network model elementsmm_element_classes()
- add six classes to mathematical model elements
See the Customizing and Extensions sections in the MATPOWER Developer’s Manual for more information, and specifically the Element Classes section and the Element Class Modifiers table for details on element class modifiers.
See also
mp.extension
.- Method Summary
- dmc_element_classes(dmc_class, fmt, mpopt)
Add six classes to data model converter elements.
For
'mpc2
data formats, adds the classes:
- dm_element_classes(dm_class, task_tag, mpopt)
Add six classes to data model elements.
For
'PF'
and'CPF'
tasks, adds the classes:For
'OPF'
tasks, adds the classes:
- nm_element_classes(nm_class, task_tag, mpopt)
Add six classes to network model elements.
For cartesian voltage formulations, adds the classes:
For polar voltage formulations, adds the classes:
- mm_element_classes(mm_class, task_tag, mpopt)
Add five classes to mathematical model elements.
For
'PF'
and'CPF'
tasks, adds the classes:mp.mme_buslink_pf_acc
(cartesian) ormp.mme_buslink_pf_acp
(polar)
For
'OPF'
tasks, adds the classes:mp.mme_bus3p_opf_acc
(cartesian) ormp.mme_bus3p_opf_acp
(polar)mp.mme_buslink_opf_acc
(cartesian) ormp.mme_buslink_opf_acp
(polar)