Skip to content

TransformerMV

Medium-voltage transformer for symmetrical modeling.

Supports balanced three-phase analysis with tap changing, voltage control, and comprehensive electrical modeling for MV distribution transformer applications.

Inherits from: ExtrasNotesMixin, HasPresentationsMixin

Import

python
from pyptp.elements.mv import TransformerMV

Properties

PropertyTypeRequiredDefaultDescription
generalGeneralYes-
presentationslist[BranchPresentation]Yes-
typeTransformerTypeYes-
voltage_controlVoltageControl | NoneNoNone
dynamicsDynamics | NoneNoNone
thermalThermal | NoneNoNone
extraslist[Extra]No[]
noteslist[Note]No[]

Dynamics

Dynamic modeling properties for transient analysis.

PropertyTypeRequiredDefaultDescription
non_linear_modelboolNoFalse
knee_flux_leg1floatNo1.04
knee_flux_leg2floatNo1.04
knee_flux_leg3floatNo1.04
magnetizing_inductance_ratio_leg1floatNo1000.0
magnetizing_inductance_ratio_leg2floatNo1000.0
magnetizing_inductance_ratio_leg3floatNo1000.0
remanent_fluxboolNoFalse
remanent_flux_leg1floatNo0.7
remanent_flux_leg2floatNo0.7
remanent_flux_leg3floatNo0.7

General

Core electrical and operational properties for MV transformers.

PropertyTypeRequiredDefaultDescription
guidGuidNo(auto UUID)
creation_timefloat | intNo0
mutation_dateintNo0
revision_dateintNo0
variantboolNoFalse
node1GuidNoGuid('00000000-0000-0000-00...
node2GuidNoGuid('00000000-0000-0000-00...
namestrNo""
switch_state1boolNoTrue
switch_state2boolNoTrue
field_name1strNo""
field_name2strNo""
subnet_borderboolNoFalse
source1strNo""
source2strNo""
failure_frequencyfloatNo0.0
repair_durationfloatNo0.0
maintenance_frequencyfloatNo0.0
maintenance_durationfloatNo0.0
maintenance_cancel_durationfloatNo0.0
loadrate_maxfloatNo0.0
loadrate_max_winterfloatNo0.0
loadrate_max_emergencyfloatNo0.0
loadrate_max_emergency_winterfloatNo0.0
typestrNo""
snomfloatNo0.0
step_upboolNoFalse
clock_numberintNo0
phase_shiftfloatNo0.0
earthing1intNo0
re1floatNo0.0
xe1floatNo0.0
earthing_node1GuidNoGuid('00000000-0000-0000-00...
earthing2intNo0
re2floatNo0.0
xe2floatNo0.0
earthing_node2GuidNoGuid('00000000-0000-0000-00...
tap_positionfloatNo0.0

LoadDependent

One of four load-dependent voltage control settings sets.

PropertyTypeRequiredDefaultDescription
p_smallerintNo-100
u_smallerfloatNo0
p_smallintNo100
u_smallfloatNo0
p_greatintNo0
u_greatfloatNo0
p_greaterintNo0
u_greaterfloatNo0

Thermal

Thermal settings for tap-changing transformers.

PropertyTypeRequiredDefaultDescription
xfloatNo0.8
yfloatNo1.3
k11floatNo0.5
k21floatNo2.0
k22floatNo2.0
tointNo210
twintNo10
hotspot_factorfloatNo1.3
rated_winding_oil_gradientfloatNo14.5
rated_top_oil_risefloatNo60.0
initial_top_oil_risefloatNo0.0
thermally_upgraded_paperboolNoTrue
paper_conditionInsulationConditionNoAIR_FREE_MOIST_0_5
enclosure_typeEnclosureTypeNoOUTSIDE
temperature_correctionfloat | intNo0.0

TransformerType

Electrical specifications and parameters for transformer modeling.

PropertyTypeRequiredDefaultDescription
short_namestrNo""
snomfloatNo0.0
unom1floatNo0.0
unom2floatNo0.0
ukminfloatNo0.0
ukfloatNo0.0
ukmaxfloatNo0.0
pkminfloatNo0.0
pkfloatNo0.0
pkmaxfloatNo0.0
pofloatNo0.0
iofloatNo0.0
r0floatNo0.0
z0floatNo0.0
side_z0intNo0
ik2sfloatNo0.0
c1floatNo0.0
c2floatNo0.0
c12floatNo0.0
winding_connection1strNo""
winding_connection2strNo""
clock_numberintNo0
tap_sideintNo1
tap_sizefloatNo0.0
tap_minintNo0
tap_nomintNo0
tap_maxintNo0
kifloatNo0.0
taufloatNo0.0

VoltageControl

Automatic voltage control settings for tap-changing transformers.

PropertyTypeRequiredDefaultDescription
presentboolNoFalse
statusVoltageControlStatusNoOFF
measure_sideintNo1
control_nodeGuidNoGuid('00000000-0000-0000-00...
setpointfloatNo0.0
deadbandfloatNo0.0
control_sortVoltageControlSortNoCOMPOUNDING
rcfloatNo0.0
xcfloatNo0.0
compounding_at_generationboolNoTrue
load_dependencieslist[LoadDependent]No(factory)
master_transformerGuidNoGuid('00000000-0000-0000-00...

Referenced Types

LoadDependent

One of four load-dependent voltage control settings sets.

Defined in pyptp.elements.mv.transformer

PropertyTypeRequiredDefaultDescription
p_smallerintNo-100
u_smallerfloatNo0
p_smallintNo100
u_smallfloatNo0
p_greatintNo0
u_greatfloatNo0
p_greaterintNo0
u_greaterfloatNo0