Electromechanical transient modeling method and system based on inverter full working condition simulation data
By installing monitoring equipment in the inverter circuit to collect and process data, and using the whale algorithm to optimize modeling, the problem of insufficient real-time modeling capabilities of the inverter is solved, and a more accurate and effective full-condition simulation of the inverter is achieved. Data modeling.
Patent Information
- Application Number
- CN202410591324.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-08-23
AI Technical Summary
The processing capability of the inverter's real-time modeling is relatively weak and cannot effectively handle changes in the working environment and parameters, resulting in inaccurate modeling.
By installing monitoring and control equipment in the circuit of the inverter, we collect historical full-working-condition simulation data, perform preprocessing and dynamic processing, and use the whale algorithm for optimization modeling to ensure the accuracy and accuracy of the inverter's full-working-condition simulation data. effectiveness.
It improves the accuracy and effectiveness of simulation data modeling of the inverter's full working conditions, avoids inaccurate modeling problems caused by noise and multiple sets of data, and enhances real-time modeling capabilities.
Smart Images

Figure CN118539781A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of simulation data modeling and processing, and in particular to an electromechanical transient modeling method and system based on full-operating-condition simulation data of an inverter. Background Art
[0002] The inverter is the interface device between the renewable energy power generation system and the power grid, and its modeling is an important research direction in the field of power electronics. By establishing a mathematical model of the inverter, its working principle, performance characteristics, stability and other issues can be analyzed. However, in actual applications, the working environment and parameters of the inverter may change, and the model obtained by the system identification method is usually based on certain working conditions and assumptions. The processing capability of real-time inverter modeling is relatively weak.
[0003] Existing technologies, such as Chinese patent application CN109684651A, map the transmission data between the panoramic perception recording system master station and the substation into the IEC61850 data model of the standard protocol. First, by creating an XML file, the data transmitted between the panoramic perception recording system master station and the substation is mapped into a business data model that is easily recognizable by the panoramic perception recording system master station, and then the business data model is converted into the IEC61850 data model familiar to power secondary equipment manufacturers through extended modeling of the IEC61850 standard protocol. The real-time modeling processing capability is relatively weak and has great limitations. Summary of the invention
[0004] 1. Technical issues to be resolved
[0005] In view of the shortcomings of the prior art, the present invention provides an electromechanical transient modeling method and system based on the full-operating condition simulation data of the inverter, which has the advantages of real-time modeling and accurate modeling, and solves the problem of relatively weak processing capability of real-time modeling of the inverter.
[0006] (II) Technical solution
[0007] In order to solve the technical problem that the inverter modeling has relatively weak processing capability for uncertainty, the present invention provides the following technical solution:
[0008] The present invention discloses an electromechanical transient modeling method based on full-operating-condition simulation data of an inverter, which specifically comprises the following steps:
[0009] S1. Install monitoring and control equipment in the circuits that require transient modeling;
[0010] The monitoring and control device comprises: a circuit monitoring device and an inverter;
[0011] The circuit monitoring device is used to monitor the current in the circuit in real time;
[0012] The inverter comprises: an oscillator, a filter and an inverter bridge;
[0013] The inverter bridge is used to invert the transmitted direct current to obtain an inverted current, and transmit the inverted current to the oscillator;
[0014] The oscillator is used to oscillate the received inverted current at a fixed frequency and transmit the oscillated current waveform to the filter;
[0015] The filter is used to filter the received current waveform after oscillation to obtain full-operating-condition simulation data;
[0016] S2. Based on the installed monitoring equipment, collect the historical full-operating-condition simulation data generated during the operation of the inverter, and construct a sample set of the inverter full-operating-condition simulation data;
[0017] S3, preprocessing the data in the constructed inverter full-operating-condition simulation data sample set to obtain preprocessed inverter full-operating-condition simulation data;
[0018] S4, dynamically processing the pre-processed inverter full-operating-condition simulation data to obtain processed inverter full-operating-condition simulation data;
[0019] S5. Perform transient modeling of the inverter full-operating-condition simulation data based on the processed inverter full-operating-condition simulation data.
[0020] The present invention collects historical full-operating-condition simulation data generated during the operation of the inverter by installing a monitoring and control device in the circuit required for transient modeling. At the same time, the full-operating-condition simulation data of the alternating current is preprocessed, and the obtained preprocessed inverter full-operating-condition simulation data is dynamically processed. At the same time, the processed inverter full-operating-condition simulation data is optimized and modeled by the whale algorithm, thereby ensuring the accuracy and effectiveness of the inverter full-operating-condition simulation data modeling.
[0021] Preferably, the installation-based monitoring device collects historical full-operating-condition simulation data generated during the operation of the inverter, and constructs a sample set of inverter full-operating-condition simulation data, including the following steps:
[0022] Suppose a quaternion E = {I 直 ,I 交 ,T 开 ,T 结}Save the historical full-operating condition simulation data generated during the inverter operation;
[0023] Among them, I 直 Represents the DC power data before being processed by the inverter. The DC power data includes current, voltage, and current waveform data. I 交Represents the AC data after being processed by the inverter, T 开 Indicates the time when current starts to input, T 结 represents the current end input time, E represents the quaternion;
[0024] AC power data after inverter processing I 交 Including current, voltage and current waveform data;
[0025] The saved quaternary groups are aggregated to construct a sample set of inverter full-operating condition simulation data.
[0026] The present invention realizes quantification of full-operating-condition simulation data of alternating current in a circuit by setting a quaternion to store historical full-operating-condition simulation data generated during the operation of the inverter, thereby improving the accuracy of modeling of full-operating-condition simulation data of the inverter.
[0027] Preferably, the preprocessing of the data in the constructed inverter full-operating condition simulation data sample set comprises the following steps:
[0028] S31, filtering the data in the constructed inverter full-operating-condition simulation data sample set by using a Bloom filtering algorithm to obtain filtered alternating current full-operating-condition simulation data;
[0029] Create an array of length m and select A hash function traverses each data in the AC full-condition simulation data and saves the traversal results in an array, where Indicates rounding down;
[0030] During the traversal process through the hash function, when the traversal results of two data are the same, each bit in the two data is compared;
[0031] When the comparison results are consistent, the two current data are set to be the same data, and based on the traversal order of the AC full-operating condition simulation data, the AC full-operating condition simulation data traversed later is deleted;
[0032] After the traversal is completed, the AC power full-operating condition simulation data stored in the array during the traversal process are summarized to obtain the filtered AC power full-operating condition simulation data;
[0033] S32, based on the AC data I in the AC full-operating condition simulation data obtained after filtering. 交 The fitting is performed to obtain the fitted AC full-operating condition simulation data.
[0034] Preferably, the AC data I in the AC full-operating condition simulation data obtained after filtering is obtained. 交 Performing fitting to obtain fitted AC full-operating condition simulation data includes the following steps:
[0035] Set the time threshold T 阈 , and select the AC full-operating condition simulation data that meets the time threshold requirements;
[0036] When the current input end time and current input start time in the AC full-operation simulation data meet T 结 -T 开 >T 阈 When , it means that the simulation data of the AC power full working condition meets the time threshold;
[0037] Based on the most recent twenty sets of AC full-operating condition simulation data, the selected data are fitted by Gaussian fitting;
[0038] The Gaussian fitting expression is as follows:
[0039]
[0040] Where n represents the order of Gaussian fitting, d l Indicates the height of the AC full-operation simulation data curve l, b l represents the coordinates of the center position of the AC full-operation simulation data curve l on the x-axis, c l Indicates the width of the AC full-operation simulation data curve l, F(x l ) is the Gaussian fitting function, x l is the coordinate value of the AC full-operation simulation data curve l in the x-axis, and e represents a natural constant;
[0041] The full-operating-condition simulation data of the alternating current after Gaussian fitting are summarized and outputted to obtain the full-operating-condition simulation data of the inverter after preprocessing.
[0042] The present invention filters the collected AC power full-operating-condition simulation data by using a Bloom filtering algorithm, thereby improving the validity of the AC power full-operating-condition simulation data. At the same time, the present invention completes the fitting of the AC power full-operating-condition simulation data by using a Gaussian fitting method, thereby reducing data redundancy.
[0043] Preferably, the dynamically processing the obtained pre-processed inverter full-operating condition simulation data comprises the following steps:
[0044] S41, oscillating the current waveform data in the inverter full-operating condition simulation data obtained after preprocessing by an oscillator to obtain the oscillated current waveform data;
[0045] S42, performing filtering and frequency modulation processing on the obtained oscillating current waveform data through a filter to obtain filtered current waveform data.
[0046] Preferably, the step of oscillating the preprocessed current waveform data in the inverter full-operating condition simulation data by an oscillator to obtain the oscillated current waveform data comprises the following steps:
[0047] The oscillation formula is as follows:
[0048]
[0049] Wherein, f represents the frequency of the current waveform data after oscillation in Hertz, L represents the inductance in Henry, and C represents the capacitance in Farad.
[0050] Preferably, the filtering and frequency modulation processing is performed on the obtained oscillating current waveform data through a filter to obtain the filtered current waveform data, which comprises the following steps:
[0051] The filter performs filtering and frequency modulation processing on the obtained current waveform data after oscillation, including the following steps:
[0052] The oscillated current waveform data is modulated to different frequencies by frequency shift keying modulation, and the amplitude and phase of the oscillated current waveform data are kept unchanged;
[0053] The time domain expression of frequency shift keying modulation is set to:
[0054]
[0055] Among them, S MFSK (t) is the time domain of frequency shift keying modulation, g represents the matrix pulse, and the pulse width of the current waveform data s after oscillation is R s , a η is the level value of the nth load, f c It is expressed as the frequency of the current waveform data after the cth oscillation, t represents the time, Δf c is the carrier frequency offset;
[0056] The current waveform data after FSK modulation is obtained by summing the FSK modulated time domain.
[0057] The current waveform data obtained after frequency shift keying modulation is set as the processed inverter full-operating condition simulation data.
[0058] The present invention oscillates the current waveform data in the inverter full-operating condition simulation data obtained after preprocessing by an oscillator, and filters and modulates the obtained oscillated current waveform data by a filter to complete the processing of the current waveform data in the inverter full-operating condition simulation data, thereby improving the accuracy of the current waveform data in the inverter full-operating condition simulation data and avoiding the problem of inaccurate modeling caused by noise in the electromechanical modeling process.
[0059] Preferably, the performing transient modeling of the inverter full-operating-condition simulation data based on the processed inverter full-operating-condition simulation data comprises the following steps:
[0060] S51, optimizing the processed inverter full-operating condition simulation data by using a whale optimization algorithm;
[0061] S511, initializing the population of the processed inverter full-operating condition simulation data;
[0062] Set the position of each whale in the solution space to: Y = {y 1 ,y 2 ,...,y z};
[0063] Each whale was assumed to randomly choose to surround its prey or use a bubble net to drive it away, and the probability of each whale choosing these two behaviors was equal;
[0064] The position of each whale in the solution space is set to represent a set of inverter full-operating condition simulation data;
[0065] S512, surround the prey;
[0066] When surrounding prey, whales will choose to swim towards the optimally positioned whale or towards a random whale;
[0067] As the whale swims towards the optimal position:
[0068] The whale's position update formula is as follows:
[0069]
[0070] in, represents the optimal whale position at time t, A is a random number uniformly distributed in (-α, α), the initial value of α is 2 and decreases linearly with the number of iterations, and B is a random number uniformly distributed in (0, 2); represents the position of the zth whale at time t+1, represents the position of the zth whale at time t;
[0071] When swimming towards a random whale's location:
[0072] The whale's position update formula is as follows:
[0073]
[0074] in, represents the position of a random whale at time t, represents the position of the hth whale at time t+1, represents the position of the hth whale at time t;
[0075] It is assumed that when |A<1|, the whale chooses to swim towards the optimal whale position, and when |A≥1|, the whale chooses to swim towards the position of a random whale;
[0076] S513, use bubble net to drive away prey;
[0077] When whales use bubble nets to drive prey, they also constantly update their own positions;
[0078] When using a bubble net, the whale's position update formula is as follows:
[0079]
[0080] Among them, p is a constant, which defaults to 1, q is a random number uniformly distributed in [-1,1], and e represents a natural constant;
[0081] S514, iteratively use the whale optimization algorithm until the inverter full working condition simulation represented by the position of each whale in the solution space is
[0082] True data convergence, save the converged inverter full-condition simulation data;
[0083] S515, setting the resistance of all components in the transient modeling circuit to be the same, and modeling the transient state when the direct current is converted into alternating current in the circuit based on the converged inverter full-operating condition simulation data.
[0084] The present invention uses the whale algorithm to optimize the modeling of the processed inverter full-operating condition simulation data, and iteratively searches for the converged inverter full-operating condition simulation data, thereby improving the accuracy and effectiveness of modeling the inverter full-operating condition simulation data and avoiding the problem of inaccurate modeling caused by multiple sets of inverter full-operating condition simulation data generated in the circuit.
[0085] The present invention also discloses an electromechanical transient modeling system based on full-operating-condition simulation data of an inverter, comprising a monitoring and control device, a data processing module, a Gaussian fitting module, and a modeling optimization module;
[0086] The monitoring and control device comprises: a circuit monitoring device and an inverter;
[0087] The circuit monitoring device is used to monitor the current in the circuit in real time;
[0088] The inverter comprises: an oscillator, a filter and an inverter bridge;
[0089] The inverter bridge is used to invert the transmitted direct current to obtain an inverted current, and transmit the inverted current to the oscillator;
[0090] The oscillator is used to oscillate the received inverted current at a fixed frequency and transmit the oscillated current waveform to the filter;
[0091] The filter is used to filter the received current waveform after oscillation to obtain full-operating-condition simulation data;
[0092] The data processing module is used to filter the inverter full-operating condition simulation data;
[0093] The Gaussian fitting module is used to perform Gaussian fitting on the current waveform data in the full-operating-condition simulation data of the inverter;
[0094] The modeling optimization module is used to optimize and model the inverter full-operating condition simulation data after filtering.
[0095] (III) Beneficial effects
[0096] Compared with the prior art, the present invention provides an electromechanical transient modeling method and system based on inverter full-operating condition simulation data, which has the following beneficial effects:
[0097] 1. The invention collects historical full-operating-condition simulation data generated during the operation of the inverter by installing monitoring and control equipment in the circuit required for transient modeling. At the same time, the full-operating-condition simulation data of the alternating current is preprocessed, and the preprocessed inverter full-operating-condition simulation data is dynamically processed. At the same time, the processed inverter full-operating-condition simulation data is optimized and modeled through the whale algorithm, thereby ensuring the accuracy and effectiveness of the inverter full-operating-condition simulation data modeling.
[0098] 2. The present invention realizes the quantification of the full-operating-condition simulation data of the alternating current in the circuit by setting a quaternion to save the historical full-operating-condition simulation data generated during the operation of the inverter, thereby improving the accuracy of the modeling of the full-operating-condition simulation data of the inverter.
[0099] 3. The present invention improves the validity of the collected AC power full-operating condition simulation data by using a Bloom filtering algorithm, and at the same time reduces data redundancy by fitting the AC power full-operating condition simulation data using a Gaussian fitting method.
[0100] 4. The present invention oscillates the current waveform data in the pre-processed inverter full-operating condition simulation data through an oscillator, and filters and frequency-modulates the oscillated current waveform data through a filter to complete the processing of the current waveform data in the inverter full-operating condition simulation data, thereby improving the accuracy of the current waveform data in the inverter full-operating condition simulation data and avoiding the problem of inaccurate modeling caused by noise in the electromechanical modeling process.
[0101] 5. This invention uses the whale algorithm to optimize the modeling of the processed inverter full-operating-condition simulation data, and iteratively searches for the converged inverter full-operating-condition simulation data, thereby improving the accuracy and effectiveness of the modeling of the inverter full-operating-condition simulation data and avoiding the problem of inaccurate modeling caused by multiple sets of inverter full-operating-condition simulation data generated in the circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0102] Figure 1 It is a schematic diagram of the structure of the inverter full-operating condition simulation data modeling process of the present invention. DETAILED DESCRIPTION
[0103] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0104] The present invention discloses an electromechanical transient modeling method based on full-operating-condition simulation data of an inverter, which specifically comprises the following steps:
[0105] S1. Install monitoring and control equipment in the circuits that require transient modeling;
[0106] The monitoring and control device comprises: a circuit monitoring device and an inverter;
[0107] The circuit monitoring device is used to monitor the current in the circuit in real time;
[0108] The inverter comprises: an oscillator, a filter and an inverter bridge;
[0109] The inverter bridge is used to invert the transmitted direct current to obtain an inverted current, and transmit the inverted current to the oscillator;
[0110] The oscillator is used to oscillate the received inverted current at a fixed frequency and transmit the oscillated current waveform to the filter;
[0111] The filter is used to filter the received current waveform after oscillation to obtain full-operating-condition simulation data;
[0112] S2. Based on the installed monitoring equipment, collect the historical full-operating-condition simulation data generated during the operation of the inverter, and construct a sample set of the inverter full-operating-condition simulation data;
[0113] Based on the installed monitoring equipment, collecting the historical full-operating-condition simulation data generated during the operation of the inverter and constructing the inverter full-operating-condition simulation data sample set includes the following steps:
[0114] Suppose a quaternion E = {I 直 ,I 交 ,T 开 ,T 结}Save the historical full-operating condition simulation data generated during the inverter operation;
[0115] Among them, I 直 Represents the DC power data before being processed by the inverter. The DC power data includes current, voltage, and current waveform data. I 交 Represents the AC data after being processed by the inverter, T 开 Indicates the time when current starts to input, T 结 represents the current end input time, E represents the quaternion;
[0116] Furthermore, the AC power data I after being processed by the inverter 交 Including current, voltage and current waveform data;
[0117] Summarize and save the four-tuples to construct a full-operating-condition simulation data sample set for the inverter;
[0118] S3, preprocessing the data in the constructed inverter full-operating-condition simulation data sample set to obtain preprocessed inverter full-operating-condition simulation data;
[0119] Preprocessing the data in the constructed inverter full-operating condition simulation data sample set includes the following steps:
[0120] S31, filtering the data in the constructed inverter full-operating-condition simulation data sample set by using a Bloom filtering algorithm to obtain filtered alternating current full-operating-condition simulation data;
[0121] Create an array of length m and select A hash function traverses each data in the AC full-condition simulation data and saves the traversal results in an array, where Indicates rounding down;
[0122] During the traversal process through the hash function, when the traversal results of two data are the same, each bit in the two data is compared;
[0123] When the comparison results are consistent, the two current data are set to be the same data, and based on the traversal order of the AC full-operating condition simulation data, the AC full-operating condition simulation data traversed later is deleted;
[0124] After the traversal is completed, the AC power full-operating condition simulation data stored in the array during the traversal process are summarized to obtain the filtered AC power full-operating condition simulation data;
[0125] S32, based on the AC data I in the AC full-operating condition simulation data obtained after filtering. 交 Perform fitting to obtain fitted alternating current full-operating condition simulation data;
[0126] Set the time threshold T 阈 , and select the AC full-operating condition simulation data that meets the time threshold requirements;
[0127] When the current input end time and current input start time in the AC full-operation simulation data meet T 结 -T 开 >T 阈 When , it means that the simulation data of the AC power full working condition meets the time threshold;
[0128] Based on the most recent twenty sets of AC full-operating condition simulation data, the selected data are fitted by Gaussian fitting;
[0129] The Gaussian fitting expression is as follows:
[0130]
[0131] Where n represents the order of Gaussian fitting, d l Indicates the height of the AC full-operation simulation data curve l, b l represents the coordinates of the center position of the AC full-operation simulation data curve l on the x-axis, c l Indicates the width of the AC full-operation simulation data curve l, F(x l ) is the Gaussian fitting function, x l is the coordinate value of the AC full-operation simulation data curve l in the x-axis, and e represents a natural constant;
[0132] Furthermore, the full-operating-condition simulation data of the alternating current after Gaussian fitting is summarized and outputted to obtain the full-operating-condition simulation data of the inverter after preprocessing;
[0133] S4, dynamically processing the pre-processed inverter full-operating-condition simulation data to obtain processed inverter full-operating-condition simulation data;
[0134] Dynamically processing the preprocessed inverter full-operating condition simulation data includes the following steps:
[0135] S41, oscillating the current waveform data in the inverter full-operating condition simulation data obtained after preprocessing by an oscillator to obtain the oscillated current waveform data;
[0136] The oscillation formula is as follows:
[0137]
[0138] Wherein, f represents the frequency of the current waveform data after oscillation in Hertz, L represents the inductance in Henry, and C represents the capacitance in Farad;
[0139] S42, performing filtering and frequency modulation processing on the obtained oscillating current waveform data through a filter to obtain filtered current waveform data;
[0140] The filter performs filtering and frequency modulation processing on the obtained current waveform data after oscillation, including the following steps:
[0141] The oscillated current waveform data is modulated to different frequencies by frequency shift keying modulation, and the amplitude and phase of the oscillated current waveform data are kept unchanged;
[0142] The time domain expression of frequency shift keying modulation is set to:
[0143]
[0144] Among them, S MFSK (t) is the time domain of frequency shift keying modulation, g represents the matrix pulse, and the pulse width of the current waveform data s after oscillation is R s , a η is the level value of the nth load, f c It is expressed as the frequency of the current waveform data after the cth oscillation, t represents the time, Δf c is the carrier frequency offset;
[0145] The current waveform data after FSK modulation is obtained by summing the FSK modulated time domain.
[0146] The current waveform data obtained after frequency shift keying modulation is set as the processed inverter full-operating condition simulation data;
[0147] S5. Performing transient modeling of the inverter full-operating-condition simulation data based on the processed inverter full-operating-condition simulation data;
[0148] Based on the processed inverter full-operating-condition simulation data, transient modeling of the inverter full-operating-condition simulation data includes the following steps:
[0149] S51, optimizing the processed inverter full-operating condition simulation data by using a whale optimization algorithm;
[0150] S511, initializing the population of the processed inverter full-operating condition simulation data;
[0151] Set the position of each whale in the solution space to: Y = {y 1 ,y 2 ,...,y z};
[0152] Each whale was assumed to randomly choose to surround its prey or use a bubble net to drive it away, and the probability of each whale choosing these two behaviors was equal;
[0153] S512, surround the prey;
[0154] When surrounding prey, whales will choose to swim towards the optimally positioned whale or towards a random whale;
[0155] As the whale swims towards the optimal position:
[0156] The whale's position update formula is as follows:
[0157]
[0158] in, represents the optimal whale position at time t, A is a random number uniformly distributed in (-α, α), the initial value of α is 2 and decreases linearly with the number of iterations, and B is a random number uniformly distributed in (0, 2); represents the position of the zth whale at time t+1, represents the position of the zth whale at time t;
[0159] When swimming towards a random whale's location:
[0160] The whale's position update formula is as follows:
[0161]
[0162] in, represents the position of a random whale at time t, represents the position of the hth whale at time t+1, represents the position of the hth whale at time t;
[0163] It is assumed that when |A<1|, the whale chooses to swim towards the optimal whale position, and when |A≥1|, the whale chooses to swim towards the position of a random whale;
[0164] S513, use bubble net to drive away prey;
[0165] When whales use bubble nets to drive prey, they also constantly update their own positions;
[0166] When using a bubble net, the whale's position update formula is as follows:
[0167]
[0168] Among them, p is a constant, which defaults to 1, q is a random number uniformly distributed in [-1,1], and e represents a natural constant;
[0169] S514, iteratively use the whale optimization algorithm until the inverter full working condition simulation represented by the position of each whale in the solution space is
[0170] True data convergence, save the converged inverter full-condition simulation data;
[0171] S515, setting the resistance of all components in the transient modeling circuit to be the same, and modeling the transient state when the direct current is converted into alternating current in the circuit based on the converged inverter full-operating condition simulation data;
[0172] The present invention also discloses an electromechanical transient modeling system based on full-operating-condition simulation data of an inverter, comprising a monitoring and control device, a data processing module, a Gaussian fitting module, and a modeling optimization module;
[0173] The monitoring and control device comprises: a circuit monitoring device and an inverter;
[0174] The circuit monitoring device is used to monitor the current in the circuit in real time;
[0175] The inverter comprises: an oscillator, a filter and an inverter bridge;
[0176] The inverter bridge is used to invert the transmitted direct current to obtain an inverted current, and transmit the inverted current to the oscillator;
[0177] The oscillator is used to oscillate the received inverted current at a fixed frequency and transmit the oscillated current waveform to the filter;
[0178] The filter is used to filter the received current waveform after oscillation to obtain full-operating-condition simulation data;
[0179] The data processing module is used to filter the inverter full-operating condition simulation data;
[0180] The Gaussian fitting module is used to perform Gaussian fitting on the current waveform data in the full-operating-condition simulation data of the inverter;
[0181] The modeling optimization module is used to optimize and model the inverter full-operating condition simulation data after filtering.
[0182] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An electromechanical transient modeling method based on full-operating condition simulation data of an inverter, characterized in that: The following steps are involved: S1. Install monitoring and control equipment in the circuits that require transient modeling; The monitoring and control device comprises: a circuit monitoring device and an inverter; The circuit monitoring device is used to monitor the current in the circuit in real time; The inverter comprises: an oscillator, a filter and an inverter bridge; The inverter bridge is used to invert the transmitted direct current to obtain an inverted current, and transmit the inverted current to the oscillator; The oscillator is used to oscillate the received inverted current at a fixed frequency and transmit the oscillated current waveform to the filter; The filter is used to filter the received current waveform after oscillation to obtain full-operating-condition simulation data; S2. Based on the installed monitoring and control equipment, collect the historical full-operating-condition simulation data generated during the operation of the inverter, and construct a sample set of the inverter full-operating-condition simulation data; S3, preprocessing the data in the constructed inverter full-operating-condition simulation data sample set to obtain preprocessed inverter full-operating-condition simulation data; S4, dynamically processing the pre-processed inverter full-operating-condition simulation data to obtain processed inverter full-operating-condition simulation data; S5. Perform transient modeling of the inverter full-operating-condition simulation data based on the processed inverter full-operating-condition simulation data.
2. The electromechanical transient modeling method based on inverter full-operating condition simulation data according to claim 1 is characterized in that: The method of collecting historical full-operating-condition simulation data generated during the operation of the inverter based on the installed monitoring equipment and constructing a sample set of full-operating-condition simulation data of the inverter includes the following steps: Suppose a quaternion E = {I 直 ,I 交 ,T 开 ,T 结 }Save the historical full-operating condition simulation data generated during the inverter operation; Among them, I 直 Represents the DC power data before being processed by the inverter. The DC power data includes current, voltage, and current waveform data. I 交 Represents the AC data after being processed by the inverter, T 开 Indicates the time when current starts to input, T 结 represents the current end input time, E represents the quaternion; AC power data after inverter processing I 交 Including current, voltage and current waveform data; The saved quaternary groups are aggregated to construct a sample set of inverter full-operating condition simulation data.
3. The electromechanical transient modeling method based on inverter full-operating condition simulation data according to claim 1 is characterized in that: The preprocessing of the data in the constructed inverter full-operating condition simulation data sample set comprises the following steps: S31, filtering the data in the constructed inverter full-operating-condition simulation data sample set by using a Bloom filtering algorithm to obtain filtered alternating current full-operating-condition simulation data; Create an array of length m and select A hash function traverses each data in the AC full-condition simulation data and saves the traversal results in an array, where Indicates rounding down; During the traversal process through the hash function, when the traversal results of two data are the same, each bit in the two data is compared; When the comparison results are consistent, the two current data are set to be the same data, and based on the traversal order of the AC full-operating condition simulation data, the AC full-operating condition simulation data traversed later is deleted; After the traversal is completed, the AC power full-operating condition simulation data stored in the array during the traversal process are summarized to obtain the filtered AC power full-operating condition simulation data; S32, based on the AC data I in the AC full-operating condition simulation data obtained after filtering. 交 The fitting is performed to obtain the fitted AC full-operating condition simulation data.
4. The electromechanical transient modeling method based on inverter full-operating condition simulation data according to claim 3 is characterized in that: The method is based on obtaining the AC data I in the filtered AC full-operating condition simulation data. 交 Performing fitting to obtain fitted AC full-operating condition simulation data includes the following steps: Set the time threshold T 阈 , and select the AC full-operating condition simulation data that meets the time threshold requirements; When the current input end time and current input start time in the AC full-operation simulation data meet T 结 -T 开 >T 阈 When , it means that the simulation data of the AC power full working condition meets the time threshold; Based on the most recent twenty sets of AC full-operating condition simulation data, the selected data are fitted by Gaussian fitting; The Gaussian fitting expression is as follows: Where n represents the order of Gaussian fitting, d l Indicates the height of the AC full-operation simulation data curve l, b l represents the coordinates of the center position of the AC full-operation simulation data curve l on the x-axis, c l Indicates the width of the AC full-operation simulation data curve l, F(x l ) is the Gaussian fitting function, x l is the coordinate value of the AC full-operation simulation data curve l in the x-axis, and e represents a natural constant; The full-operating-condition simulation data of the alternating current after Gaussian fitting are summarized and outputted to obtain the full-operating-condition simulation data of the inverter after preprocessing.
5. The electromechanical transient modeling method based on inverter full-operating condition simulation data according to claim 1 is characterized in that: The dynamically processing the pre-processed inverter full-operating condition simulation data comprises the following steps: S41, oscillating the current waveform data in the inverter full-operating condition simulation data obtained after preprocessing by an oscillator to obtain the oscillated current waveform data; S42, performing filtering and frequency modulation processing on the obtained oscillating current waveform data through a filter to obtain filtered current waveform data.
6. The electromechanical transient modeling method based on inverter full-operating condition simulation data according to claim 5 is characterized in that: The step of oscillating the current waveform data in the inverter full-operating condition simulation data obtained after preprocessing by an oscillator to obtain the oscillated current waveform data comprises the following steps: The oscillation formula is as follows: Among them, f s It represents the output frequency of the current waveform data in the inverter full-operating condition simulation data in Hertz, L represents the inductance in Henry, and C represents the capacitance in Farad.
7. The electromechanical transient modeling method based on inverter full-operating condition simulation data according to claim 5 is characterized in that: The filtering and frequency modulation processing of the obtained oscillating current waveform data by the filter to obtain the filtered current waveform data comprises the following steps: The filter performs filtering and frequency modulation processing on the obtained current waveform data after oscillation, including the following steps: The oscillated current waveform data is modulated to different frequencies by frequency shift keying modulation, and the amplitude and phase of the oscillated current waveform data are kept unchanged; The time domain expression of frequency shift keying modulation is set to: Among them, S MFSK (t) is the time domain of frequency shift keying modulation, g represents the matrix pulse, and the pulse width of the current waveform data s after oscillation is R s , a η is the level value of the nth load, f c It is expressed as the frequency of the current waveform data after the cth oscillation, t represents the time, Δf c is the carrier frequency offset; The current waveform data after FSK modulation is obtained by summing the FSK modulated time domain. The current waveform data obtained after frequency shift keying modulation is set as the processed inverter full-operating condition simulation data.
8. The electromechanical transient modeling method based on inverter full-operating condition simulation data according to claim 1 is characterized in that: The method of performing transient modeling of the inverter full-operating-condition simulation data based on the processed inverter full-operating-condition simulation data comprises the following steps: S51, optimizing the processed inverter full-operating condition simulation data by using a whale optimization algorithm; S511, initializing the population of the processed inverter full-operating condition simulation data; Set the position of each whale in the solution space to: Y = {y1, y2, ..., y z }; Each whale was assumed to randomly choose to surround its prey or use a bubble net to drive it away, and the probability of each whale choosing these two behaviors was equal; The position of each whale in the solution space is set to represent a set of inverter full-operating condition simulation data; S512, surround the prey; When surrounding prey, whales will choose to swim towards the optimally positioned whale or towards a random whale; As the whale swims towards the optimal position: The whale's position update formula is as follows: in, represents the optimal whale position at time t, A is a random number uniformly distributed in (-α, α), the initial value of α is 2 and decreases linearly with the number of iterations, and B is a random number uniformly distributed in (0, 2); represents the position of the zth whale at time t+1, represents the position of the zth whale at time t; When swimming towards a random whale's location: The whale's position update formula is as follows: in, represents the position of a random whale at time t, represents the position of the hth whale at time t+1, represents the position of the hth whale at time t; It is assumed that when |A<1|, the whale chooses to swim towards the optimal whale position, and when |A≥1|, the whale chooses to swim towards the position of a random whale; S513, use bubble net to drive away prey; When whales use bubble nets to drive prey, they also constantly update their own positions; When using a bubble net, the whale's position update formula is as follows: Among them, p is a constant, which defaults to 1, q is a random number uniformly distributed in [-1,1], and e represents a natural constant; S514, iteratively using the whale optimization algorithm until the inverter full-operating-condition simulation data represented by the position of each whale in the solution space converges, and saving the inverter full-operating-condition simulation data after convergence; S515, setting the resistance of all components in the transient modeling circuit to be the same, and modeling the transient state when the direct current is converted into alternating current in the circuit based on the converged inverter full-operating condition simulation data.
9. A system for implementing the electromechanical transient modeling method based on inverter full-operating condition simulation data as described in any one of claims 1 to 8, characterized in that: It includes monitoring and control equipment, data processing module, Gaussian fitting module and modeling optimization module; The monitoring and control device comprises: a circuit monitoring device and an inverter; The circuit monitoring device is used to monitor the current in the circuit in real time; The inverter comprises: an oscillator, a filter and an inverter bridge; The inverter bridge is used to invert the transmitted direct current to obtain an inverted current, and transmit the inverted current to the oscillator; The oscillator is used to oscillate the received inverted current at a fixed frequency and transmit the oscillated current waveform to the filter; The filter is used to filter the received current waveform after oscillation to obtain full-operating-condition simulation data; The data processing module is used to filter the inverter full-operating condition simulation data; The Gaussian fitting module is used to perform Gaussian fitting on the current waveform data in the full-operating-condition simulation data of the inverter; The modeling optimization module is used to optimize and model the inverter full-operating condition simulation data after filtering.
