Method and device for improving efficiency of electromagnetic transients program phase domain synchronous machine model

Information

  • Patent Grant
  • 11258314
  • Patent Number
    11,258,314
  • Date Filed
    Monday, September 9, 2019
    4 years ago
  • Date Issued
    Tuesday, February 22, 2022
    2 years ago
Abstract
The present disclosure provides a method for improving the computational efficiency of an electromagnetic transients program (EMTP-type) phase domain synchronous machine model. The method comprises: acquiring a traditional phase domain synchronous machine model; acquiring matrix relations between mutual inductance matrices of stator windings and rotor windings according to a trigonometric transformation equation; substituting the matrix relations into the original expression of Req and the original formulation of eh(t), respectively, and deriving to obtain a simplified formulation of the equivalent resistance matrix Req and a simplified formulation of the total history term eh(t); and acquiring an efficient phase domain synchronous machine model. According to the embodiment of the disclosure, in the provided model, the equivalent resistance matrix of the phase domain synchronous machine model and the matrix used in the calculation of the history term are converted into constant sparse matrices, thereby improving the calculation efficiency of the model.
Description

The present application claims priority of Chinese Patent Application No. 2018114967403 filed on Dec. 7, 2018, which is incorporated herein by reference in its entirety.


FIELD OF TECHNOLOGY

The present disclosure relates to the field of electromagnetic transient simulation of a power system, and in particular, to a method and device for improving the computational efficiency of an electromagnetic transients program (EMTP-type) phase domain synchronous machine model.


BACKGROUND

Synchronous generators form the principal source of electric energy in power systems. Many large loads are driven by synchronous motors. Synchronous generators and synchronous motors operate on the same principle and are collectively referred to as synchronous machines. The accurate modeling of their dynamic performance is of fundamental importance to the transient analysis. The modeling of synchronous machines has been an active topic of research for many years. A number of machine models have been developed and implemented in various electromagnetic transients programs (EMTP) including PSCAD, Micro Tran, ATP and EMTP-RV, where dq0 machine models are typically used. However, when to be connected to network models represented in the abc phase domain, the dq0 models do have indirect interfaces, which cause additional interface error and affect the accuracy of the simulation.


To provide a direct machine-network interface, a phase domain synchronous machine model has been proposed in references. The numerical stability and accuracy of the machine model is improved due to the direct machine-network interface. However, the formulation of the phase domain synchronous machine model is complicated, resulting in an increase in computational costs.


SUMMARY

In view of the disadvantages of the traditional EMTP-type phase domain synchronous machine model as heavy computing burden and low computational efficiency, embodiments of the present disclosure provide a method for improving the computational efficiency of the phase domain model.


According to a first aspect, an embodiment of the present disclosure provides a method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model, comprising:


S1, acquiring a traditional phase domain synchronous machine model; wherein the traditional phase domain synchronous machine model is: vabcs(t)=Reqiabcs+eh(t);


where Req represents the equivalent resistance matrix; iabcs(t) represents the stator currents; eh(t) represents the total history term;


S2, acquiring matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings according to a trigonometric transformation equation;


