Method and device for improving efficiency of electromagnetic transients program phase domain synchronous machine model
11258314 · 2022-02-22
Assignee
Inventors
Cpc classification
G06F30/367
PHYSICS
H02K1/18
ELECTRICITY
G06F17/16
PHYSICS
International classification
G06F17/14
PHYSICS
G06F17/16
PHYSICS
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 R.sub.eq and the original formulation of e.sub.h(t), respectively, and deriving to obtain a simplified formulation of the equivalent resistance matrix R.sub.eq and a simplified formulation of the total history term e.sub.h(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.
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: v.sub.abcs(t)=R.sub.eq i.sub.absc+e.sub.h (t); wherein R.sub.eq represents equivalent resistance matrix; i.sub.abcs (t) represents stator currents; e.sub.h(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 R.sub.eq and an original formulation of the total history term e.sub.h (t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix R.sub.eq and a simplified formulation of the total history term e.sub.h (t); and S4, acquiring an efficient phase domain synchronous machine model according to the simplified formulation of the equivalent resistance matrix R.sub.eq and the simplified formulation of the total history term e.sub.h (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:
L.sub.s(θ.sub.r)=K.sup.−1(θ.sub.r)L.sub.s.sup.rK(θ.sub.r)
L.sub.sr(θ.sub.r)=K.sup.−1(θ.sub.r)L.sub.sr.sup.r
⅔L.sub.rs(θ.sub.r)=L.sub.rs.sup.rK(θ.sub.r) in the equations above, L.sub.sr (θ.sub.r(t)) and L.sub.rs(θ.sub.r(t)) represent the mutual inductance matrix of the stator windings and the mutual inductance matrix of the rotor windings, respectively; and k(θ.sub.r) and K.sup.−1(θ.sub.r) represent Park transformation and inverse Park transformation, respectively; in the equations above, L.sub.s.sup.r, L.sub.sr.sup.r, and L.sub.rs.sup.r 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 R.sub.eq and deriving to obtain the simplified formulation of the equivalent resistance matrix R.sub.eq:
R.sub.eq(t)=R.sub.eq,const+ΔR.sub.eq(t)
wherein R.sub.eq,const=−R.sub.s+K.sup.−1(θ.sub.r)R.sub.aK(θ.sub.r)
ΔR.sub.eq(t)=K.sup.−1(θ.sub.r)R.sub.bK(θ.sub.r) in the equations above, R.sub.eq(t) represents the equivalent resistance matrix, R.sub.eq,const is a constant matrix and ΔR.sub.eq(t) represents a variation matrix; S32, substituting the matrix relations above into the original formulation of the total history term e.sub.h(t) and deriving to obtain the efficient model of.sub.eh(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: v.sub.abcs(t)R.sub.eqi.sub.abcs+e.sub.h (t) where Req represents an equivalent resistance matrix; i.sub.abcs (t) represents stator currents; e.sub.h(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 R.sub.eq and an original expression of e.sub.h(t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix R.sub.eq and a simplified formulation of the total history term e.sub.h(t); and a simplifying module, for acquiring an efficient phase domain synchronous machine model according to the simplified formulation of the equivalent resistance matrix R.sub.eq and the simplified formulation of the total history term e.sub.h(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.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) 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.
(2)
(3)
(4)
(5)
(6)
DESCRIPTION OF THE EMBODIMENTS
(7) 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.
(8) 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.
(9) 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.
(10) 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.
(11)
(12) S1, acquiring a traditional phase domain synchronous machine model; wherein the traditional phase domain synchronous machine model is: v.sub.abcs(t)=R.sub.eqi.sub.abcs+e.sub.h(t); where R.sub.eq represents the equivalent resistance matrix; i.sub.abcs(t) represents the stator currents; e.sub.h(t) represents the total history term;
(13) It should be noted that, in this embodiment, the total history term e.sub.h(t) refers to a history voltage source;
(14) 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;
(15) 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
(16) 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.
(17) According to the embodiment, in step S1, acquiring the traditional phase domain synchronous machine model specifically may include as follows.
(18) A voltage equation of the traditional EMTP-type phase domain synchronous machine model may be described by the equation (1):
(19)
(20) 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”.
(21)
(22) In the equations above, v.sub.abcs(t), and v.sub.qdr(t) represent stator voltages and rotor voltages, respectively; λ.sub.abcs(t), and λ.sub.qdr(t) represent stator flux linkages and rotor flux linkages, respectively; R.sub.s and R.sub.r represent the stator resistance matrix and rotor resistance matrix, respectively; and i.sub.abcs(t), and i.sub.qdr(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.
(23) In the case that the magnetic saturation effect of the machine is ignored, the magnetic flux linkages can be expressed by the following equation:
(24)
(25) The specific expression is as follows:
(26)
(27) In the equations above, λ.sub.abcs(t), and λ.sub.qdr(t) represent the stator flux linkages and rotor flux linkages, respectively; θ.sub.r(t) represents the rotor angle; L.sub.s(θ.sub.r(t)) is the stator inductance matrix; L.sub.r is the rotor inductance matrix; L.sub.sr(θ.sub.r(t)) and L.sub.r/θ.sub.r(t)) represent mutual inductance matrices of the stator windings and rotor windings; and L.sub.sr(θ.sub.r)) and L.sub.rs(θ.sub.r) represent the mutual inductance matrix of the stator windings and the mutual inductance matrix of the rotor windings, respectively. r.sub.kq1, r.sub.kq2, r.sub.kq3, r.sub.fd, r.sub.kd represent the resistances of the windings kq1, kq2, kq3, fd, kd, respectively; L.sub.ikq1, L.sub.lkq2, L.sub.lfd, L.sub.lkd represent the inductances of the windings kq1, kq2, fd, kd, respectively; L.sub.md and L.sub.mq represent the mutual inductances.
(28) The voltage equation of the stator in the equation (1) can be discretized by the trapezoidal integration method to obtain:
(29)
(30) In the equation above,
(31)
(32) In the equation above, v.sub.abcs(t) represents the stator voltages; λ.sub.abcs(t) represents the stator magnetic flux, R.sub.s represents the stator resistance matrix, i.sub.abcs(t) represents stator currents. Δt is the time-step size, and e.sub.sh(t) is the current history term.
(33) The equation (7) is substituted into the equation (13) to obtain:
(34)
(35) Correspondingly, the trapezoidal integration method is applied to the rotor voltage equation in the discrete equation (1) to obtain:
(36)
(37) In the equation above,
(38)
(39) In the equation above, e.sub.rh(t) represents the rotor history term.
(40) The equation (16) is substituted into the equation (15) to obtain:
v.sub.abcs(t)=R.sub.eqi.sub.abcs(t)+e.sub.h(t) (18)
(41) In the equation above,
(42)
(43) In the equations above, v.sub.abcs(t) represents the stator voltages, R.sub.eq represents the equivalent resistance matrix, e.sub.h(t) is the total history term; R.sub.s and R.sub.r represent the stator resistance matrix and rotor resistance matrix, respectively; L.sub.s(θ.sub.r(t)) is the stator inductance matrix; L.sub.r is the rotor inductance matrix; L.sub.sr(θ.sub.r(t)) and L.sub.rs(θ.sub.r(t)) represent the mutual inductance matrix of the stator windings and the mutual inductance matrix of the rotor windings; e.sub.sh(t) represents the current history term and e.sub.rh(t) represents the rotor history term.
(44) The equation (18) is the traditional phase domain synchronous machine model.
(45) It should be noted that since matrices L.sub.sr(θ.sub.r(t)), L.sub.rs(θ.sub.r(t)) and L.sub.s(θ.sub.r(t)) required for R.sub.eq(t) and e.sub.h(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.
(46) 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.
(47) According to the trigonometric transformation, the following relations hold:
L.sub.s(θ.sub.r)=K.sup.−1(θ.sub.r)L.sub.s.sup.rK(θ.sub.r) (21)
L.sub.sr(θ.sub.r)=K.sup.−1(θ.sub.r)L.sub.sr.sup.r (22)
⅔L.sub.rs(θ.sub.r)=L.sub.rs.sup.rK(θ.sub.r) (23)
(48) In the equations above, L.sub.sr(θ.sub.r(t)) and L.sub.rs(θ.sub.r(t)) represent the mutual inductance matrix of the stator windings and the mutual inductance matrix of the rotor windings, respectively; and K(θ.sub.r) and K.sup.−1(θ.sub.r) represent Park transformation and inverse Park transformation, respectively.
(49) In the equations above,
(50)
(51) Further, in step S3, the matrix relations above are substituted into the original formulation of the equivalent resistance matrix R.sub.eq and the original formulation of the total history term e.sub.h(t) respectively to be derived, to obtain a simplified formulation of the equivalent resistance matrix R.sub.eq and a simplified formulation of the total history term e.sub.h(t).
(52) Specifically, the equations (21), (22), and (23) are substituted into the equation (19) and derived to obtain:
R.sub.eq(t)=−R.sub.s+K.sup.−1(θ.sub.r)R.sub.abK(θ.sub.r) (29)
(53) In the equation above,
(54)
(55) The matrix R.sub.ab can be further derived into the sum of the two partial matrices as follows:
R.sub.ab=R.sub.a+R.sub.b (31)
R.sub.a=diag[R.sub.a1R.sub.a1R.sub.a2] (32)
R.sub.b=diag[0R.sub.b0] (33)
(56) In the equations above,
(57)
(58) The equation (31) is substituted into the equation (29) to obtain:
R.sub.eq(t)=−R.sub.s+K.sup.−1(θ.sub.r)R.sub.aK(θ.sub.r)+K.sup.−1(θ.sub.r)R.sub.bK(θ.sub.r) (43)
(59) The equations (27) and (28) are substituted into a second term on the right side of the equation (43) to obtain:
(60)
(61) As shown in the equation (44), K.sup.−1(θ.sub.r)R.sub.aK(θ.sub.r) is a constant term. At this time, R.sub.eq(t) can be derived to:
R.sub.eq(t)=R.sub.eq,const+ΔR.sub.eq(t) (45)
(62) In the equation above,
R.sub.eq,const=−R.sub.s+K.sup.−1(θ.sub.r)R.sub.aK(θ.sub.r) (46)
ΔR.sub.eq(t)=K.sup.−1(θ.sub.r)R.sub.bK(θ.sub.r) (47)
(63) In the equations above, R.sub.eq(t) represents the equivalent resistance matrix, R.sub.eq,const is a constant matrix and ΔR.sub.eq(t) represents a variation matrix. In machine simulation, R.sub.eq,const is required to be calculated only once. In addition, since the matrix R.sub.b contains only one element, calculating ΔR.sub.eq(t) does not excessively consume time. Compared with R.sub.eq(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 R.sub.eq applied in the model according to the present disclosure, thereby improving the computational efficiency of the model.
(64) Similar to the resistance matrix R.sub.eq, the history term e.sub.h(t) used in the traditional phase domain synchronous machine model can also be efficient. Specific steps are as follows.
(65) The equation (22) is substituted into the equation (20) to obtain:
(66)
(67) The equation (23) is substituted into e.sub.rh(t) (17) and the phase domain signal is converted into the signal i.sub.qd0s (t−Δt) in a qd coordinate system to provide:
(68)
(69) The equation (49) is substituted into the equation (48) and derived to obtain:
(70)
(71) In the equations above, the matrices M.sub.a and R.sub.f can be described by the following equation:
(72)
(73) In the equations above,
(74)
(75) In the equations above, e.sub.sh(t) represents the current history term, K.sup.−1(θ.sub.r) represents inverse Park transformation, i.sub.qd0s (t−Δt) is stator currents in qd0 coordinates, Δt is the time-step size, M.sub.a and R.sub.f are both sparse matrices; L.sub.s.sup.r, L.sub.sr.sup.r and L.sub.rs.sup.r are constant matrices, L.sub.r is the rotor inductance matrix, R.sub.s represents the stator resistance matrix; R.sub.r represents the rotor resistance matrix, v.sub.qdr (t) represents the rotor voltages, i.sub.qdr (t−Δt) represents the rotor currents and v.sub.qdr (t−Δt) represents the rotor voltages.
(76) An efficient model of e.sub.h(t) provided according to the present disclosure is shown in the equation (50). M.sub.a and R.sub.f used in the equation (50) are both sparse matrices. Compared with e.sub.h(t) (20) used in the traditional phase domain synchronous machine model, the amount of calculation can be effectively reduced using the efficient model of e.sub.h(t) provided according to the present disclosure, thereby improving the computational efficiency of the model.
(77) In summary, the efficient phase domain synchronous machine model is:
v.sub.abcs(t)=R.sub.eqi.sub.abcs(t)+e.sub.h(t)
Wherein: R.sub.eq(t)=R.sub.eq,const+ΔR.sub.eq(t)
e.sub.h(t)=e.sub.sh(t)+K.sup.−1(θ.sub.r)(M.sub.ae.sub.rh.sup.r−R.sub.fi.sub.qd0s(t−Δt))
(78) In the equations above, R.sub.eq(t) represents the equivalent resistance matrix, R.sub.eq,const is a constant matrix and ΔR.sub.eq(t) represents a variation matrix. e.sub.sh(t) represents a current history term, K.sup.−1(θ.sub.r) represents inverse Park transformation, i.sub.qd0s (t−Δt) is stator currents in qd coordinates, Δt is the time-step size, M.sub.a and R.sub.f are both sparse matrices; L.sub.s.sup.r, L.sub.sr.sup.r and L.sub.rs.sup.r are constant matrices, L.sub.r is a rotor inductance matrix and i.sub.qdr (t−Δt) represents the rotor currents.
(79) 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.
(80) 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:
(81) 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.
(82) 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.
(83) 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×10.sup.6 N.Math.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.
(84)
(85) 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:
(86) 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.
(87) 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.
(88) 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.
(89) TABLE-US-00001 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
(90)
(91) The acquirement module 401 is suitable for acquiring a traditional phase domain synchronous machine model; wherein the traditional phase domain synchronous machine model is: v.sub.abcs(t)=R.sub.eqi.sub.abcs+e.sub.h(t); where R.sub.eq represents the equivalent resistance matrix; i.sub.abcs(t) represents the stator currents; and e.sub.h(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 R.sub.eq and the original formulation of e.sub.h(t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix R.sub.eq and an efficient model of the total history term e.sub.h(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 R.sub.eq and the simplified formulation of the total history term e.sub.h(t).
(92) 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.
(93) 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.
(94) 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.
(95) 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.
(96) 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×10.sup.6 N.Math.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.
(97) 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.
(98) 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.
(99) 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.
(100) An embodiment of the present disclosure provides an electronic apparatus.
(101) 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 R.sub.eq and the original expression of e.sub.h(t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix R.sub.eq and a simplified formulation of the total history term e.sub.h(t); and acquiring a simplified formulation of the phase domain machine according to the efficient model of the equivalent resistance matrix R.sub.eq and the simplified formulation of the total history term e.sub.h(t).
(102) 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 R.sub.eq and the original formulation of e.sub.h(t) respectively and deriving to obtain a simplified formulation of the equivalent resistance matrix R.sub.eq and a simplified formulation of the total history term e.sub.h(t); and acquiring an efficient phase domain synchronous machine model according to the simplified formulation of the equivalent resistance matrix R.sub.eq and the simplified formulation of the total history term e.sub.h(t).
(103) 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.
(104) 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.