modelPwGeneratorM2S

Synchronous machine model according to Park's classical theory (Full model description). The model corresponds to Eurostag's full model for M2S machine (defined by external parameters). Developed by RTE and adapted by AIA. 2014/03/10

Extends from iPSL.Electrical.Essentials.pfComponent (Partial model containing all the Data for entering Power Flow data).

Information

Development level

4

Reference

None

Last update

2016-03-14

Author

RTE-AIA

Contact

modelica@aia.es

Parameters

TypeNameDefaultDescription
Realinit_lambdaf
Realinit_lambdad
Realinit_lambdaad
Realinit_lambdaaq
Realinit_lambdaq1
Realinit_lambdaq2
Realinit_id
Realinit_iq
Realinit_theta
Realinit_omega
Realinit_cm
Realinit_efd
Realinit_Esqrt(init_lambdaad*init_lambdaad + init_lambdaaq*init_lambdaaq)
Realinit_Mdsif Saturated then Md0/(1 + md/rtfo^snd*init_E^snd) else Md0
Realinit_Mqsif Saturated then Mq0/(1 + mq/rtfo^snq*init_E^snq) else Mq0
Realinit_Miinit_Mds*init_lambdaad*init_lambdaad/(init_E*init_E) + init_Mqs*init_lambdaaq*init_lambdaaq/(init_E*init_E)
Realinit_Mdinit_Mi + Mdif*init_lambdaaq*init_lambdaaq/(init_E*init_E)
Realinit_Mqinit_Mi - Mdif*init_lambdaad*init_lambdaad/(init_E*init_E)
Realinit_LMD1.0/(1.0/init_Md + Sdet)
Realinit_LMQ1.0/(1.0/init_Mq + Slq)
Realomega02*3.14159265*50Nominal network angular frequency
RealSNREFS_bMVA system base
RealSN1150Nominal apparent power (MVA)
RealPN1000Nominal turbine (active) power (MW)
RealPNALT1100
RealDIn0.0mechanical damping coefficient
RealHIn6.3Constant of inertia
RealIENR3number of windings
Realur01Initial real voltage component p.u. in the SNREF base
Realui00Initial imaginary voltage component p.u. in the SNREF base
RealrStatIn0Stator resistance p.u. in the machine SN base
ReallStatIn0Stator leakage p.u. in the machine SN base
RealWLMDVPu0d axis mutual inductance corresponding to magnetic condition taken for setting the voltage regulator
RealXD0Direct reactance
RealXPD0Direct trans. reactance
RealXSD0Direct subtrans. reactance
RealTPD00Direct trans. time const
RealTSD00Direct subtrans. time const
RealTX0Damping time constant
RealXQ0Quadrat reactance
RealXPQ0Quadrat trans. reactance
RealXSQ0Quadrat subtrans. reactance
RealTPQ00Quadrat trans. time const
RealTSQ00Quadrat subtrans. time const
IntegerIWLMDV3
BooleanSaturatedtrue
Realmd0.1Coefficient md of the saturation curve
Realmq0.1Coefficient mq of the saturation curve
Realsnd6Coefficient nd of the saturation curve
Realsnq6Coefficient nq of the saturation curve
RealmCanPuextern.mrcCANAY's inductance p.u. in the machine SN base
RealrDPuextern.rDd axis damper winding resistance p.u. in the machine SN base
ReallDPuextern.lDd axis damper winding leakage p.u. in the machine SN base
RealrRotInextern.rfRotor resistance p.u. in the machine SN base
ReallRotInextern.lfRotor leakage p.u. in the machine SN base
RealmQ0Puextern.mQ0Pu_q axis mutual inductance p.u. in the machine SN base
RealmD0Puextern.mD0Pu_d axis mutual inductance p.u. in the machine SN base
RealrQ1Puextern.rQ1q axis damper 1 winding resistance p.u. in the machine SN base
ReallQ1Puextern.lQ1q axis damper 1 winding leakeage p.u. in the machine SN base
RealrQ2Puextern.rQ2q axis damper 2 winding resistance p.u. in the machine SN base
ReallQ2Puextern.lQ2q axis damper 2 winding leakeage p.u. in the machine SN base
RealU1N24nominal voltage machine side
RealV124base voltage machine side
RealU2N400nominal voltage machine side
RealV2380base voltage machine side
BooleantransformerIncludedfalse
RealRTfoPuif transformerIncluded then 0.000185 else 0Machine transoformer resistance p.u. in the SNTfo base
RealXTfoPuif transformerIncluded then 0.00769 else 0Machine transoformer resistance p.u. in the SNTfo base
Realyscaleif RT > 0.0 or XT > 0.0 then SNREF/SN*rtfo*rtfo else SNREF/SN
RealSNtfo1300Machine transformer rating
RealrrStatIn*yscaleStator Resistance
RealrfrRotIn*yscaleRotor Resistance
ReallldlStatIn*yscaleStator leakage
ReallflRotIn*yscaleRotor leakage
RealmrcmCanPu*yscaleCANAY's inductance
ReallDlDPu*yscaled axis damper winding leakage
RealrDrDPu*yscaled axis damper winding resistance
RealrQ1rQ1Pu*yscaleq axis damper 1 winding resistance
RealrQ2rQ2Pu*yscaleq axis damper 2 winding resistance
ReallQ1lQ1Pu*yscaleq axis damper 1 winding leakeage
ReallQ2lQ2Pu*yscaleq axis damper 2 winding leakeage
RealRTRTfoPu*SNREF/SNtfo*rtfo*rtfoMachine transformer resistance (pu), enter value*SNREF/SNtfo
RealXTXTfoPu*SNREF/SNtfo*rtfo*rtfoMachine transformer reactance (pu), enter value*SNREF/SNtfo
RealMd0mD0Pu*yscaled axis mutual inductance
RealMq0mQ0Pu*yscaleq axis mutual inductance
RealMdvWLMDVPu*yscale
RealDDIn*SN/SNREFMechanical damping coefficient
RealHHIn*SN/SNREFConstant of inertia
Realrtfoif transformerIncluded then (U2N/V2)/(U1N/V1) else 1Transformer ratio
RealDETlf*lD + mrc*lf + mrc*lD
RealMdifMd0 - Mq0
RealSdetlf/DET + lD/DET
RealSlq1.0/lQ1 + 1.0/lQ2
RealLddetlD/DET
RealLfdetlf/DET
RealLq1inv1.0/lQ1
RealLq2inv1.0/lQ2
RealSrr + RT
RealSxlld + XT
RealCoef11rtfo*omega0*rf/Mdv
RealCoef12rf*omega0*(lD + mrc)/DET
RealCoef13rf*omega0*mrc/DET
RealCoef14omega0*rf*lD/DET
RealCoef21omega0*rD*mrc/DET
RealCoef22omega0*rD*(lf + mrc)/DET
RealCoef23omega0*rD*lf/DET
RealCoef31omega0*rQ1/lQ1
RealCoef32omega0*rQ1/lQ1
RealCoef41omega0*rQ2/lQ2
RealCoef42omega0*rQ2/lQ2
RealCoef51PN/(SNREF*2*H)
RealCoef52D/(2*H)
RealCoef531.0/(2*H)
Power flow data
RealV_b (from pfComponent)400Base voltage of the bus (kV)
RealV_0 (from pfComponent)1Voltage magnitude (pu)
Realangle_0 (from pfComponent)0Voltage angle (deg)
RealP_0 (from pfComponent)1Active power (MW)
RealQ_0 (from pfComponent)0Reactive power (MVAr)
RealS_b (from pfComponent)SysData.S_bSystem base power (MVA)
Realfn (from pfComponent)SysData.fnSystem Frequency (Hz)