S3, substituting the matrix relations into the original expression of Req and the original expression of eh(t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix Req and a simplified formulation of the total history term eh(t); and


S4, acquiring an efficient phase domain synchronous machine model according to the simplified formulation of the equivalent resistance matrix Req and the simplified formulation of the total history term eh(t).


According to a second aspect, an embodiment of the present disclosure provides a device for improving the computational efficiency of the EMTP-type phase domain synchronous machine model, comprising:


an acquirement module, suitable for acquiring a traditional phase domain synchronous machine model; wherein the traditional phase domain synchronous machine model is: vabcs(t)=Reqiabcs+eh(t); where Req represents the equivalent resistance matrix; iabcs(t) represents stator currents; eh(t) represents the total history term;


a trigonometric transformation module, suitable for acquiring matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings according to a trigonometric transformation equation;


a deriving module, suitable for substituting the matrix relations into the original expression of Req and the original expression of eh(t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix Req and a simplified formulation of the total history term eh(t); and


a simplifying module, suitable for acquiring an efficient phase domain synchronous machine model (hereinafter, also referred to as an efficient model) according to the simplified formulation of the equivalent resistance matrix Req and the simplified formulation of the total history term eh(t).


According to a third aspect, an embodiment of the present disclosure provides an electronic apparatus, comprising:


at least one processor, at least one memory, a communication interface, and a bus; wherein


the processor, the memory, and the communication interface communicate with each other via the bus; and


program instructions which can be executed by the processor are stored in the memory, and the processor calls the program instructions to perform a method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model provided by any of various possible implementations according to the first aspect.


According to a fourth aspect, an embodiment of the present disclosure provides a non-transitory computer readable storage medium, which stores computer instructions that enable the computer to perform the method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model provided by any of various possible implementations according to the first aspect.


According to the method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model provided by the embodiment of the disclosure, matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings is acquired through a trigonometric transformation from the traditional phase domain synchronous machine model as a basis, and the matrix relations are substituted into the traditional phase domain synchronous machine model, such that the equivalent resistance matrix of the traditional phase domain synchronous machine model and the matrix used in the calculation of the history term are converted into sparse matrices, thereby improving the computational efficiency of the model.





BRIEF DESCRIPTION OF THE DRAWINGS

In order to more clearly illustrate technical solutions in embodiments of the present disclosure or prior art, the drawings used in the description of the embodiments or prior art will be briefly introduced below. It is obvious that the drawings in the following description are certain embodiments of the present disclosure, and other drawings can be obtained in light of these drawings by those skilled in the art without any creative work.



FIG. 1 is a schematic flowchart of a method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model according to an embodiment of the present disclosure;



FIG. 2 is a curve of stator phase a current of the synchronous machine according to an embodiment of the present disclosure;



FIG. 3 is a curve of the rotor speed of the synchronous machine according to an embodiment of the present disclosure;



FIG. 4 is a structural block diagram of a device for improving the computational efficiency of the EMTP-type phase domain synchronous machine model according to an embodiment of the present disclosure; and



FIG. 5 is a schematic structural diagram of an electronic apparatus according to an embodiment of the present disclosure.





DESCRIPTION OF THE EMBODIMENTS

In order to make the objectives, technical solutions and advantages of embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be clearly and completely described in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are partial embodiments of the disclosure and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative efforts fall within the protection scope of the present disclosure.


It should be noted that in the description of the embodiments of the present disclosure, terms “comprises”, “comprising” or any other variants thereof are intended to encompass a non-exclusive inclusion, such that processes, methods, articles or apparatus comprising a series of elements include not only those elements, but also other elements that are not explicitly listed, or elements that are inherent to those processes, methods, articles or apparatus. For those skilled in the art, the specific meanings of the terms above in the present disclosure can be understood in accordance with specific conditions.


Since a majority of coefficient matrices used in the calculation of the traditional EMTP-type phase domain synchronous machine model are full matrices, the operations between the full matrices are time consuming in the calculation of the traditional EMTP-type phase domain synchronous machine model, and thus the traditional EMTP-type phase domain synchronous machine model has the disadvantage of low computational efficiency.


Therefore, an embodiment of the present disclosure provides a method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model. According to the method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model provided by the embodiment of the disclosure, matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings is acquired through a trigonometric transformation from the traditional phase domain synchronous machine model as a basis, and the matrix relations are substituted into the traditional phase domain synchronous machine model, such that the equivalent resistance matrix of the traditional phase domain synchronous machine model and the matrix used in the calculation of the history term are converted into sparse matrices. It solves such disadvantages of the traditional EMTP-type phase domain synchronous machine model as heavy computing burden and low computational efficiency, and the calculation efficiency of the model is improved.



FIG. 1 is a schematic flowchart of a method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model according to an embodiment of the present disclosure. Referring to FIG. 1, the method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model may include:


S1, acquiring a traditional phase domain synchronous machine model; wherein the traditional phase domain synchronous machine model is: vabcs(t)=Reqiabcs+eh(t); where Req represents the equivalent resistance matrix; iabcs(t) represents the stator currents; eh(t) represents the total history term;


It should be noted that, in this embodiment, the total history term eh(t) refers to a history voltage source;


S2, acquiring matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings according to a trigonometric transformation equation;


S3, substituting the matrix relations into the original formulation of the equivalent resistance matrix and the original formulation of the total history term, respectively, and deriving to obtain a simplified formulation of the equivalent resistance matrix and a simplified formulation of the total history term; and


S4, acquiring an efficient phase domain synchronous machine model according to the simplified formulation of the equivalent resistance matrix and the simplified formulation of the total history term.


According to the embodiment, in step S1, acquiring the traditional phase domain synchronous machine model specifically may include as follows.


A voltage equation of the traditional EMTP-type phase domain synchronous machine model may be described by the equation (1):










[





v
abcs



(
t
)








v
qdr



(
t
)





]

=



d
dt



[





λ
abcs



(
t
)








λ
qdr



(
t
)





]


+


[




R
s



0




0



R
r




]



[




-


i
abcs



(
t
)









i
qdr



(
t
)





]







(
1
)







For the sake of simplicity, in the following embodiments, the “EMTP-type phase domain synchronous machine model” is also referred to as “phase domain model”.











v
qdr



(
t
)


=

[



v

kq





1




(
t
)









v

kq





2




(
t
)









v
fd



(
t
)









v
kd



(
t
)



]





(
2
)








i
qdr



(
t
)


=

[



i

kq





1




(
t
)









i

kq





2




(
t
)









i
fd



(
t
)









i
kd



(
t
)



]





(
3
)








λ
qdr



(
t
)


=

[



λ

kq





1




(
t
)









λ

kq





2




(
t
)









λ
fd



(
t
)









λ
kd



(
t
)



]





(
4
)







R
s

=

diag




[


r
s







r
s







r
s


]





(
5
)







R
r

=

diag




[


r

kq





1








r

kq





2








r
fd







r
kd


]





(
6
)







In the equations above, vabcs(t), and vqdr(t) represent stator voltages and rotor voltages, respectively; λabcs(t), and λqdr(t) represent stator flux linkages and rotor flux linkages, respectively; Rs and Rr represent the stator resistance matrix and rotor resistance matrix, respectively; and iabcs(t), and iqdr(t) represent stator currents and rotor currents, respectively. The subscripts kq1, kq2, fd, and kd represent the four different winding numbers of the machine, respectively.


In the case that the magnetic saturation effect of the machine is ignored, the magnetic flux linkages can be expressed by the following equation:










[





λ
abcs



(
t
)








λ
qdr



(
t
)





]

=


[





L
s



(


θ
r



(
t
)


)






L
sr



(


θ
r



(
t
)


)








2
3




L
rs



(


θ
r



(
t
)


)






L
r




]



[




-


i
abcs



(
t
)









i
qdr



(
t
)





]






(
7
)







The specific expression is as follows:











L
s



(

θ
r

)


=

[





L
ls

+

L
A

-


L
B


cos





2


θ
r








-

1
2




L
A


-


L
B


cos





2


(


θ
r

-

π
3


)








-

1
2




L
A


-


L
B


cos





2


(


θ
r

+

π
3


)










-

1
2




L
A


-


L
b


cos





2


(


θ
r

-

π
3


)







L
ls

+

L
A

-


L
B


cos





2


(


θ
r

-

π
3


)








-

1
2




L
A


-


L
B


cos





2


(


θ
r

+
π

)










-

1
2




L
A


-


L
b


cos





2


(


θ
r

+

π
3


)








-

1
2




L
A


-


L
B


cos





2


(


θ
r

+
π

)







L
ls

+

L
A

-


L
B


cos





2


(


θ
r

+

π
3


)






]





(
8
)








L
A

=



L
md

+

L
mq


3


,


L
B

=



L
md

-

L
mq


3






(
9
)








L
sr



(

θ
r

)


=

[





L
mq


cos






θ
r






L
mq


cos






θ
r






L
mq


cos






θ
r






L
md


sin






θ
r






L
md


sin






θ
r








L
mq



cos


(


θ
r

-

π
3


)







L
mq



cos


(


θ
r

-

π
3


)







L
mq



cos


(


θ
r

-

π
3


)







L
md



sin


(


θ
r

-

π
3


)







L
md



sin


(


θ
r

-

π
3


)









L
mq



cos


(


θ
r

+

π
3


)







L
mq



cos


(


θ
r

+

π
3


)







L
mq



cos


(


θ
r

+

π
3


)







L
md



sin


(


θ
r

+

π
3


)







L
md



sin


(


θ
r

+

π
3


)






]





(
10
)








L
rs



(

θ
r

)


=


2
3




L
sr
T



(

θ
r

)







(
11
)







L
r

=

[





L

lkq





1


+

L
mq





L
mq




L
mq



0


0





L
mq





L

lkq





2


+

L
mq





L
mq



0


0





L
mq




L
mq





L

lkq





2


+

L
mq




0


0




0


0


0




L
lfd

+

L
md





L
md





0


0


0



L
md





L
lkd

+

L
md





]





(
12
)







In the equations above, λabcs(t), and λqdr(t) represent the stator flux linkages and rotor flux linkages, respectively; θr(t) represents the rotor angle; Lsr(t)) is the stator inductance matrix; Lr is the rotor inductance matrix; Lsrr(t)) and Lrr(t)) represent mutual inductance matrices of the stator windings and rotor windings; and Lsrr)) and Lrsr) represent the mutual inductance matrix of the stator windings and the mutual inductance matrix of the rotor windings, respectively. rkq1, rkq2, rkq3, rfd, rkd represent the resistances of the windings kq1, kq2, kq3, fd, kd, respectively; Likq1, Llkq2, Llfd, Llkd represent the inductances of the windings kq1, kq2, fd, kd, respectively; Lmd and Lmq represent the mutual inductances.


