Modeling method and system for energy interaction characteristics between power electronic devices and storage medium
By constructing dissipative Hamiltonian and port Hamiltonian models and combining them with multivariate variational mode decomposition, the modeling problem of energy exchange and oscillation modes in multi-device distribution networks was solved, realizing the global energy interaction characteristic description and adaptive analysis of multi-node and multi-type equipment.
Patent Information
- Application Number
- CN202611673383.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-24
AI Technical Summary
When a high proportion of new energy sources and power electronic equipment are connected to the distribution network, existing technologies lack a unified model that can describe the global coupling of multiple nodes and multiple types of equipment. They cannot analyze the energy exchange process and distribution rules between multiple devices, and traditional methods may affect the normal operation of the power grid or have difficulty in handling multivariable coupled oscillation modes.
The power electronic equipment is divided into subsystems using a small-signal mathematical model. A dissipative Hamiltonian model or a port Hamiltonian model is constructed, and a port Hamiltonian energy function is established. The energy interaction between devices is described by an equivalent coupling matrix. Combining multivariate variational mode decomposition to extract oscillation modes, a modal energy model is established to realize the modeling of the energy interaction characteristics of multiple devices.
It provides a global unified modeling of any number of nodes and types of power electronic devices, avoiding impact on the normal operation of the power grid. It can analyze the energy exchange process between any two devices, has online adaptive capability, and quantifies the energy exchange between different oscillation modes.
Smart Images