Connectors

TypeNameDefaultDescription
iPSL.Connectors.PwPinsortie
Modelica.Blocks.Interfaces.RealInputpin_EFD
Modelica.Blocks.Interfaces.RealOutputpin_OMEGA
Modelica.Blocks.Interfaces.RealInputpin_CM
Modelica.Blocks.Interfaces.RealInputomegaRef
Modelica.Blocks.Interfaces.RealOutputpin_TETA
Modelica.Blocks.Interfaces.RealOutputpin_UR
Modelica.Blocks.Interfaces.RealOutputpin_UI
Modelica.Blocks.Interfaces.RealOutputpin_FieldCurrent
Modelica.Blocks.Interfaces.RealOutputpin_TerminalVoltage
Modelica.Blocks.Interfaces.RealOutputpin_ActivePowerPNALT
Modelica.Blocks.Interfaces.RealOutputpin_ActivePowerPN
Modelica.Blocks.Interfaces.RealOutputpin_ActivePowerSNREF
Modelica.Blocks.Interfaces.RealOutputpin_ReactivePowerPNALT
Modelica.Blocks.Interfaces.RealOutputpin_ReactivePowerPN
Modelica.Blocks.Interfaces.RealOutputpin_ReactivePowerSNREF
Modelica.Blocks.Interfaces.RealOutputpin_ActivePowerSN
Modelica.Blocks.Interfaces.RealOutputpin_ReactivePowerSN
Modelica.Blocks.Interfaces.RealOutputpin_Current
Modelica.Blocks.Interfaces.RealOutputpin_FRZPU
Modelica.Blocks.Interfaces.RealOutputpin_FRZHZ
Modelica.Blocks.Interfaces.RealOutputpin_HIn
Modelica.Blocks.Interfaces.RealOutputpin_SN

Components

TypeNameDefaultDescription
SystemBaseSysData (from pfComponent)Must add this line in all models
iPSL.Electrical.Machines.Eurostag.PwExtIntParametersextern
Realcm
Realefd
Realur
Realui
Reallambdaf
Reallambdad
Reallambdaad
Reallambdaaq
Reallambdaq1
Reallambdaq2
Realid
Realiq
Realtheta
Realomega
RealE
RealMds
RealMqs
RealMd
RealMq
RealMi
RealLMD
RealLMQ

Revisions

Copyright 2015-2016 RTE (France), SmarTS Lab (Sweden), AIA (Spain) and DTU (Denmark)

The authors can be contacted by email: info@itesla-ipsl.org

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.

If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0.