The voltage equation of the stator in the equation (1) can be discretized by the trapezoidal integration method to obtain:











v
abcs



(
t
)


=



-

R
s





i
abcs



(
t
)



+


2

Δ





t





λ
abcs



(
t
)



+


e
sh



(
t
)







(
13
)







In the equation above,











e
sh



(
t
)


=



-

R
s





i
abcs



(

t
-

Δ





t


)



-


2

Δ





t





λ
abcs



(

t
-

Δ





t


)



-


v
abcs



(

t
-

Δ





t


)







(
14
)







In the equation above, vabcs(t) represents the stator voltages; λabcs(t) represents the stator magnetic flux, Rs represents the stator resistance matrix, iabcs(t) represents stator currents. Δt is the time-step size, and esh(t) is the current history term.


The equation (7) is substituted into the equation (13) to obtain:











v
abcs



(
t
)


=



-

(


R
s

+


2

Δ





t





L
s



(


θ
r



(
t
)


)




)





i
abcs



(
t
)



+


2

Δ





t





L
sr



(


θ
r



(
t
)


)





i
qdr



(
t
)



+


e
sh



(
t
)







(
15
)







Correspondingly, the trapezoidal integration method is applied to the rotor voltage equation in the discrete equation (1) to obtain:











i
qdr



(
t
)


=



(


R
r

+


2

Δ





t




L
r



)


-
1




(



v
qdr



(
t
)


+


2

Δ





t




2
3




L
rs



(


θ
r



(
t
)


)





i
abcs



(
t
)



+


e
rh



(
t
)



)






(
16
)







In the equation above,











e
rh



(
t
)


=



(


-

R
r


+


2

Δ





t




L
r



)




i
qdr



(

t
-

Δ





t


)



-


2

Δ





t




2
3




L
rs



(

t
-

Δ





t


)





i
abcs



(

t
-

Δ





t


)



+


v
qdr



(

t
-

Δ





t


)







(
17
)







In the equation above, erh(t) represents the rotor history term.


The equation (16) is substituted into the equation (15) to obtain:

vabcs(t)=Reqiabcs(t)+eh(t)  (18)


In the equation above,











R
eq



