modelPwExtIntParameters

Transformation of external parameters to internal parameters for M2S synchronous machine. 2014/03/10

Information

Development level

4

Reference

Eurostag/Model Editor User's Manual

Last update

Author

RTE-AIA

Contact

modelica@aia.es

Parameters

TypeNameDefaultDescription
Realomega0_2*3.14159265*50
Realepsilon0.0000000001
RealrStatIn_
ReallStatIn_stator leakage (READST)
RealxDPu_direct reactance (FXD)
RealxpDPu_direct transient reactance (FXPD)
RealxppDPu_direct subtransient reactance (FXSD)
RealtpDO_
RealtppDO_
RealxQPu_quadrature reactance
RealxpQPu_transient reactance quadrature
RealxppQPu_subtransient reactance quadrature
RealtpQO_
RealtppQO_
RealtX_
RealIENR
RealtpdxpDPu_*tpDO_/xDPu_
RealtppdxppDPu_*tppDO_/xpDPu_
RealB1d(tpDO_ + tppDO_)*omega0_
RealB2d(tpd + tppd)*omega0_
RealC1dtpDO_*tppDO_*omega0_*omega0_
RealC2dtpd*tppd*omega0_*omega0_
RealmD0Pu_xDPu_ - lStatIn_
Realwtxomega0_*tX_
RealAd(xDPu_*B2d - lStatIn_*B1d)/mD0Pu_
RealBdif tX_ > 0 then (xDPu_*C2d - lStatIn_*C1d)/mD0Pu_ else C2d - C1d*lStatIn_/xDPu_
RealCdxDPu_*(B1d - B2d)/mD0Pu_*mD0Pu_
RealDd(C1d - C2d)/(B1d - B2d)
Realdenom1(Dd*Ad - Dd*Dd - Bd)*Cd
Realdenom2Dd*Cd*Ed
RealxdmD0Pu_*lStatIn_/xDPu_
RealPdB1d/mD0Pu_ - B2d/xd
RealQd1/xd - 1/mD0Pu_
Realdeterm1 - 4*Bd*lStatIn_*Qd*Qd/(xd*Pd*Pd)
Realradsqrt(determ)
RealV1d-0.5*Pd*(1 + rad)/Qd
RealV2d-0.5*Pd*(1 - rad)/Qd
Realdenom3xd*V1d
RealU1dBd*lStatIn_/denom3
Realdenom4xd*V2d
RealU2dBd*lStatIn_/denom4
RealZ1dBd*lStatIn_ + mD0Pu_*(B2d + Pd/Qd)*V1d
RealZ2dBd*lStatIn_ + mD0Pu_*(B2d + Pd/Qd)*V2d
Realdenom5(U1d - V1d)*mD0Pu_
RealE1d(C1d - Z1d/xd)/denom5
Realdenom6(U2d - V2d)*mD0Pu_
RealE2d(C1d - Z2d/xd)/denom6
Realrf1d1/E1d
Realrf2d1/E2d
Realalf(tpd*mD0Pu_ - tpDO_*xd)/(tpDO_ - tpd)
Realarf(mD0Pu_ + alf)/(tpDO_*omega0_)
Realerr1dabs(arf - rf1d)
Realerr2dabs(arf - rf2d)
RealVdif err1d < err2d then V1d else V2d
RealUdif err1d < err2d then U1d else U2d
Realtmp1if err1d < err2d then E1d else E2d
RealEdif tX_ > 0 then Cd*rf - 1 else tmp1
Realrfif tX_ > 0 then (Ad*Dd + wtx*wtx - 2*wtx*Dd - Bd)/denom1 elseif err1d < err2d then rf1d else rf2d
RealFd(B2d + Pd/Qd)/xd - Ed
RealrDif tX_ > 0 then rf/Ed else 1/Fd
ReallDif tX_ > 0 then wtx*rD else Ud*rD
Reallfif tX_ > 0 then rf*(Dd*Cd*rf - wtx)/Ed else Vd*rf
Realmrcif tX_ > 0 then (Bd*Ed - wtx*Dd*Cd*rf + wtx*wtx)/denom2 else 0
RealtpqxpQPu_*tpQO_/xQPu_
Realtppqif IENR == 4 then xppQPu_*tppQO_/xpQPu_ else xppQPu_*tppQO_/xQPu_
RealB1q(tpQO_ + tppQO_)*omega0_
RealB2q(tpq + tppq)*omega0_
RealC1qtpQO_*tppQO_*omega0_*omega0_
RealC2qtpq*tppq*omega0_*omega0_
RealmQ0Pu_xQPu_ - lStatIn_
RealxqmQ0Pu_*lStatIn_/xQPu_
RealPqB1q/mQ0Pu_ - B2q/xq
RealQq1/xq - 1/mQ0Pu_
RealBqC2q - C1q*lStatIn_/xQPu_
Realdeterm21 - 4*Bq*lStatIn_*Qq*Qq/(xq*Pq*Pq)
Realrad2sqrt(determ2)
RealV1q-0.5*Pq*(1 + rad2)/Qq
RealV2q-0.5*Pq*(1 - rad2)/Qq
Realdenom7if IENR == 4 then xq*V1q else 1
RealU1qBq*lStatIn_/denom7
Realdenom8if IENR == 4 then xq*V2q else 1
RealU2qBq*lStatIn_/denom8
RealZ1qBq*lStatIn_ + mQ0Pu_*(B2q + Pq/Qq)*V1q
RealZ2qBq*lStatIn_ + mQ0Pu_*(B2q + Pq/Qq)*V2q
Realdenom9if IENR == 4 then (U1q - V1q)*mQ0Pu_ else 1
RealE1q(C1q - Z1q/xq)/denom9
Realdenom10if IENR == 4 then (U2q - V2q)*mQ0Pu_ else 1
RealE2qif IENR == 4 then (C1q - Z2q/xq)/denom10 else 1
Realrf1q1/E1q
Realrf2q1/E2q
Realalfqif IENR == 4 then (tpq*mQ0Pu_ - tpQO_*xq)/(tpQO_ - tpq) else 0
Realarfqif IENR == 4 then (mQ0Pu_ + alfq)/(tpQO_*omega0_) else 0
Realerr1qabs(arfq - rf1q)
Realerr2qabs(arfq - rf2q)
RealVqif err1q < err2q then V1q else V2q
RealUqif err1q < err2q then U1q else U2q
RealEqif err1q < err2q then E1q else E2q
RealrQ1Fourif err1q < err2q then rf1q else rf2q
ReallQ1FourVq*rQ1Four
ReallQ1Other(tppq*mQ0Pu_ - tppQO_*Y)/(tppQO_ - tppq)
RealrQ1Other(mQ0Pu_ + lQ1Other)/(omega0_*tppQO_)
RealrQ1if IENR == 4 then rQ1Four else rQ1Other
RealFq(B2q + Pq/Qq)/xq - Eq
RealrQ2if IENR == 4 then 1/Fq else 0
ReallQ2if IENR == 4 then Uq*rQ2 else 100000000
ReallQ1if IENR == 4 then lQ1Four else lQ1Other
ReallqlStatIn_
RealYmQ0Pu_*lq/xQPu_

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.