A universal electromagnetic transient black box model and power interaction algorithm for external control

By developing a power interaction algorithm in the electromagnetic transient black box model to calculate and measure the active and reactive power of internal nodes, the problem that existing technology cannot measure the power of internal nodes is solved, and the effective interaction between the black box model and the external control system is realized. control.

CN114204612BActive Publication Date: 2024-10-22NORTH CHINA ELECTRIC POWER UNIV +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111530850.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-15
Publication Date
2024-10-22
Estimated Expiration
2041-12-15

AI Technical Summary

Technical Problem

The existing electromagnetic transient black box model cannot measure internal node power information through a power meter, which limits the ability of the external control system to control the model.

Method used

Provides a power interaction algorithm between a general electromagnetic transient black box model and external control. It calculates the instantaneous voltage and current of internal nodes by inverting the external node information, calculates the instantaneous active and reactive power, and discretizes and delays it through the first-order inertia link. Real-time processing to achieve internal node power measurement and output.

Benefits of technology

The calculation of the internal node power of the black box model and the interaction with the external control system are realized, ensuring that the external control system can effectively affect the internal circuit parameters of the black box model, and improving the control precision and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114204612B_ABST
    Figure CN114204612B_ABST
Patent Text Reader

Abstract

The present invention provides a power interaction algorithm between a general electromagnetic transient (EMT) black box model and external control, which can help the black box model obtain the power information of internal nodes and interact with the external control system. First, the internal node instantaneous voltage and branch instantaneous current are inversely solved from the external node information of the black box model; secondly, the instantaneous active power and reactive power of the required node are calculated based on the internal node instantaneous voltage and branch instantaneous current; then, the instantaneous active and reactive power are delayed and smoothed through the discretized first-order inertia link to simulate the sensor delay and reduce the output ripple; finally, the measured values ​​of the internal node active power and reactive power are obtained and output to the external control system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of signal measurement and power system modeling and simulation, and in particular relates to a universal electromagnetic transient black box model and an externally controlled power interaction algorithm. Background Art

[0002] PSCAD / EMTDC is a common electromagnetic transient simulation software. Based on PSCAD custom components and Fortran language, the Thevenin general electromagnetic transient (EMT) model with internal nodes eliminated can be realized. This general EMT model transfers the information of internal nodes to external nodes to eliminate internal nodes when equivalent, and only external nodes are reflected to the outside. Since the internal nodes no longer exist, it is equivalent to a black box model to the outside.

[0003] External control systems sometimes need information about internal nodes to control the model. Although the black box model with internal nodes eliminated can inversely resolve the internal node information, this information is limited to the node instantaneous voltage and branch instantaneous current. In addition, the power meter provided by PSCAD can only measure the power of external nodes, while internal nodes cannot be measured by the power meter because they do not actually exist. Therefore, when the external control system needs the power information of internal nodes in the black box model, the existing model inverse solution method cannot meet the demand, and a general electromagnetic transient black box model and external control power interaction algorithm is needed. Summary of the invention

[0004] Based on this demand, the present invention provides a power interaction algorithm between a general electromagnetic transient black box model and external control, which realizes the calculation of the power of the internal nodes of the black box model and interacts with the external control system. The method comprises the following steps:

[0005] Step 1: From the external node information of the general electromagnetic transient black box model, the internal node instantaneous voltage value and the internal branch instantaneous current value are inversely solved.

[0006] Step 2: Calculate the instantaneous active power P' and instantaneous reactive power Q' of the required node according to the instantaneous voltage value of the internal node and the instantaneous current value of the internal branch. It is characterized in that the calculation formula of the instantaneous active power P' and the instantaneous reactive power Q' is as follows:

[0007] P'=u a i a +u b i b +u c i c

[0008]

[0009] In the formula, u a ,u b ,u c are the instantaneous voltages of each phase of the internal nodes, i a ,i b ,i c are the instantaneous currents of each phase of the internal nodes respectively.

[0010] Step 3: The first-order inertia link Discretization is performed to obtain its discretization formula. The characteristic is that the discretization process is as follows:

[0011] The differential equation corresponding to the first-order inertia link is discretized by trapezoidal integral:

[0012]

[0013] It can be expressed approximately as:

[0014] y(t)=e -Δt / T y(t-Δt)+G(1-e -Δt / T )x(t)

[0015] Where x(t) is the input signal; y(t) is the output signal; y(t-Δt) is the historical value of the output signal; G is the proportional coefficient; Δt is the simulation step size; and T is the reference period of the input signal.

[0016] Step 4: Take the instantaneous active power P' and instantaneous reactive power Q' obtained in step 2 as input signals, input the first-order inertia link simulation delay after discretization in step 3, and smooth the waveform to obtain the measured values ​​of the active power P and reactive power Q of the internal node.

[0017] Step 5: Output the measured values ​​of active power P and reactive power Q of the internal nodes obtained in step 4 to realize the power interaction between the black box model and the external control system. The external control system generates a control signal according to the power output of the black box model, affecting the internal circuit parameters of the black box model.

[0018] Beneficial effects of the present invention:

[0019] The present invention can help a general electromagnetic transient black box model obtain power information of internal nodes and interact with an external control system; reversely solve the instantaneous voltage and instantaneous current information of the internal elimination nodes through the external node information of the black box model; calculate the instantaneous active power and reactive power of the internal nodes; discretize the first-order inertia link to make it suitable for computer processing; simulate the active power and reactive power measurement values ​​after delay by passing the instantaneous active power and reactive power through the discretized first-order inertia link; output the active power and reactive power measurement values, thereby realizing the power interaction between the black box model and the external control. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a power interaction algorithm between a general electromagnetic transient black box model and external control.

[0021] Figure 2 This is a schematic diagram of a calculation example based on a custom wind turbine model in PSCAD.

[0022] Figure 3 It is a simulation comparison diagram of the active power calculated by the proposed method and the active power measured by the PSCAD power meter. DETAILED DESCRIPTION

[0023] In order to make the present invention more obvious and easy to understand, the steps of the present invention will be further described in detail below with reference to the accompanying drawings.

[0024] Figure 1 A power interaction algorithm between a general electromagnetic transient black box model and external control is presented. The method includes the following steps:

[0025] Step 1: From the external node information of the general electromagnetic transient black box model, the internal node instantaneous voltage value and the internal branch instantaneous current value are inversely solved.

[0026] External node voltage information can be obtained through the PSCAD built-in function VDC. The usage is VDC(NN,SS), which means the voltage value of node NN in subsystem SS.

[0027] Step 2: Calculate the instantaneous active power P' and reactive power Q' of the required node based on the instantaneous voltage value of the internal node and the instantaneous current value of the internal branch.

[0028] The instantaneous active power and reactive power are the products of the instantaneous voltage and instantaneous current of the three phases, respectively, and their expressions are as follows:

[0029] P'=u a i a +u b i b +u c i c (1)

[0030]

[0031] In the formula, u a ,u b ,u c are the instantaneous voltages of each phase of the internal nodes, i a ,i b ,i c are the instantaneous currents of each phase of the internal nodes respectively.

[0032] Step 3: The first-order inertial link can simulate the delay when the real measuring device measures the signal and the signal smoothing processing, but in order to facilitate computer processing, the first-order inertial link needs to be discretized first.

[0033] The first-order inertia link is expressed in the s domain as The corresponding differential equation expression is as follows:

[0034]

[0035] Where x(t) is the input signal; y(t) is the output signal; T is the reference frequency of the input signal; and G is the proportional gain factor.

[0036] By performing trapezoidal integral discretization on the above formula, we can obtain:

[0037]

[0038] After moving the items, we can get:

[0039]

[0040] After putting the negative sign before the term y(t-Δt) into the proportional magnification factor G, we get:

[0041]

[0042] By observing formula (6), we can find that the coefficient before y(t-Δt) is Yes -a The first-order approximation of is, At the same time, the coefficient before the second term [x(t)+x(t-Δt)] yes A first-order approximation of .

[0043] Therefore, formula (6) can be approximately expressed as:

[0044] y(t)=e -Δt / T y(t-Δt)+G(1-e -Δt / T )x(t)(7)

[0045] Formula (7) is the discretization representation of the first-order inertia link, where Δt is the simulation step length.

[0046] For the first-order inertia link, the simulation delay is to ensure that the voltage and current cannot change suddenly within a measurement cycle. Using this link can make the power measurement results smoother and closer to the actual value.

[0047] Step 4: Take the instantaneous active power P' and instantaneous reactive power Q' obtained in step 2 as input signals, input the first-order inertia link simulation delay after discretization in step 3, and smooth the waveform to obtain the measured values ​​of the active power P and reactive power Q of the internal node.

[0048] Step 5: Output the measured values ​​of active power P and reactive power Q of the internal nodes obtained in step 4 to realize the power interaction between the black box model and the external control system. The external control system generates a control signal according to the power output of the black box model, affecting the internal circuit parameters of the black box model.

[0049] In order to verify the correctness of the proposed method, a calculation example based on a PSCAD custom wind turbine model was established. Figure 2 As shown in the figure. The example consists of a wind turbine, a generator, a converter, a transformer, a filter and an AC power grid. At t=5s, a three-phase short-circuit grounding fault is set at point A, and the fault lasts for 0.05s. The active power of the PCC point is measured by a power meter, and the active power of the PCC point is calculated by the proposed method.

[0050] The comparison of active power obtained by the two methods is shown in the figure below: Figure 3 As shown. Figure 3 It can be seen that the active power curves obtained by the two methods are highly overlapped, which shows that the proposed method is correct. The proposed method is also applicable to reactive power.

[0051] Finally, it should be noted that the above description is only a preferred embodiment of the present invention that is easily understood by those skilled in the art, and is not intended to limit the present invention. Any modification, equivalent substitution, and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A general electromagnetic transient black box model and external control power interaction algorithm, characterized in that: The following method is used to help the black box model obtain the power information of the internal nodes and interact with the external control system; specifically, the instantaneous voltage and instantaneous current information of the internal elimination nodes are inversely solved through the external node information of the black box model; the instantaneous active power and reactive power of the internal nodes are calculated; the first-order inertia link is discretized to be suitable for computer processing; the instantaneous active power and reactive power are passed through the discretized first-order inertia link to simulate the active power and reactive power measurement values ​​after delay; the active power and reactive power measurement values ​​are output, thereby realizing the power interaction between the black box model and the external control. The method includes the following steps: Step 1: Inversely solve the internal node instantaneous voltage value and the internal branch instantaneous current value from the external node information of the general electromagnetic transient black box model; Step 2: Calculate the instantaneous active power P' and instantaneous reactive power Q' of the node according to the instantaneous voltage value of the internal node and the instantaneous current value of the internal branch. The calculation formulas of the instantaneous active power P' and the instantaneous reactive power Q' are as follows: P'=u a and a +in b and b +in c and c In the formula, u a ,u b ,u c are the instantaneous voltages of each phase of the internal nodes, i a ,i b ,i c are the instantaneous currents of each phase of the internal nodes respectively; Step 3: The first-order inertia link Discretization is performed to obtain the discretization formula. The discretization process is as follows: The differential equation corresponding to the first-order inertia link is discretized by trapezoidal integral: It can be expressed approximately as: y(t)=e -Δt / T y(t-Δt)+G(1-e -Δt / T )x(t) In the formula, x(t) is the input signal; y(t) is the output signal; y(t-Δt) is the historical value of the output signal; G is the proportional coefficient; Δt is the simulation step size; T is the reference period of the input signal; Step 4: Take the instantaneous active power P' and instantaneous reactive power Q' obtained in step 2 as input signals, input the first-order inertia link simulation delay after discretization in step 3, and smooth the waveform to obtain the measured values ​​of the internal node active power P and reactive power Q; Step 5: Outputting the measured values ​​of active power P and reactive power Q of the internal nodes obtained in step 4 can realize the power interaction between the black box model and the external control system. The external control system generates a control signal according to the power output by the black box model to affect the internal circuit parameters of the black box model.