(
t
)


=


-

R
s


-


2

Δ





t





L
s



(


θ
r



(
t
)


)



+


8

3

Δ





t





Δ





t





L
sr



(


θ
r



(
t
)


)





(


R
r

+


2

Δ





t




L
r



)


-
1





L
rs



(


θ
r



(
t
)


)








(
19
)













e
h



(
t
)


=



e
sh



(
t
)


+


2

Δ





t





L
sr



(


θ
r



(
t
)


)





(


R
r

+


2

Δ





t




L
r



)


-
1




(



v
qdr



(
t
)


+


e
rh



(
t
)



)








(
20
)







In the equations above, vabcs(t) represents the stator voltages, Req represents the equivalent resistance matrix, eh(t) is the total history term; Rs and Rr represent the stator resistance matrix and rotor resistance matrix, respectively; Lsr(t)) is the stator inductance matrix; Lr is the rotor inductance matrix; Lsrr(t)) and Lrsr(t)) represent the mutual inductance matrix of the stator windings and the mutual inductance matrix of the rotor windings; esh(t) represents the current history term and erh(t) represents the rotor history term.


The equation (18) is the traditional phase domain synchronous machine model.


It should be noted that since matrices Lsrr(t)), Lrsr(t)) and Lsr(t)) required for Req(t) and eh(t) in the traditional phase domain model are all full matrices, the calculation efficiency is low. In order to improve the computational efficiency of the model, the present disclosure provides an optimized calculation method and finally constructs an efficient phase domain synchronous machine model based on this optimized calculation method.


Further, in step S2, the acquiring matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings according to a trigonometric transformation equation specifically includes as follows.


According to the trigonometric transformation, the following relations hold:

Lsr)=K−1r)LsrKr)  (21)
Lsrr)=K−1r)Lsrr  (22)
Lrsr)=LrsrKr)  (23)


In the equations above, Lsrr(t)) and Lrsr(t)) represent the mutual inductance matrix of the stator windings and the mutual inductance matrix of the rotor windings, respectively; and K(θr) and K−1r) represent Park transformation and inverse Park transformation, respectively.


In the equations above,










L
s
r

=

diag


[


L
ls

+


L
mq







L
ls


+


L
md







L
ls



]






(
24
)







L
sr
r

=

[




L
mq




L
mq




L
mq



0


0




0


0


0



L
md




L
md





0


0


0


0


0



]





(
25
)







L
rs
r

=


(

L
sr
r

)

T





(
26
)







K


(

θ
r

)


=


2
3



[




sin






θ
r





sin


(


θ
r

-


2

π

3


)





sin


(


θ
r

+


2

π

3


)







cos






θ
r





cos


(


θ
r

-


2

π

3


)





cos


(


θ
r

+


2

π

3


)






0.5


0.5


0.5



]






(
27
)








K

-
1




(

θ
r

)


=

[




cos






θ
r





sin






θ
r




1





cos


(


θ
r

-


2

π

3


)





sin


(


θ
r

-


2

π

3


)




1





cos


(


θ
r

+


2

π

3


)





cos


(


θ
r

+


2

π

3


)




1



]





(
28
)







Further, in step S3, the matrix relations above are substituted into the original formulation of the equivalent resistance matrix Req and the original formulation of the total history term eh(t) respectively to be derived, to obtain a simplified formulation of the equivalent resistance matrix Req and a simplified formulation of the total history term eh(t).


Specifically, the equations (21), (22), and (23) are substituted into the equation (19) and derived to obtain:

Req(t)=−Rs+K−1r)RabKr)  (29)


In the equation above,










R
ab

=



-

2

Δ





t





L
s
r


+


4

Δ





t





Δ





t






L
sr
r



(


R
r

+


2

Δ





t




L
r



)



-
1




L
rs
r







(
30
)







The matrix Rab can be further derived into the sum of the two partial matrices as follows:

Rab=Ra+Rb  (31)
Ra=diag[Ra1Ra1Ra2]  (32)
Rb=diag[0Rb0]  (33)


In the equations above,










R

a





1


=



4

Δ





t





Δ





t




L
mq
2




a
+
b
-

2

e



ab
-

e
2




-


2

Δ





t




(


L
mq

+

L
ls


)







(
34
)







R

a





2


=


-

2

Δ





t





L
ls






(
35
)







R
b

=



4

Δ





t





Δ





t




L
md
2




c
+
d
-

2

f



cd
-

f
2




-


2

Δ





t




(


L
md

+

L
ls


)


-

R

a





1







(
36
)






a
=


r

kq





1


+


2

Δ





t




(


L
mq

+

L

lkq





1



)







(
37
)






b
=


r

kq





2


+


2

Δ





t




(


L
mq

+

L

lkq





2



)







(
38
)






c
=


r
fd

+


2

Δ





t




(


L
md

+

L
lfd


)







(
39
)






d
=


r
kd

+


2

Δ





t




(


L
md

+

L
lkd


)







(
40
)






e
=


2

Δ





t




L
mq






(
41
)






f
=


2

Δ





t




L
md






(
42
)







The equation (31) is substituted into the equation (29) to obtain:

Req(t)=−Rs+K−1r)RaKr)+K−1r)RbKr)  (43)


The equations (27) and (28) are substituted into a second term on the right side of the equation (43) to obtain:












K

-
1




(

θ
r

)




R
a



K


(

θ
r

)



=


2
3