Figure CN123158945A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power electronic device modeling and power system stability analysis, and in particular to a modeling method, system and storage medium for energy interaction characteristics between power electronic devices. Background Technology
[0002] In distribution networks with a high proportion of new energy sources and power electronic equipment, grid-connected converters, photovoltaic systems, energy storage systems, DC charging piles, and other power electronic equipment are connected in parallel to the distribution network through a point of common coupling and line impedance. When multiple devices operate in parallel, they form a coupled system through electrical connections. The dynamic behavior of this system is not only determined by its own characteristics but is also influenced by other devices, exhibiting obvious interactive coupling characteristics. The overall dynamic characteristics of the system cannot be simply obtained by superimposing individual machine models; therefore, a unified modeling and analysis of the system from an energy perspective is required.
[0003] Existing analytical methods can be broadly categorized into two types. The first type is impedance identification methods: These methods actively inject a wideband sweep signal at the grid connection point, simultaneously measuring voltage and current to construct an impedance spectrum or a multi-input multi-output impedance matrix, thereby determining the oscillation mode and designing suppression strategies. The second type is energy analysis methods: one is a grid stability analysis method based on the Hamiltonian model, focusing on the multi-timescale coupling characteristics of new energy units and the stability of port control strategies; the other is a transient synchronous stability assessment method for multi-parallel grid-connected converter systems based on port Hamiltonian energy, which determines the critical energy threshold and critical clearance time by analyzing the total energy change during the fault initial swing process, thereby assessing the system's stability margin.
[0004] According to the inventor's analysis, the existing technology has at least the following problems: (1) Impedance identification methods belong to black box analysis and lack physical mechanism revelation: the impedance spectrum or impedance matrix is constructed from frequency sweep data, which does not reveal the physical source of oscillation and the interaction path between devices; and it relies on actively injected disturbance signals, which may affect the normal operation of the power grid and cannot cope with rapid time-varying conditions within the frequency sweep cycle.
[0005] (2) Lack of a general energy modeling framework for multiple nodes and multiple types of devices: Most existing energy analysis methods are limited to the coupling of dual devices or single types of devices, or are highly dependent on specific topologies, and have not built a unified model that can describe the global coupling of any multiple nodes and multiple types of power electronic devices.
[0006] (3) Only stability margin or critical energy is given, without analyzing the energy exchange process and distribution law between multiple devices: Existing methods do not provide a unified energy description framework, nor do they provide an analytical expression of the energy exchange between any two devices.
[0007] (4) The energy evolution mechanism is not revealed from the perspective of oscillation mode: the broadband oscillation of the distribution network has the characteristics of multivariable coupling, multi-channel simultaneous excitation, and frequency components drift with the operating conditions. Traditional single-variable signal processing methods such as empirical mode decomposition, variational mode decomposition, and Hilbert-Huang transform are difficult to maintain phase consistency between modes when processing multi-measurement data, and cannot characterize the coupled oscillation mode between different variables. They also fail to reveal the role mechanism of different frequency components in the energy evolution process and the frequency coupling effect between modes. Summary of the Invention
[0008] The purpose of this invention is to overcome the shortcomings of the existing technology by providing a modeling method, system and storage medium for the energy interaction characteristics between power electronic devices. This method is used to perform unified and structured modeling of the energy transfer, energy distribution and dynamic interaction relationships of multiple power electronic devices connected in parallel to the distribution network. It realizes a general energy modeling framework for multiple nodes and multiple types of devices, and provides a theoretical basis and model input for the mechanism analysis and modal energy analysis of broadband oscillations in the distribution network.
[0009] The objective of this invention can be achieved through the following technical solutions: A method for modeling the energy interaction characteristics between power electronic devices includes the following steps: Establish small-signal mathematical models for various power electronic devices; For different types of power electronic devices, each power electronic device is divided into several subsystems according to the principle that each subsystem can construct an independent energy function. Based on the small-signal mathematical model, each subsystem is established as a dissipative Hamiltonian model or a port Hamiltonian model, and the subsystems are combined to obtain the port Hamiltonian model of the entire power electronic device. The Hamiltonian energy function of the entire device is equal to the sum of the energy functions of each subsystem. For a grid-connected system consisting of multiple power electronic devices connected to the distribution network through their respective interfaces, an equivalent coupling matrix is established between the multiple devices in the grid-connected system. Using the Hamiltonian model of each complete device port as a sub-model, an energy coupling model between the multiple power electronic devices is established based on the equivalent coupling matrix, and the Hamiltonian energy function of the entire grid-connected system is obtained. Each energy variable is expanded according to the oscillation mode, and the mode expansion is substituted into the Hamiltonian energy function of the grid-connected system as a whole to establish the modal energy model of the system. The modal energy model expresses the total energy of the system as the sum of the modal self-energy and the modal coupling energy. The port Hamiltonian model of the entire power electronic device, the energy coupling model between multiple power electronic devices, and the modal energy model together constitute an energy interaction model that characterizes the energy interaction characteristics between power electronic devices, and are output as the modeling result.
[0010] Furthermore, the specific steps of establishing each subsystem as a dissipative Hamiltonian model or a port Hamiltonian model are as follows: The control subsystem, which includes integral and proportional regulation, is modeled as a dissipative Hamiltonian model, while the main circuit subsystem is modeled as a port Hamiltonian model.
[0011] Furthermore, the modeling information of the small-signal mathematical model is taken from the device's mechanism information and the voltage, current and power measurement data collected at the point of common connection when the device is running normally in grid connection.
[0012] Furthermore, in the port Hamiltonian model of the entire power electronic device, the Hamiltonian energy balance equation is expressed as: in, Represents the energy function. Represents energy variables. Represents the damping matrix. Indicates the port input variable. Indicates the port output variable. This indicates the energy dissipated by the device. This represents the interactive energy exchanged between the device and the outside world through the port. The energy function and damping matrix are determined by the device mechanism and network parameters, or by online fitting and updating of measured port voltage and current data.
[0013] Furthermore, in the energy coupling model, the system's interactive energy is represented as a quadratic form of the port input variables, expressed as: in, This indicates the energy exchanged between the device and the outside world through the port. u Indicates the port input variable. This represents the equivalent coupling matrix between multiple devices. C Represents the correlation matrix. Y The network admittance matrix is represented by the correlation matrix and the network admittance matrix, which are determined by the device mechanism and network parameters, or by online fitting and updating of measured port voltage and current data.
[0014] Furthermore, the Hamiltonian energy function of the entire grid-connected system is specifically obtained as follows: The Hamiltonian energy function of each device is added to the energy function of the line impedance subsystem to obtain the overall Hamiltonian energy function of the grid-connected system.
[0015] Furthermore, the oscillation mode is extracted from the measurement signals of multiple measurement points and multiple variables of the system using multivariate variational mode decomposition.
[0016] Furthermore, in the modal energy model, the first...k The and the first l The expression for the coupling energy between the oscillation modes is: in, Indicates the first k The and the first l The coupling energy between the oscillation modes , , , The first q Energy variables In the k The decay / growth rate, amplitude, frequency, and phase of each oscillation mode. , , , The first q Energy variables In the l The decay / growth rate, amplitude, frequency, and phase of each oscillation mode. The first element in the diagonal matrix of the Hamiltonian energy function of the entire grid-connected system is... q One diagonal element.
[0017] Furthermore, the different types of power electronic equipment include grid-connected converters, photovoltaic systems, energy storage systems, and / or DC charging piles.
[0018] The present invention also provides a modeling system for the energy interaction characteristics between power electronic devices, comprising the following steps: The small-signal model construction module is used to establish small-signal mathematical models for various power electronic devices. The subsystem partitioning and Hamiltonian modeling module is used to divide each power electronic device into several subsystems according to the principle that each subsystem can construct an independent energy function, and to establish each subsystem as a dissipative Hamiltonian model or a port Hamiltonian model based on the small-signal mathematical model. The whole machine port Hamiltonian model combination module is used to combine the subsystems to obtain the port Hamiltonian model of the whole power electronic device, wherein the Hamiltonian energy function of the whole device is equal to the sum of the energy functions of each subsystem; The multi-device network coupling modeling module is used to establish an equivalent coupling matrix between multiple devices in a grid-connected system consisting of multiple power electronic devices connected to the distribution network through their respective interfaces. The module uses the Hamiltonian model of each device port as a sub-model and establishes an energy coupling model between multiple power electronic devices based on the equivalent coupling matrix. The interactive energy structured description module is used to establish a dynamic interactive energy representation between any two devices in the energy coupling model; The oscillation mode decomposition and modal energy analysis module is used to expand each energy variable according to the oscillation mode, substitute the mode expansion into the Hamiltonian energy function of the grid-connected system as a whole, and establish the modal energy model of the system. The modal energy model expresses the total energy of the system as the sum of the modal self-energy and the modal coupling energy. The modeling result output module is used to combine the port Hamiltonian model of the entire power electronic device, the energy coupling model between multiple power electronic devices, and the modal energy model to form an energy interaction model characterizing the energy interaction characteristics between power electronic devices, and output this as the modeling result. Specifically, establishing each subsystem as a dissipative Hamiltonian model or a port Hamiltonian model involves: The control subsystem, which includes integral and proportional regulation, is modeled as a dissipative Hamiltonian model, while the main circuit subsystem is modeled as a port Hamiltonian model.
[0019] Furthermore, in the port Hamiltonian model of the entire power electronic device, the Hamiltonian energy balance equation is expressed as: in, Represents the energy function. Represents energy variables. Represents the damping matrix. Indicates the port input variable. Indicates the port output variable. This indicates the energy dissipated by the device. This represents the interactive energy exchanged between the device and the outside world through the port. The energy function and damping matrix are determined by the device mechanism and network parameters, or by online fitting and updating of measured port voltage and current data.
[0020] Furthermore, in the energy coupling model, the system's interactive energy is represented as a quadratic form of the port input variables, expressed as: in, This indicates the energy exchanged between the device and the outside world through the port. u Indicates the port input variable. This represents the equivalent coupling matrix between multiple devices. C Represents the correlation matrix. Y The network admittance matrix is represented by the correlation matrix and the network admittance matrix, which are determined by the device mechanism and network parameters, or by online fitting and updating of measured port voltage and current data.
[0021] Furthermore, the Hamiltonian energy function of the entire grid-connected system is specifically obtained as follows: The Hamiltonian energy function of each device is added to the energy function of the line impedance subsystem to obtain the overall Hamiltonian energy function of the grid-connected system.
[0022] Furthermore, in the modal energy model, the first... k The and the first l The expression for the coupling energy between the oscillation modes is: in, Indicates the first k The and the first l The coupling energy between the oscillation modes , , , The first q Energy variables In the k The decay / growth rate, amplitude, frequency, and phase of each oscillation mode. , , , The first q Energy variables In the l The decay / growth rate, amplitude, frequency, and phase of each oscillation mode. The first element in the diagonal matrix of the Hamiltonian energy function of the entire grid-connected system is... q One diagonal element.
[0023] The present invention also provides a computer-readable storage medium including one or more programs executable by one or more processors of an electronic device, said one or more programs including instructions for performing a modeling method for energy interaction characteristics between power electronic devices as described above.
[0024] Compared with the prior art, the present invention has the following beneficial effects: 1) This invention is based on the physical nature of the equipment, constructs energy functions for each subsystem and standardizes them into dissipative Hamiltonian models or port Hamiltonian models. The models are white-box, satisfy the representation form of separation of structural matrix and damping matrix, and are physically interpretable. Since the modeling information is taken from the mechanism and normal operation measurement data, there is no need to inject frequency sweep or disturbance signals into the power grid, thus avoiding affecting the normal operation of the power grid. It is not constrained by the frequency sweep period and can be combined with parameters to identify and track changes in the operating point online, overcoming the defects of impedance identification methods such as black box and dependence on injected disturbances.
[0025] 2) This invention interconnects the Hamiltonian sub-models of each device port according to the actual network topology using the correlation matrix and network admittance matrix, represents the system interaction energy as a quadratic form of the port input variables, and establishes an equivalent coupling matrix. The Hamiltonian energy function of the entire device is equal to the sum of the energy functions of each subsystem and has composability. It can support global unified modeling of any number of nodes and various types of power electronic equipment, including grid-connected converters, grid-connected converters, photovoltaic systems, energy storage systems, DC charging piles, and static var generators.
[0026] 3) This invention can provide an analytical expression for the dynamic interaction energy between any two devices, clarify the coupling relationship formed by each device through the network, the expression form of the interaction energy between any devices, realize the structured description of the interaction energy of multiple devices, and quantitatively give the distribution relationship of dissipated energy and interaction energy by the Hamiltonian energy balance equation of the whole device and the grid-connected system.
[0027] 4) The system of the present invention has an online parameter identification and update module. The inline structure matrix of the model is determined by the mechanism and the structural form remains unchanged. The energy function parameters, damping matrix parameters, correlation matrix and network admittance matrix can be updated online by measurement data. Only the parameters are updated, the amount of computation is small, and it has online adaptive capability.
[0028] 5) This invention uses multivariate variational mode decomposition to maintain phase consistency between signal modes at multiple measurement points, establishes a modal energy model of the system from the perspective of oscillation modes, expresses the total energy of the system as the sum of modal self-energy and modal coupling energy, and gives an expression for the coupling energy between any two oscillation modes, quantifying the energy exchange between different oscillation modes due to frequency coupling.
[0029] 6) This invention can use an energy interaction model composed of a unified energy model, an energy coupling model, an interactive energy structured description, and a modal energy model as the model basis for the analysis of broadband oscillation mechanism and modal energy analysis of distribution networks. Based on this, when applied, the existence of significant intermodal frequency coupling effect can be determined by whether the modal coupling energy term is negligible relative to the modal self-energy. Attached Figure Description
[0030] Figure 1 This is a flowchart illustrating the overall process of an embodiment of the present invention. Figure 2 This is a schematic diagram of the system composition in an embodiment of the present invention. Detailed Implementation
[0031] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. These embodiments are based on the technical solution of the present invention and provide detailed implementation methods and specific operating procedures. However, the scope of protection of the present invention is not limited to the following embodiments.
[0032] Example 1 This embodiment provides a modeling system for the energy interaction characteristics between power electronic devices, such as... Figure 1 As shown, it includes the following steps: S1. Construction of small-signal mathematical model.
[0033] Small-signal mathematical models of each power electronic device are established based on its topology.
[0034] This embodiment takes a grid-connected converter as an example. Its main circuit is connected to the grid via an LCL filter. The control loop includes a phase-locked loop, a DC voltage outer loop, a reactive power outer loop, and a current inner loop in the dq rotating coordinate system. The inductor current, capacitor voltage, DC bus voltage, and integral quantities of each control loop are used as state variables. At the current steady-state operating point, the circuit equations and control equations of the device are linearized to obtain a small-signal mathematical model with device port voltage disturbance as input and current disturbance injected into the grid as output. The information required for modeling includes the device's rated parameters, main circuit topology, control block diagram, control parameters, and other mechanistic information, as well as voltage, current, and power measurement data collected at the point of common coupling during normal grid-connected operation. This method does not inject frequency sweep or disturbance signals into the grid. Photovoltaic systems, energy storage systems, and DC charging piles are modeled in the same way.
[0035] S2, Subsystem Partitioning and Hamiltonian Modeling.
[0036] In this embodiment, the subsystems are divided according to the principle that each subsystem can construct an independent energy function. Specifically, the principle is as follows: the divided subsystems should satisfy the following conditions: ① the state variables correspond to clearly defined generalized energy storage (main circuit: inductor magnetic energy / capacitor energy / DC bus energy; control loop: equivalent energy storage of the controller integral loop); ② the small-signal dynamics can be normalized to a dissipative Hamiltonian model or port Hamiltonian model with the quadratic function of the subsystem's state as the Hamiltonian, an antisymmetric matrix as the inline structure matrix, and a semi-positive definite matrix as the damping matrix; ③ the subsystems are coupled only through port variables and do not share internal states. Based on the above division principles, and combined with the main circuit topology and control structure of each power electronic device, each power electronic device is divided into several subsystems, and each subsystem is established as a dissipative Hamiltonian model or port Hamiltonian model based on the small-signal mathematical model.
[0037] In this embodiment, for control loops containing integral and proportional control structures that can form energy storage and dissipation processes and belong to closed-loop control, a dissipative Hamiltonian model is uniformly established to characterize the damping characteristics inside the controller. For the main circuit part where energy storage elements, namely inductors and capacitors, directly participate in energy exchange with the external power grid, their state variables correspond to physical magnetic energy and electrical energy, and energy is exchanged with the outside world through port variables, namely voltage and current, a port Hamiltonian model is established to explicitly describe the flow relationship of energy inside the system and between the system and the outside world.
[0038] Based on the above division and modeling method, this embodiment divides the grid-connected converter into ten subsystems: phase-locked loop subsystem, voltage outer loop control subsystem, reactive power outer loop control subsystem, current inner loop d-axis control subsystem, current inner loop q-axis control subsystem, DC capacitor subsystem, converter-side filter subsystem, midpoint filter capacitor subsystem, grid-side filter subsystem, and network impedance subsystem. The first five control-related subsystems are uniformly modeled as dissipative Hamiltonian structures, while the latter five main circuit subsystems are described using port Hamiltonian forms, thus forming a composite energy system framework of control dissipation and circuit ports. This framework maintains physical interpretability and satisfies the Hamiltonian representation form that separates the inline structure matrix and the damping matrix.
[0039] Taking the phase-locked loop (PLL) subsystem as an example, its small-signal mathematical model, after Laplace transform, is written as a state equation; the energy variable is taken as its integral state. With phase state The Hamiltonian energy function of this control element is constructed as follows: in, This is the integral gain coefficient. Let d be the d-axis component of the grid connection point voltage in the dq rotating coordinate system. These are the coefficients of the linear term.
[0040] Its small-signal mathematical model can be written as a dissipative Hamiltonian system. ,in, For an antisymmetric inline structure matrix, It is a symmetric positive semidefinite damping matrix. The energy gradient is given; thus, the Hamiltonian energy balance equation of the subsystem is derived, that is, the energy function of the subsystem is equal to the sum of the negative of the time integral of its damping dissipation term and the time integral of its port injection term.
[0041] The voltage outer loop, reactive power outer loop, and current inner loop d-axis and q-axis subsystems are established in the same way as the dissipative Hamiltonian system and Hamiltonian energy balance equation.
[0042] For the main circuit subsystem, taking the converter-side filter subsystem as an example, the energy variable is taken as the dq component of its inductor current. , Construct the Hamiltonian energy function of this subsystem. Its small-signal mathematical model is written as a port Hamiltonian system: in, This is an inline structure matrix, containing a rotating coordinate system coupling term determined by the steady-state angular frequency. Here is the damping matrix. For the port structure matrix, For the converter-side filter inductor, For the state variable vector, Let be the gradient vector of the Hamiltonian function with respect to the state variables. For external control input vectors, This is the port output vector.
[0043] Based on the above modeling, the Hamiltonian energy balance equation for this subsystem is given. The port Hamiltonian system and Hamiltonian energy balance equations for the DC capacitor subsystem, midpoint filter capacitor subsystem, grid-side filter subsystem, and network impedance subsystem are established in the same manner.
[0044] S3. Whole-device port Hamiltonian model combination: Combine the subsystems obtained in S2 into the whole-device port Hamiltonian system, where the whole-device Hamiltonian energy function is equal to the sum of the energy functions of each subsystem.
[0045] In this embodiment, the Hamiltonian energy function of the entire grid-connected converter is the sum of the energy functions of each subsystem. ,in, , , , , , , , , , These are the Hamiltonian energy functions for the PLL control loop, DC voltage outer loop control, reactive power outer loop control, d-axis current inner loop, q-axis current inner loop, DC capacitor subsystem, converter-side filter subsystem, filter capacitor, grid-side filter subsystem, and line impedance subsystem, respectively. Energy variables. x In this embodiment, the energy variables of each subsystem are stacked as a vector. xIt is a 17-dimensional vector, which includes the integral quantities of the phase-locked loop, the DC voltage outer loop, the reactive power outer loop, the current inner loop, the d-axis and q-axis and the corresponding intermediate quantities, as well as the main circuit state quantities such as the DC bus voltage, the current inner loop current, the dq component of the filter capacitor voltage, and the dq component of the grid-side current; the energy gradient is obtained by stacking the energy gradients of each subsystem.
[0046] Therefore, the entire device can be represented as a port Hamiltonian system: in, x For energy variables, It is an inline structure matrix. Here is the damping matrix. For the port structure matrix, Input variables for the port. Output variables for the port.
[0047] In this embodiment, the inline structure matrix For block matrix : It is a block composed of the inline structure matrix of the control link subsystem. It is a block composed of the inline structure matrix of the main circuit subsystem and the rotational coordinate system coupling terms between them. Contains steady-state angular frequency A defined antisymmetric coupling term, such as the coupling block corresponding to the converter-side filter subsystem, is: The coupling block corresponding to the midpoint filter capacitor subsystem is , Overall antisymmetry. Damping matrix. This is a block combination of the damping matrices of each subsystem, with its diagonal elements consisting of the proportional gains of each control element and the equivalent resistance and equivalent loss conductance of the main circuit. Symmetric positive semi-definite. Port structure matrix. It consists of the port structure vectors of each main circuit subsystem. Port input variables The control side port input This includes angular frequency disturbances, dq component disturbances of the switching function, and source-side current disturbances, as well as grid-side port input disturbances. Including the dq component disturbance of the point of common coupling voltage; port output variables and Duality, making This equals the instantaneous power disturbance at the device port. The Hamiltonian energy balance equation for the entire device is: ,in This is the energy dissipated by the device. This refers to the energy exchanged between the device and the outside world through the port.
[0048] A port Hamiltonian system for the entire equipment is established using the same methods as S2 to S3 for photovoltaic systems, energy storage systems, and DC charging piles: the energy model of the front-end rectifier of the DC charging pile is consistent with that of the grid-connected converter, the model of its battery is consistent with that of the energy storage system, and the downstream stage is a DC converter. This yields a unified energy description for different types of power electronic equipment.
[0049] For grid-connected converters, the subsystem division and modeling of their main circuit are consistent with those of grid-connected converters. Their control elements include an active power-frequency droop or virtual synchronization control subsystem, a reactive power-voltage droop or virtual excitation control subsystem, and a voltage-current dual-loop control subsystem. All of these control elements contain integral and proportional regulation structures, enabling energy storage and dissipation processes. Following the same principles as grid-connected converter control elements, a dissipative Hamiltonian model is established: taking the integral of the corresponding control element as the energy variable, constructing a quadratic energy function, and writing... In the form of the damping matrix, the subscript k denotes the element k, where the droop coefficient, virtual inertia, and virtual damping coefficient are incorporated into the damping matrix. Then, following the same steps, assemble the port Hamiltonian system of the entire grid-type converter. The static var generator's port Hamiltonian system is established in the same way as the reactive power outer loop control subsystem and the main circuit filter subsystem.
[0050] S4. Multi-device network coupling modeling. A unified model is performed for grid-connected systems with multiple power electronic devices connected in parallel to the distribution network.
[0051] This embodiment can be applied to a scenario where n grid-connected converters are connected to the same point of common coupling via their respective filters and then connected to the distribution network via line impedance. It can also be applied to a scenario where each device is connected to the distribution network via different nodes at multiple grid connection points. The nth... m The small-signal variables of the output port voltage and current of the device in the dq coordinate system are denoted as follows: , According to Kirchhoff's Current Law, the small-signal current at the point of common coupling is equal to the sum of the output currents of all grid-connected devices. Assume the system has... N The network admittance matrix is denoted as nodes. This is obtained by combining the series impedance and parallel admittance of the line according to the rules for forming the nodal admittance matrix. Establish the correlation matrix. C , C It consists of the associated column vectors corresponding to each device, the first... m The associated column vector of the device , of which elements Description of the m Access structure of the device: When the first m The device is connected to the branch line. i When there are nodes Take the transformer ratio of this branch, when the m-th device is not connected to the i-th node. Take zero.
[0052] An equivalent coupling matrix between multiple devices is established based on the correlation matrix and network admittance matrix of the grid-connected system. The Hamiltonian model of each device port is used as a sub-model. Based on the equivalent coupling matrix, an energy coupling model between multiple power electronic devices is established.
[0053] S5. Structured description of interactive energy. Any two devices are given by sub-blocks of the equivalent coupling matrix. m , n The dynamic interaction energy between them.
[0054] In this embodiment, the system's interactive energy is represented as a quadratic form of the port input variables: ,in u A stacked vector of input variables for each device port. The equivalent coupling matrix between multiple devices is formed by the correlation matrix. C Describe the device access structure, consisting of the network admittance matrix. Y The network topology is jointly determined. Combining the energy expressions of each device and line impedance subsystem, the Hamiltonian energy balance equation for the entire grid-connected system is obtained, where the time integral of the quadratic form of the stacked state vector over the block diagonal damping matrix represents the total system energy dissipation. The time integral of the sum of the inner products of the inputs and outputs of each device port is the total system interaction energy. .
[0055] Specifically, any two devices m , n The dynamic interaction energy between them is represented as ,in For the corresponding number in the equivalent coupling matrix m Taiwan and the n Sub-blocks between devices. , Substitute, and we get ,in , They represent the first m The equipment in the first i The node, the first n The equipment in the first j The access relationships at each node. Represents node i and node j The network coupling strength between them. Based on this... When the first m Taiwan and the n When there is no electrical path between the devices, the corresponding Zero The value is zero. From this structured expression, it can be seen that the interaction energy between any two devices is determined by their access nodes, the network coupling strength between their access nodes, and their port input variables. This clarifies the coupling relationship formed by each device through the network and the rules governing the transfer and distribution of energy between devices, achieving a structured description of the interaction energy of multiple devices. Furthermore, the Hamiltonian energy function of each device... Adding the energy function of the line impedance subsystem to the overall Hamiltonian energy function of the grid-connected system yields the overall Hamiltonian energy function of the grid-connected system. ,in This is a stacked vector of energy variables for each device and the line impedance subsystem; for By taking the time derivative and integrating along the trajectory of the global port Hamiltonian model, the overall Hamiltonian energy balance equation of the grid-connected system is obtained: in This involves the block-based combination of the damping matrices for each device and line impedance subsystem. For the total energy dissipated by the system, The total interaction energy of the system. The interconnection constraints of the global port Hamiltonian model. Substitute, and we get Among them, the diagonal terms For the first m The energy exchanged between the device and the grid through its access node, off-diagonal terms ( m ≠ n ) is the first m Taiwan and the n The energy exchanged between devices via the network. Therefore, the analytical expression for the dynamic interaction energy between any two devices can be seen. This refers to the total interactive energy term in the overall Hamiltonian energy balance equation of the grid-connected system. According to the structure of equipment pairs, i.e., decomposed into blocks, and ;and This is the system state. Quadratic energy storage function , It is the decomposition term of the interaction energy term in its energy balance equation.
[0056] S6, Oscillation Mode Decomposition and Mode Energy Analysis.
[0057] Specifically, this embodiment employs multivariate variational mode decomposition (MMD) to extract oscillation modes from the multi-point, multivariable measurement signals of the system. MMD constructs a multivariable analytical signal from the multi-channel measurement signals, establishing a variational problem with the objective of minimizing the sum of the bandwidths of each mode and the constraint of reconstructing the original multi-channel signal from the sum of the modes. An augmented Lagrangian function is introduced, and the alternating direction multiplier method is used to alternately update the modal components, center frequency, and Lagrangian multipliers until the convergence condition is met, at which point the output is obtained. K Each intrinsic mode function has a consistent center frequency; compared with empirical mode decomposition and variational mode decomposition, multivariate variational mode decomposition can ensure that the oscillation modes of current, voltage or power signals at different measurement points maintain the same center frequency and bandwidth in each channel.
[0058] Furthermore, the Hamiltonian energy gradient of the overall Hamiltonian energy function of the grid-connected system can be expressed as: That is, the Hamiltonian energy function of the entire grid-connected system can be expressed as: ,in, It is a diagonal matrix. , The first in the diagonal matrix q One diagonal element.
[0059] Furthermore, the energy variables are expanded according to oscillation modes as follows: ,in , , , The first q Energy variables In the k The decay / growth rate, amplitude, frequency, and phase of each oscillation mode. This represents the eigenvalue of the k-th oscillation mode; since each energy variable is a linear combination of the above multi-point measurements, the stacked vector... Energy variables in It shares the same set of K oscillation modes and their characteristic values with the measured signal. Various energy variables Substituting the modal expansion into the Hamiltonian energy function of the grid-connected system obtained by S5 The total system energy is decomposed into two parts: modal self-energy and modal coupling energy. Modal self-energy describes the energy storage evolution characteristics of each oscillation mode itself and is obtained by integrating the product terms of the same modal components over time. Modal coupling energy reflects the interaction and energy exchange process between different oscillation modes and is obtained by integrating the product terms of different modal components over time. k The and the first l The coupling energy between the oscillation modes is composed of... The integral expression for the interaction terms with cosine and sinine is given, representing the energy exchange relationship between different oscillation modes due to frequency coupling. The specific formula is as follows: This leads to the establishment of a modal energy model for the system, whereby the total energy of the system is equal to the sum of the self-energy of each oscillation mode and the sum of the coupling energy between each pair of oscillation modes.
[0060] Thus, the unified energy model of different types of equipment obtained in S3, the energy coupling model and structured description of interactive energy between multiple devices obtained in S4 and S5, and the modal energy model obtained in this step together constitute an energy interaction model reflecting the energy interaction characteristics between power electronic devices, which is output as the modeling result. The energy coupling model is a general model assembled based on the unified energy model and the equivalent coupling matrix. The system interactive energy representation is the energy reading (quadratic form) of the energy exchanged by this general model. The modal energy model is an expression of the overall Hamiltonian energy of the grid-connected system in a set of coordinates (oscillating mode coordinates). As an application of this energy interaction model, when the modal coupling energy term in the modal energy model is not negligible relative to the modal self-energy, for example, when its amplitude ratio exceeds a set threshold, it is determined that there is a significant inter-modal frequency coupling effect in the system.
[0061] In a preferred embodiment, the method further includes: S7, online parameter identification and updating.
[0062] When the device mechanism or network parameters are not fully known, or when the operating point changes, the port input-output relationship of the entire device's Hamiltonian system is used as the regression model, and the measured port voltage and current data are used as samples. The recursive least squares method with positive definite and semi-positive definite constraints is used to fit and update the energy function of each subsystem online. Damping matrix and the correlation matrix C With network admittance matrix Y Inline structure matrix during update process J , The antisymmetric structure remains unchanged, and only the parameters are updated, thus requiring less computation and possessing online adaptive capabilities.
[0063] The energy interaction model obtained by the above method can be applied as follows: Using the modeling result of this method, i.e., the energy interaction model, as input, mechanism analysis and modal energy analysis of broadband oscillations in distribution networks can be performed: The dynamic interaction energy in the structured description of the interaction energy... The distribution determines the device pairs involved in the dominant oscillation loop, which is determined by the modal coupling energy in the modal energy model. The distribution of the oscillation mode pairs that are frequency coupled is determined. When the mode coupling energy term is not negligible relative to the mode self-energy, it is determined that there is a significant intermodal frequency coupling effect in the system. The above analysis results can provide a theoretical basis and model input for the research on inversion and suppression strategies of broadband oscillations.
[0064] The energy interaction model established by the above method can be verified on typical multi-device parallel systems on real-time simulation or hardware-in-the-loop simulation platforms: [Building / Setting up] n A detailed electromagnetic transient model of a grid-connected converter connected to the same point of common coupling or a distribution network with multiple grid connection points via a filter is used. Operating point disturbances, such as load switching or command step inputs, are applied to the system. Voltage, current, and power signals at each measuring point are collected. Oscillation modes are extracted through multivariate variational mode decomposition and then... and The dynamic interaction energy and modal coupling energy between the devices are calculated and compared with the energy calculation results of the detailed electromagnetic transient model to verify that the established energy model can accurately reflect the interaction characteristics of multiple power electronic devices operating in parallel.
[0065] In other implementations, the same subsystem partitioning and dissipation Hamiltonian or port Hamiltonian modeling methods can be applied to grid-connected converters, photovoltaic systems, energy storage systems, DC charging piles, static var generators, etc.; the granularity of subsystem partitioning can be adjusted according to analysis needs; energy function The quadratic form can be generalized to a non-quadratic generalized energy function to account for nonlinearities such as magnetic saturation and amplitude limiting; the correlation matrix C The node admittance matrix and branch-node correlation matrix can be used as equivalent substitutes. In addition to multivariate variational mode decomposition, the modal decomposition of system energy can also be carried out by variational mode decomposition, empirical mode decomposition, Prony analysis or subspace identification. Among them, multivariate variational mode decomposition is better in maintaining the phase consistency between signal modes at multiple measurement points. The solution method can be time-domain numerical integration, state-space eigenvalue analysis, or real-time simulation, hardware-in-the-loop simulation and digital simulation. The established model can be used as the model input for wideband oscillation inversion of distribution networks, source tracing and suppression strategy research.
[0066] If the above methods are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0067] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0068] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0069] Example 2 This embodiment provides a modeling system for the energy interaction characteristics between power electronic devices, such as... Figure 2 As shown, the system includes a small-signal model construction module 10, a subsystem partitioning and Hamiltonian modeling module 11, a whole-machine port Hamiltonian model combination module 12, a multi-device network coupling modeling module 13, an interactive energy structured description module 14, an oscillation mode decomposition and modal energy analysis module 15, an online parameter identification and update module 16, and a modeling result output module 17. The functions of each module are as follows: The small-signal model construction module 10 establishes a small-signal mathematical model for each power electronic device based on its topology. Subsystem partitioning and Hamiltonian modeling module 11 partitions the subsystems according to the principle that each subsystem can construct an independent energy function, and establishes them as dissipative Hamiltonian models or port Hamiltonian models; The whole machine port Hamiltonian model combination module 12 combines the subsystems obtained from the subsystem division and Hamiltonian modeling module 11 into the port Hamiltonian system of the whole device, and constructs the port Hamiltonian model of the whole power electronic equipment. The multi-device network coupling modeling module 13 performs unified modeling for grid-connected systems in which multiple power electronic devices are connected in parallel to the distribution network. It determines the network admittance matrix based on the network topology and the correlation matrix based on the device access structure. It establishes an equivalent coupling matrix between multiple devices based on the two. Using the Hamiltonian model of each device port as a sub-model, it establishes an energy coupling model between multiple power electronic devices based on the equivalent coupling matrix. The energy coupling model includes the equivalent coupling matrix and the analytical expression of the dynamic interaction energy between any two power electronic devices given by its sub-blocks. The interactive energy structured description module 14 gives the dynamic interactive energy between any two devices m and n by the sub-blocks of the equivalent coupling matrix. Combined with the energy expressions of each device and the line impedance subsystem, the Hamiltonian energy balance equation of the grid-connected system as a whole is obtained. The oscillation mode decomposition and modal energy analysis module 15 uses multivariate variational mode decomposition to extract oscillation modes from the measurement signals of multiple measurement points and multiple variables in the system. The modal expansion of each energy variable is substituted into the Hamiltonian energy function of the grid-connected system as a whole. The total energy of the system is decomposed into two parts: modal self-energy and modal coupling energy. The modal self-energy describes the energy storage evolution characteristics of each oscillation mode itself and is obtained by integrating the product terms of the same modal component over time. The modal coupling energy reflects the interaction and energy exchange process between different oscillation modes and is obtained by integrating the product terms of different modal components over time. The online parameter identification and update module 16 is used to fit and update the energy function, damping matrix, correlation matrix and network admittance matrix of each subsystem online when the device mechanism or network parameters are not fully known or the operating point changes. It uses the port input-output relationship of the Hamiltonian system of the entire device port as a regression model and the measured port voltage and current data as samples. The modeling result output module 17 is used to combine the port Hamiltonian model of the entire power electronic device, the energy coupling model between multiple power electronic devices, and the modal energy model to form an energy interaction model that characterizes the energy interaction characteristics between power electronic devices, and outputs it as the modeling result.
[0070] The rest is the same as in Example 1.
[0071] The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make numerous modifications and variations based on the concept of the present invention without creative effort. Therefore, all technical solutions that can be obtained by those skilled in the art based on the concept of the present invention through logical analysis, reasoning, or limited experimentation on the basis of existing technology should be within the scope of protection defined by the claims.
Claims
1. A method for modeling the energy interaction characteristics between power electronic devices, characterized in that, Includes the following steps: Establish small-signal mathematical models for various power electronic devices; For different types of power electronic devices, each power electronic device is divided into several subsystems according to the principle that each subsystem can construct an independent energy function. Based on the small-signal mathematical model, each subsystem is established as a dissipative Hamiltonian model or a port Hamiltonian model, and the subsystems are combined to obtain the port Hamiltonian model of the entire power electronic device. The Hamiltonian energy function of the entire device is equal to the sum of the energy functions of each subsystem. For a grid-connected system consisting of multiple power electronic devices connected to the distribution network through their respective interfaces, an equivalent coupling matrix is established between the multiple devices in the grid-connected system. Using the Hamiltonian model of each complete device port as a sub-model, an energy coupling model between the multiple power electronic devices is established based on the equivalent coupling matrix, and the Hamiltonian energy function of the entire grid-connected system is obtained. Each energy variable is expanded according to the oscillation mode, and the mode expansion is substituted into the Hamiltonian energy function of the grid-connected system as a whole to establish the modal energy model of the system. The modal energy model expresses the total energy of the system as the sum of the modal self-energy and the modal coupling energy. The port Hamiltonian model of the entire power electronic device, the energy coupling model between multiple power electronic devices, and the modal energy model together constitute an energy interaction model that characterizes the energy interaction characteristics between power electronic devices, and are output as the modeling result.
2. The modeling method for energy interaction characteristics between power electronic devices according to claim 1, characterized in that, The specific steps of establishing each subsystem as a dissipative Hamiltonian model or a port Hamiltonian model are as follows: The control subsystem, which includes integral and proportional regulation, is modeled as a dissipative Hamiltonian model, while the main circuit subsystem is modeled as a port Hamiltonian model.
3. The modeling method for energy interaction characteristics between power electronic devices according to claim 1, characterized in that, The modeling information for the small-signal mathematical model is derived from the device's mechanism information and the voltage, current, and power measurement data collected at the point of common connection during normal grid-connected operation of the device.
4. The modeling method for energy interaction characteristics between power electronic devices according to claim 1, characterized in that, In the port Hamiltonian model of the entire power electronic device, the Hamiltonian energy balance equation is expressed as: in, Represents the energy function. Represents energy variables. Represents the damping matrix. Indicates the port input variable. Indicates the port output variable. This indicates the energy dissipated by the device. This represents the interactive energy exchanged between the device and the outside world through the port. The energy function and damping matrix are determined by the device mechanism and network parameters, or by online fitting and updating of measured port voltage and current data.
5. The modeling method for energy interaction characteristics between power electronic devices according to claim 4, characterized in that, In the energy coupling model, the system's interactive energy is represented as a quadratic form of the port input variables, expressed as: in, This indicates the energy exchanged between the device and the outside world through the port. u Indicates the port input variable. This represents the equivalent coupling matrix between multiple devices. C Represents the correlation matrix. Y The network admittance matrix is represented by the correlation matrix and the network admittance matrix, which are determined by the device mechanism and network parameters, or by online fitting and updating of measured port voltage and current data.
6. The modeling method for energy interaction characteristics between power electronic devices according to claim 1, characterized in that, The Hamiltonian energy function of the entire grid-connected system is specifically obtained as follows: The Hamiltonian energy function of each device is added to the energy function of the line impedance subsystem to obtain the overall Hamiltonian energy function of the grid-connected system.
7. The modeling method for energy interaction characteristics between power electronic devices according to claim 1, characterized in that, The oscillation mode is extracted from the measurement signals of multiple measurement points and multiple variables of the system using multivariate variational mode decomposition.
8. The modeling method for energy interaction characteristics between power electronic devices according to claim 1, characterized in that, In the modal energy model, the first... k The and the first l The expression for the coupling energy between the oscillation modes is: in, Indicates the first k The and the first l The coupling energy between the oscillation modes , , , The first q Energy variables In the k The decay / growth rate, amplitude, frequency, and phase of each oscillation mode. , , , The first q Energy variables In the l The decay / growth rate, amplitude, frequency, and phase of each oscillation mode. The first element in the diagonal matrix of the Hamiltonian energy function of the entire grid-connected system is... q One diagonal element.
9. The modeling method for energy interaction characteristics between power electronic devices according to claim 1, characterized in that, The different types of power electronic equipment include grid-connected converters, photovoltaic systems, energy storage systems, and / or DC charging piles.
10. A modeling system for the energy interaction characteristics between power electronic devices, characterized in that, Includes the following steps: The small-signal model construction module is used to establish small-signal mathematical models for various power electronic devices. The subsystem partitioning and Hamiltonian modeling module is used to divide each power electronic device into several subsystems according to the principle that each subsystem can construct an independent energy function, and to establish each subsystem as a dissipative Hamiltonian model or a port Hamiltonian model based on the small-signal mathematical model. The whole machine port Hamiltonian model combination module is used to combine the subsystems to obtain the port Hamiltonian model of the whole power electronic device, wherein the Hamiltonian energy function of the whole device is equal to the sum of the energy functions of each subsystem; The multi-device network coupling modeling module is used to establish an equivalent coupling matrix between multiple devices in a grid-connected system consisting of multiple power electronic devices connected to the distribution network through their respective interfaces. Using the Hamiltonian model of each device port as a sub-model, an energy coupling model between multiple power electronic devices is established based on the equivalent coupling matrix, and the Hamiltonian energy function of the entire grid-connected system is obtained. The interactive energy structured description module is used to establish a dynamic interactive energy representation between any two devices in the energy coupling model; The oscillation mode decomposition and modal energy analysis module is used to expand each energy variable according to the oscillation mode, substitute the mode expansion into the Hamiltonian energy function of the grid-connected system as a whole, and establish the modal energy model of the system. The modal energy model expresses the total energy of the system as the sum of the modal self-energy and the modal coupling energy. The modeling result output module is used to combine the port Hamiltonian model of the entire power electronic device, the energy coupling model between multiple power electronic devices, and the modal energy model to form an energy interaction model that characterizes the energy interaction characteristics between power electronic devices, and output it as the modeling result.
11. The modeling system for energy interaction characteristics between power electronic devices according to claim 10, characterized in that, The specific steps of establishing each subsystem as a dissipative Hamiltonian model or a port Hamiltonian model are as follows: The control subsystem, which includes integral and proportional regulation, is modeled as a dissipative Hamiltonian model, while the main circuit subsystem is modeled as a port Hamiltonian model.
12. The modeling system for energy interaction characteristics between power electronic devices according to claim 10, characterized in that, In the port Hamiltonian model of the entire power electronic device, the Hamiltonian energy balance equation is expressed as: in, Represents the energy function. Represents energy variables. Represents the damping matrix. Indicates the port input variable. Indicates the port output variable. This indicates the energy dissipated by the device. This represents the interactive energy exchanged between the device and the outside world through the port. The energy function and damping matrix are determined by the device mechanism and network parameters, or by online fitting and updating of measured port voltage and current data.
13. The modeling system for energy interaction characteristics between power electronic devices according to claim 12, characterized in that, In the energy coupling model, the system's interactive energy is represented as a quadratic form of the port input variables, expressed as: in, This indicates the energy exchanged between the device and the outside world through the port. u Indicates the port input variable. This represents the equivalent coupling matrix between multiple devices. C Represents the correlation matrix. Y The network admittance matrix is represented by the correlation matrix and the network admittance matrix, which are determined by the device mechanism and network parameters, or by online fitting and updating of measured port voltage and current data.
14. The modeling system for energy interaction characteristics between power electronic devices according to claim 10, characterized in that, The Hamiltonian energy function of the entire grid-connected system is specifically obtained as follows: The Hamiltonian energy function of each device is added to the energy function of the line impedance subsystem to obtain the overall Hamiltonian energy function of the grid-connected system.
15. The modeling system for energy interaction characteristics between power electronic devices according to claim 10, characterized in that, In the modal energy model, the first... k The and the first l The expression for the coupling energy between the oscillation modes is: in, Indicates the first k The and the first l The coupling energy between the oscillation modes , , , The first q Energy variables In the k The decay / growth rate, amplitude, frequency, and phase of each oscillation mode. , , , The first q Energy variables In the l The decay / growth rate, amplitude, frequency, and phase of each oscillation mode. The first element in the diagonal matrix of the Hamiltonian energy function of the entire grid-connected system is... q One diagonal element.
16. A computer-readable storage medium, characterized in that, It includes one or more programs that are executed by one or more processors of an electronic device, the one or more programs including instructions for performing a modeling method for the energy interaction characteristics between power electronic devices as described in any one of claims 1-9.