[





R

a





1


+


R

a





2


2






-


R

a





1


2


+


R

a





2


2






-


R

a





1


2


+


R

a





2


2








-


R

a





1


2


+


R

a





2


2






R

a





1


+


R

a





2


2






-


R

a





1


2


+


R

a





2


2








-


R

a





1


2


+


R

a





2


2






-


R

a





1


2


+


R

a





2


2






R

a





1


+


R

a





2


2





]






(
44
)







As shown in the equation (44), K−1r)RaK(θr) is a constant term. At this time, Req(t) can be derived to:

Req(t)=Req,const+ΔReq(t)  (45)


In the equation above,

Req,const=−Rs+K−1r)RaKr)  (46)
ΔReq(t)=K−1r)RbKr)  (47)


In the equations above, Req(t) represents the equivalent resistance matrix, Req,const is a constant matrix and ΔReq(t) represents a variation matrix. In machine simulation, Req,const is required to be calculated only once. In addition, since the matrix Rb contains only one element, calculating ΔReq(t) does not excessively consume time. Compared with Req(t) (19) used in the traditional phase domain synchronous machine model, the amount of calculation can be effectively reduced using the efficient model (45) of Req applied in the model according to the present disclosure, thereby improving the computational efficiency of the model.


Similar to the resistance matrix Req, the history term eh(t) used in the traditional phase domain synchronous machine model can also be efficient. Specific steps are as follows.


The equation (22) is substituted into the equation (20) to obtain:











e
h



(
t
)


=



e
sh



(
t
)


+


2

Δ





t





K

-
1




(


θ
r



(
t
)


)






L
sr
r



(


R
r

+


2

Δ





t




L
r



)



-
1




(



v
qdr



(
t
)


+


e
rh



(
t
)



)







(
48
)







The equation (23) is substituted into erh(t) (17) and the phase domain signal is converted into the signal iqd0s (t−Δt) in a qd coordinate system to provide:












v
qdr



(
t
)


+


e
rh



(
t
)



=



v
qdr



(
t
)


-


(


R
r

-


2

Δ





t




L
r



)




i
qdr



(

t
-

Δ





t


)



-


2

Δ





t




L
rs
r




i

qd





0

s




(

t
-

Δ





t


)



+


v
qdr



(

t
-

Δ





t


)







(
49
)







The equation (49) is substituted into the equation (48) and derived to obtain:











e
h



(
t
)


=



e
sh



(
t
)


+



K

-
1




(

θ
r

)




(



M
a



e
rh
r


-


R
f




i

qd





0

s




(

t
-

Δ





t


)




)







(
50
)







M
a

=


2

Δ





t






L
sr
r



(


R
r

+


2

Δ





t




L
r



)



-
1







(
51
)







R
f

=


2

Δ





t




2

Δ





t






L
sr
r



(


R
r

+


2

Δ





t




L
r



)



-
1




L
rs
r






(
52
)







e
rh
r

=



v
qdr



(
t
)


+


v
qdr



(

t
-

Δ





t


)


-


(


R
r

-


2

Δ





t




L
r



)




i
qdr



(

t
-

Δ





t


)








(
53
)







In the equations above, the matrices Ma and Rf can be described by the following equation:










M
a

=

[




M

a





1





M

a





2





M

a





3




0


0




0


0


0



M

a





4





M

a





5






0


0


0


0


0



]





(
54
)







R
f

=

[




R

f





1




0


0




0



R

f





2




0




0


0


0



]





(
55
)







In the equations above,










M

a





1


=


be
-

e
2



ab
-

e
2







(
56
)







M

a





2


=


ae
-

e
2



ab
-

e
2







(
57
)







M

a





3


=


df
-

f
2



cd
-

f
2







(
58
)







M

a





4


=


cf
-

f
2



cd
-

f
2







(
59
)







R

f





1


=

e


(


M

a





1


+

M

a





2



)






(
60
)







R

f





2


=

f


(


M

a





3


+

M

a





4



)






(
61
)







In the equations above, esh(t) represents the current history term, K−1r) represents inverse Park transformation, iqd0s (t−Δt) is stator currents in qd0 coordinates, Δt is the time-step size, Ma and Rf are both sparse matrices; Lsr, Lsrr and Lrsr are constant matrices, Lr is the rotor inductance matrix, Rs represents the stator resistance matrix; Rr represents the rotor resistance matrix, vqdr (t) represents the rotor voltages, iqdr (t−Δt) represents the rotor currents and vqdr (t−Δt) represents the rotor voltages.


An efficient model of eh(t) provided according to the present disclosure is shown in the equation (50). Ma and Rf used in the equation (50) are both sparse matrices. Compared with eh(t) (20) used in the traditional phase domain synchronous machine model, the amount of calculation can be effectively reduced using the efficient model of eh(t) provided according to the present disclosure, thereby improving the computational efficiency of the model.


In summary, the efficient phase domain synchronous machine model is:

vabcs(t)=Reqiabcs(t)+eh(t)
Wherein: Req(t)=Req,const+ΔReq(t)
eh(t)=esh(t)+K−1r)(Maerhr−Rfiqd0s(t−Δt))


In the equations above, Req(t) represents the equivalent resistance matrix, Req,const is a constant matrix and ΔReq(t) represents a variation matrix. esh(t) represents a current history term, K−1r) represents inverse Park transformation, iqd0s (t−Δt) is stator currents in qd coordinates, Δt is the time-step size, Ma and Rf are both sparse matrices; Lsr, Lsrr and Lrsr are constant matrices, Lr is a rotor inductance matrix and iqdr (t−Δt) represents the rotor currents.


According to the method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model provided by the embodiments of the disclosure, matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings is acquired through a trigonometric transformation from the traditional phase domain synchronous machine model as a basis, and the matrix relations are substituted into the traditional phase domain synchronous machine model, such that the equivalent resistance matrix of the traditional phase domain synchronous machine model and the matrix used in the calculation of the history term are converted into sparse matrices, thereby improving the calculation efficiency of the model.


Based on the embodiments above, the following steps are performed so as to test the accuracy of the proposed efficient phase domain synchronous machine model:


simulating the traditional phase domain synchronous machine model and a proposed efficient phase domain synchronous machine model, respectively, comparing simulation results and evaluating the accuracies of the models.


Specifically, the accuracy of the efficient phase domain synchronous machine model is tested according to the present embodiment after the efficient phase domain synchronous machine model is acquired. For comparative analysis, the efficient phase domain synchronous machine model and the traditional phase domain synchronous machine model were simulated, respectively, and the accuracies of the models were evaluated. A time-step size of 500 μs is used in both of the two models.


The test machine is an 835MVA synchronous machine. The machine stator is connected to an ideal voltage source. In the initial stage, the machine is in a steady state. The mechanical torque is 1.887×106 N·m, and the excitation voltage is 30.3 V. At t=0.2 s, three-phase ground fault occurs at the stator. The fault is removed at t=0.5 s. FIG. 2 is a curve of a stator phase a current of a synchronous machine. It should be noted that (a) at the top of FIG. 2 is the curve of the stator phase a current of the 835MVA synchronous machine and (b) at the bottom of FIG. 2 is a partial enlarged view of the curve of the stator phase a current of the synchronous machine.



FIG. 3 shows the rotor speed of the synchronous machine. (a) at the top of FIG. 3 is the curve of the rotational speed of the 835MVA synchronous machine and (b) at the bottom of FIG. 3 is a partial enlarged view of (a). As shown in FIGS. 2 and 3, the simulation result of the machine model provided by the present disclosure is completely consistent with that of the traditional phase domain synchronous machine model. The reason is that the model provided by the present disclosure is derived from the traditional phase domain synchronous machine model. Therefore, it is completely equivalent to the traditional phase domain synchronous machine model, and no loss of precision occurs. It should be noted that in FIGS. 2 and 3, the “traditional model” refers to the traditional phase domain synchronous machine model, and the “proposed model” refers to the efficient model of the phase domain machine proposed in the embodiments of the present disclosure.


Based on the embodiments above, after the efficient phase domain synchronous machine model is acquired, the following steps are performed so as to evaluate the computational efficiency of the proposed efficient phase domain synchronous machine model:


comparing a CPU time per time-step required for the efficient phase domain synchronous machine model with that of the traditional phase domain synchronous machine model to evaluate the computational efficiency of the two models.


Specifically, the CPU time per time-step required for the efficient phase domain synchronous machine model provided by the embodiments of the present disclosure is compared with that of the traditional phase domain synchronous machine model. The two models are both constructed using standard C language programs, which are executed on a personal computer with parameters of Intel Core i7-7700HQ, 2.80-GHz processor, and 8 GB RAM. The CPU times per time-step required for the two models are shown in Table 1. The values in Table 1 are relative times, of which the unit is a per-unit value and the reference value is the CPU time consumption per time-step used in the traditional phase domain model. As shown in Table 1, the calculation time of the model proposed according to the present disclosure is (1 p.u.)/(0.6435 p.u.)≈1.554 times of that of the traditional model.


In summary, compared with the traditional phase domain synchronous machine model, the efficient phase domain synchronous machine model provided according to the embodiments of the present disclosure does not have any precision loss, and the efficiency can be improved by 1.554 times.









TABLE 1







Comparisons between calculation times of two models











CPU times per



Model of machine
time-step (p.u.)














Traditional model of phase domain
1



machine




Efficient model of phase domain
0.6435



machine











FIG. 4 is a structural block diagram of a device for improving the computational efficiency of the EMTP-type phase domain synchronous machine model according to an embodiment of the present disclosure. Referring to FIG. 4, the device may include an acquirement module 401, a trigonometric transformation module 402, a deriving module 403 and a simplifying module 404.


The acquirement module 401 is suitable for acquiring a traditional phase domain synchronous machine model; wherein the traditional phase domain synchronous machine model is: vabcs(t)=Reqiabcs+eh(t); where Req represents the equivalent resistance matrix; iabcs(t) represents the stator currents; and eh(t) represents the total history term. The trigonometric transformation module 402 is suitable for acquiring matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings according to a trigonometric transformation equation. The deriving module 403 is suitable for substituting the matrix relations into the original formulation of Req and the original formulation of eh(t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix Req and an efficient model of the total history term eh(t). The simplifying module 404 is suitable for acquiring an efficient phase domain synchronous machine model according to the simplified formulation of the equivalent resistance matrix Req and the simplified formulation of the total history term eh(t).


The specific illustrations of device embodiments of the present disclosure are the same as those of the method above and are not described herein again.


According to the device for improving the computational efficiency of the EMTP-type phase domain synchronous machine model provided by the embodiments of the present disclosure, matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings is acquired through a trigonometric transformation from the traditional phase domain synchronous machine model as a basis and the matrix relations are substituted into the traditional phase domain synchronous machine model, such that the equivalent resistance matrix of the traditional phase domain synchronous machine model and the matrix used in the calculation of the history term are converted into sparse matrices, thereby improving the calculation efficiency of the model.


Based on the above embodiments, the device may further include a comparison and evaluation module suitable for simulating the traditional phase domain synchronous machine model and the efficient phase domain synchronous machine model, respectively, comparing simulation results and evaluating the model deviation.


Specifically, the accuracy of the efficient phase domain synchronous machine model is tested according to the present embodiment after the efficient phase domain synchronous machine model is acquired. For comparative analysis, the efficient phase domain synchronous machine model and the traditional phase domain synchronous machine model are simulated respectively, and the model deviation is evaluated. A simulation time-step of 500 μs is used in both of the two models.


The test machine is an 835MVA synchronous machine. The machine stator is connected to an ideal voltage source. In the initial stage, the machine is in a steady state. The mechanical torque is 1.887×106 N·m, and the excitation voltage is 30.3 V. At t=0.2 s, three-phase ground fault occurs at the stator side. The fault is removed at t=0.5 s. FIG. 2 is a curve of a stator phase a current of a synchronous machine according to an embodiment of the present disclosure. FIG. 3 is a curve of a rotational speed of a synchronous machine according to an embodiment of the present disclosure. As shown in FIGS. 2 and 3, the simulation result of the machine model provided by the present disclosure is completely consistent with that of the traditional phase domain synchronous machine model since the proposed model of the present disclosure is derived from the traditional mode of the phase domain machine. Therefore, it is completely equivalent to the traditional phase domain synchronous machine model, and no loss of precision occurs. It should be noted that in FIGS. 2 and 3, the “traditional model” refers to the traditional phase domain synchronous machine model, and the “proposed model” refers to the efficient phase domain synchronous machine model proposed in the embodiments of the present disclosure.


Based on the various embodiments above, the device may further include an efficiency evaluation module suitable for comparing a CPU time per time-step required for the efficient phase domain synchronous machine model with that of the traditional phase domain synchronous machine model to evaluate the computational efficiency of the two models.


Specifically, the CPU time per time-step required for the efficient phase domain synchronous machine model provided by the embodiments of the present disclosure is compared with that of the traditional phase domain synchronous machine model. The two models are both constructed using standard C language programs, which are executed on a personal computer with parameters of Intel Core i7-7700HQ, 2.80-GHz processor, and 8 GB RAM. The CPU times per time-step required for the two models are shown in Table 1. The values in Table 1 are relative times, of which the unit is a per-unit value and the reference value is the CPU time consumption per time-step used in the traditional phase domain model. As shown in Table 1, the calculation time of the model proposed according to the present disclosure is (1 p.u.)/(0.6435 p.u.)≈1.554 times of that of the traditional model.


In summary, compared with the traditional phase domain synchronous machine model, the efficient phase domain synchronous machine model provided according to the embodiments of the present disclosure does not have any precision loss, and the efficiency can be improved by 1.554 times.


An embodiment of the present disclosure provides an electronic apparatus. FIG. 5 is a schematic structural diagram of an electronic apparatus according to an embodiment of the present disclosure. As shown in FIG. 5, the electronic apparatus may include:


at least one processor 501, a communication interface 504, at least one memory 502, and a communication bus 503, wherein the at least one processor 501, the communication interface 504, and the at least one memory 502 are communicated with each other via the communication bus 503. The at least one processor 501 can call the logic instructions in the at least one memory 502 to perform the method for optimizing the EMTP-type phase domain synchronous machine model, comprising, for example, the following steps: acquiring a traditional phase domain synchronous machine model; acquiring matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings according to a trigonometric transformation equation; substituting the matrix relations into the original expression of Req and the original expression of eh(t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix Req and a simplified formulation of the total history term eh(t); and acquiring a simplified formulation of the phase domain machine according to the efficient model of the equivalent resistance matrix Req and the simplified formulation of the total history term eh(t).


An embodiment of the present disclosure provides a non-transitory computer readable storage medium. The non-transitory computer readable storage medium stores computer instructions which allow the computer to perform the method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model provided by the corresponding embodiments. The method comprises, for example, the following steps: acquiring a traditional phase domain synchronous machine model; acquiring matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings according to a trigonometric transformation equation; substituting the matrix relations into the original formulation of Req and the original formulation of eh(t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix Req and a simplified formulation of the total history term eh(t); and acquiring an efficient phase domain synchronous machine model according to the simplified formulation of the equivalent resistance matrix Req and the simplified formulation of the total history term eh(t).


It may be construed by those skilled in the art that the all or part of the steps of implementing the method embodiments above may be completed by using hardware related to the program instructions. The foregoing programs may be stored in a computer readable storage medium, and the programs perform steps including the steps of the foregoing method embodiments when executed. The foregoing storage medium may include various media such as a ROM, a RAM, a magnetic disk, or an optical disk, etc., that can store program codes.


Finally, it should be noted that the embodiments above are only used to illustrate the technical solutions of the present disclosure, and are not limited thereto; although the present disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications may be made to the technical solutions described in the foregoing embodiments and equivalent substitutions may be made to some of the technical features thereof; these modifications or substitutions do not depart the nature of the corresponding technical solutions from the spirit and scope of the technical solutions of various embodiments according to the present disclosure.

Claims
  • 1. A method for improving computational efficiency of an electromagnetic transients program (EMTP-type) phase domain synchronous machine model, comprising: S1, acquiring a traditional phase domain synchronous machine model; wherein the traditional phase domain synchronous machine model is: vabcs(t)=Req iabsc+eh (t);wherein Req represents equivalent resistance matrix; iabcs (t) represents stator currents; eh(t) represents a total history term;S2, acquiring matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings according to a trigonometric transformation equation;S3, substituting the matrix relations into an original formulation of the equivalent resistance matrix Req and an original formulation of the total history term eh (t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix Req and a simplified formulation of the total history term eh (t); andS4, acquiring an efficient phase domain synchronous machine model according to the simplified formulation of the equivalent resistance matrix Req and the simplified formulation of the total history term eh (t).
  • 2. The method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model of claim 1, further comprising: simulating the traditional phase domain synchronous machine model and the efficient phase domain synchronous machine model, respectively, comparing simulation results and evaluating deviation between the traditional phase domain synchronous machine model and the efficient phase domain synchronous machine model.
  • 3. The method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model of claim 1, further comprising: comparing a CPU time per time-step required for the efficient phase domain synchronous machine model with that of the traditional phase domain synchronous machine model to evaluate computational efficiencies of the traditional phase domain synchronous machine model and the efficient phase domain synchronous machine model.
  • 4. The method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model of claim 1, wherein the traditional phase domain synchronous machine model specifically comprises:
  • 5. The method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model of claim 4, wherein in step S2, the acquiring matrix relations between the mutual inductance matrix of stator windings and the mutual inductance matrix of rotor windings according to the trigonometric transformation equation specifically comprises:acquiring the following relations according to the trigonometric transformation equation: Ls(θr)=K−1(θr)LsrK(θr)Lsr(θr)=K−1(θr)Lsrr ⅔Lrs(θr)=LrsrK(θr)in the equations above, Lsr (θr(t)) and Lrs(θr(t)) represent the mutual inductance matrix of the stator windings and the mutual inductance matrix of the rotor windings, respectively; and k(θr) and K−1(θr) represent Park transformation and inverse Park transformation, respectively;in the equations above, Lsr, Lsrr, and Lrsr are constant matrices and specifically as follows:
  • 6. The method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model of claim 5, wherein step S3 specifically comprises: S31, substituting the matrix relations above into the original formulation of the equivalent resistance matrix Req and deriving to obtain the simplified formulation of the equivalent resistance matrix Req: Req(t)=Req,const+ΔReq(t)wherein Req,const=−Rs+K−1(θr)RaK(θr)ΔReq(t)=K−1(θr)RbK(θr)in the equations above, Req(t) represents the equivalent resistance matrix, Req,const is a constant matrix and ΔReq(t) represents a variation matrix;S32, substituting the matrix relations above into the original formulation of the total history term eh(t) and deriving to obtain the efficient model ofeh(t):
  • 7. A device for improving the computational efficiency of an EMTP-type phase domain synchronous machine model, comprising: an acquirement module, for acquiring a traditional phase domain synchronous machine model; wherein the traditional phase domain synchronous machine model is:vabcs(t)Reqiabcs+eh (t) where Req represents an equivalent resistance matrix; iabcs (t) represents stator currents; eh(t) represents a total history term;a trigonometric transformation module, for acquiring matrix relations between a mutual inductance matrix of stator windings and a mutual inductance matrix of rotor windings according to a trigonometric transformation equation;a deriving module, for substituting the matrix relations into an original expression of Req and an original expression of eh(t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix Req and a simplified formulation of the total history term eh(t); anda simplifying module, for acquiring an efficient phase domain synchronous machine model according to the simplified formulation of the equivalent resistance matrix Req and the simplified formulation of the total history term eh(t).
  • 8. The device for improving the computational efficiency of the EMTP-type phase domain synchronous machine model of claim 7, further comprising: an efficiency evaluation module, for comparing a CPU time per time-step required for the efficient phase domain synchronous machine model with that of the traditional phase domain synchronous machine model to evaluate computational efficiencies of the traditional phase domain synchronous machine model and the efficient phase domain synchronous machine model.
  • 9. An electronic apparatus, comprising: at least one processor, at least one memory, a communication interface, and a communication bus; wherein,the at least one processor, the at least one memory and the communication interface communicate with each other via the communication bus;program instructions which can be executed by the at least one processor are stored in the at least one memory, and the at least one processor calls the program instructions to perform the method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model according to claim 1.
  • 10. A non-transitory computer readable storage medium, storing computer instructions which allow a computer to perform the method for improving the computational efficiency of the EMTP-type phase domain synchronous machine model according to claim 1.
Priority Claims (1)
Number Date Country Kind
201811496740.3 Dec 2018 CN national
US Referenced Citations (2)
Number Name Date Kind
4217515 Long Aug 1980 A
20130141084 Hsieh Jun 2013 A1
Non-Patent Literature Citations (1)
Entry
Xia, Y et al., An Efficient Phase Domain Synchronous Machine Model With Constant Equivalent Admittance Matrix, IEEE Transactions On Power Delivery, Jun. 2019, pp. 929-940, vol. 34, No. 3, IEEE.
Related Publications (1)
Number Date Country
20200185980 A1 Jun 2020 US