Simulation step length adjustment method and device for electromagnetic transient simulation of photovoltaic power station, terminal equipment and storage medium
By obtaining the power state time series data of the electromagnetic transient simulation system of the photovoltaic power station, calculating the influencing factors of the power state data and predicting the simulation step size, the problem of low simulation efficiency caused by the large scale of photovoltaic power station simulation is solved, the adaptive adjustment of the simulation step size is achieved, and the simulation efficiency is improved.
Patent Information
- Application Number
- CN202510760148.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-09
- Publication Date
- 2025-09-19
AI Technical Summary
In the prior art, due to the large scale of photovoltaic power station simulation and the fixed simulation step size, it is difficult to perform efficient simulation when simulation resources are limited and simulation calculations are complex.
By obtaining the power state time series data of the electromagnetic transient simulation system of the photovoltaic power station, calculating the power state data influencing factor, and predicting the simulation step adjustment index at the next moment based on the influencing factor, the simulation step is adaptively adjusted to adapt to the current simulation calculation situation.
The efficiency of photovoltaic power station simulation is improved, and the simulation step size can be adaptively adjusted according to the actual power state time series data, thereby improving the efficiency of simulation calculation.
Smart Images

Figure CN120671365A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electromagnetic transient simulation of photovoltaic power stations, and in particular to a simulation step adjustment method, device, terminal equipment and storage medium for electromagnetic transient simulation of photovoltaic power stations. Background Art
[0002] As the proportion of grid-connected photovoltaic power generation capacity continues to increase, the low moment of inertia, low voltage ride-through, and intermittent output of large-scale photovoltaic power plants pose significant challenges to grid planning, design, scheduling, and operation. Regarding active frequency characteristics, the low moment of inertia of photovoltaic power generation systems means that load fluctuations in the grid can cause frequent frequency fluctuations across the entire system. Regarding power quality, the nonlinearity of power electronic components can lead to excessive current harmonics, while the randomness of photovoltaic power generation output can cause voltage fluctuations and flicker. Regarding distribution system protection and control, the integration of large-scale photovoltaic power generation systems can alter fault characteristics, preventing relay protection devices from functioning properly. Therefore, research on fast offline simulation algorithms for large-scale photovoltaic power generation systems is crucial for the planning and design of new energy power systems, as well as for their safe and stable operation.
[0003] In the prior art, photovoltaic power plants are typically modeled and simulated through overall modeling. This involves modeling each device within the photovoltaic power generation system in an equivalent manner according to the order in which they are connected, and then performing simulation calculations based on a specific simulation step size. Because the basic power generation units of a photovoltaic power station are composed of multiple cascaded devices, with a large number of nodes and numerous switching states, the use of detailed models will face the "curse of dimensionality" problem as the number of simulation units increases. Therefore, the existing technology suffers from the problem of high-efficiency simulation of photovoltaic power plants due to the large simulation scale and fixed simulation step size, making it difficult to perform high-efficiency simulation of photovoltaic power plants when simulation resources are limited and the simulation calculations are complex. Summary of the Invention
[0004] The present invention provides a simulation step adjustment method, device, terminal device and storage medium for electromagnetic transient simulation of photovoltaic power stations, which can solve the problem in the prior art that it is difficult to perform high-efficiency simulation of photovoltaic power stations under the conditions of limited simulation resources and complex simulation calculations due to large simulation scale and fixed simulation step size.
[0005] An embodiment of the present invention provides a simulation step size adjustment method for electromagnetic transient simulation of a photovoltaic power station, comprising:
[0006] Obtaining power state time series data of the photovoltaic power station electromagnetic transient simulation system during a preset time period; wherein the power state time series data includes: total active power output time series data of the photovoltaic power station, total reactive power output time series data of the photovoltaic power station, output current time series data of the photovoltaic power station, output voltage time series data of the photovoltaic power station, and output frequency time series data of the photovoltaic power station;
[0007] Calculate the power status data impact factor for the preset time period based on the power status time series data for the preset time period;
[0008] According to the influencing factors of the power status data in the preset time period, the simulation step adjustment index prediction value at the next moment is calculated;
[0009] Get the simulation step size of the photovoltaic power station electromagnetic transient simulation system at the current moment;
[0010] If the predicted value of the simulation step adjustment index at the next moment is not less than the preset adjustment index prediction threshold, the simulation step at the next moment is calculated based on the predicted value of the simulation step adjustment index at the next moment and the simulation step at the current moment; otherwise, the simulation step at the current moment is used as the simulation step at the next moment;
[0011] The above photovoltaic power station electromagnetic transient simulation system is simulated according to the simulation step size at the next moment.
[0012] Furthermore, the power status data impact factor in the preset time period is calculated based on the power status time series data in the preset time period, including:
[0013] Normalizing the power state time series data during the preset time period to obtain the normalized total active output during the preset time period, the normalized total reactive output during the preset time period, the normalized output current during the preset time period, the normalized output voltage during the preset time period, and the normalized output frequency during the preset time period;
[0014] The power status data impact factor during the preset period is calculated based on the normalized total active output during the preset period, the normalized total reactive output during the preset period, the normalized output current during the preset period, the normalized output voltage during the preset period, and the normalized output frequency during the preset period.
[0015] Furthermore, the power state time series data in the preset time period is normalized to obtain the normalized total active output in the preset time period, the normalized total reactive output in the preset time period, the normalized output current in the preset time period, the normalized output voltage in the preset time period, and the normalized output frequency in the preset time period, including:
[0016] Extract the minimum total active power output value and the maximum total active power output value from the above photovoltaic power station total active power output time series data;
[0017] Extract the minimum total reactive output value and the maximum total reactive output value from the total reactive output time series data of the photovoltaic power station;
[0018] Extracting the minimum output current value and the maximum output current value from the output current time series data of the photovoltaic power station;
[0019] Extracting the minimum output voltage value and the maximum output voltage value from the output voltage time series data of the photovoltaic power station;
[0020] Extracting the minimum output frequency value and the maximum output frequency value from the output frequency time series data of the photovoltaic power station;
[0021] Based on the above minimum total active power output value, maximum total active power output value and the total active power output time series data of the photovoltaic power station, the normalized total active power output in the preset time period is calculated;
[0022] Calculate the normalized total reactive output in a preset time period based on the above minimum total reactive output value, maximum total reactive output value, and the total reactive output time series data of the photovoltaic power station;
[0023] Calculate the normalized output current in a preset time period based on the minimum output current value, the maximum output current value, and the output current time series data;
[0024] Calculate the normalized output voltage in a preset time period based on the minimum output voltage value, the maximum output voltage value, and the output voltage timing data;
[0025] The normalized output frequency in a preset time period is calculated based on the minimum output frequency value, the maximum output frequency value and the output frequency timing data.
[0026] Furthermore, the above calculation of the simulation step adjustment index prediction value at the next moment based on the power status data in the preset time period includes:
[0027] Calculate the normalized total active power output at the next moment, the normalized total reactive power output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment based on the power status data influencing factor at the preset time period and the power status time series data at the preset time period;
[0028] According to the normalized total active output at the next moment, the normalized total reactive output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment, the predicted value of the simulation step adjustment index at the next moment is calculated.
[0029] Based on the above method embodiment, the present invention provides a corresponding device embodiment;
[0030] The present invention provides a simulation step size adjustment device for electromagnetic transient simulation of a photovoltaic power station, comprising:
[0031] Time series data acquisition module, impact factor calculation module, adjustment index prediction module, simulation step acquisition module, adjustment index comparison module and simulation module;
[0032] The above-mentioned time series data acquisition module is used to obtain the power state time series data of the electromagnetic transient simulation system of the photovoltaic power station in a preset time period; wherein the above-mentioned power state time series data includes: the total active output time series data of the photovoltaic power station, the total reactive output time series data of the photovoltaic power station, the output current time series data of the photovoltaic power station, the output voltage time series data of the photovoltaic power station, and the output frequency time series data of the photovoltaic power station;
[0033] The above-mentioned impact factor calculation module is used to calculate the impact factor of the power status data in the preset time period based on the power status time series data in the preset time period;
[0034] The adjustment index prediction module is used to calculate the simulation step adjustment index prediction value at the next moment based on the power status data influencing factor in the preset time period;
[0035] The simulation step length acquisition module is used to obtain the simulation step length of the photovoltaic power station electromagnetic transient simulation system at the current moment;
[0036] The adjustment index comparison module is configured to calculate the simulation step length at the next moment based on the simulation step length adjustment index prediction value at the next moment and the simulation step length at the current moment when the simulation step length adjustment index prediction value at the next moment is not less than a preset adjustment index prediction threshold; otherwise, the simulation step length at the current moment is used as the simulation step length at the next moment;
[0037] The simulation module is used to simulate the photovoltaic power station electromagnetic transient simulation system according to the simulation step size at the next moment.
[0038] Furthermore, the impact factor calculation module includes:
[0039] Time series data normalization unit and normalized data calculation unit;
[0040] The time series data normalization unit is used to normalize the power state time series data in the preset time period to obtain the normalized total active output in the preset time period, the normalized total reactive output in the preset time period, the normalized output current in the preset time period, the normalized output voltage in the preset time period, and the normalized output frequency in the preset time period;
[0041] The above-mentioned normalized data calculation unit is used to calculate the power status data impact factor in the preset time period based on the normalized total active output in the preset time period, the normalized total reactive output in the preset time period, the normalized output current in the preset time period, the normalized output voltage in the preset time period, and the normalized output frequency in the preset time period.
[0042] Furthermore, the time series data normalization unit includes:
[0043] a total active output extreme value extraction subunit, a total reactive output extreme value extraction subunit, an output current extreme value extraction subunit, an output voltage extreme value extraction subunit, an output frequency extreme value extraction subunit, a total active output normalization subunit, a total reactive output normalization subunit, an output current normalization subunit, an output voltage normalization subunit, and an output frequency normalization subunit;
[0044] The total active power output extreme value extraction subunit is used to extract the minimum total active power output value and the maximum total active power output value from the total active power output time series data of the photovoltaic power station;
[0045] The total reactive output extreme value extraction subunit is used to extract the minimum total reactive output value and the maximum total reactive output value from the total reactive output time series data of the photovoltaic power station;
[0046] The output current extreme value extraction subunit is used to extract the minimum output current value and the maximum output current value from the output current time series data of the photovoltaic power station;
[0047] The output voltage extreme value extraction subunit is used to extract the minimum output voltage value and the maximum output voltage value from the output voltage time series data of the photovoltaic power station;
[0048] The output frequency extreme value extraction subunit is used to extract the minimum output frequency value and the maximum output frequency value from the output frequency time series data of the photovoltaic power station;
[0049] The total active power normalization subunit is used to calculate the normalized total active power output in a preset time period based on the minimum total active power output value, the maximum total active power output value and the total active power output time series data of the photovoltaic power station;
[0050] The total reactive power normalization subunit is used to calculate the normalized total reactive power in a preset time period based on the minimum total reactive power value, the maximum total reactive power value and the total reactive power time series data of the photovoltaic power station;
[0051] The output current normalization subunit is configured to calculate the normalized output current in a preset time period based on the minimum output current value, the maximum output current value, and the output current time series data;
[0052] The output voltage normalization subunit is configured to calculate the normalized output voltage within a preset time period based on the minimum output voltage value, the maximum output voltage value, and the output voltage timing data;
[0053] The output frequency normalization subunit is used to calculate the normalized output frequency in a preset time period according to the minimum output frequency value, the maximum output frequency value and the output frequency timing data.
[0054] Furthermore, the adjustment index prediction module includes:
[0055] Normalized data prediction unit and simulation step length calculation unit;
[0056] The normalized data prediction unit is configured to calculate the normalized total active power output at the next moment, the normalized total reactive power output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment based on the power state data influencing factor at the preset time period and the power state time series data at the preset time period;
[0057] The above-mentioned simulation step calculation unit is used to calculate the simulation step adjustment index prediction value at the next moment based on the normalized total active output at the next moment, the normalized total reactive output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment.
[0058] Based on the above method embodiment, the present invention provides a corresponding terminal device embodiment;
[0059] The present invention provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the simulation step adjustment method for electromagnetic transient simulation of a photovoltaic power station described in any embodiment of the present invention is implemented.
[0060] Based on the above method embodiment, the present invention provides a storage medium embodiment;
[0061] The present invention provides a storage medium comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the simulation step adjustment method for electromagnetic transient simulation of a photovoltaic power station described in any embodiment of the present invention is implemented.
[0062] The embodiments of the present invention have the following beneficial effects:
[0063] The present invention provides a simulation step adjustment method, device, terminal device and storage medium for electromagnetic transient simulation of a photovoltaic power station. The method comprises: obtaining power state time series data of the photovoltaic power station electromagnetic transient simulation system in a preset time period; wherein the power state time series data comprises: total active output time series data of the photovoltaic power station, total reactive output time series data of the photovoltaic power station, output current time series data of the photovoltaic power station, output voltage time series data of the photovoltaic power station and output frequency time series data of the photovoltaic power station; then, according to the power state time series data in the preset time period, calculating the power state data influencing factor in the preset time period; then According to the influence factor of the power state data in a preset time period, the simulation step adjustment index prediction value at the next moment is calculated; then the simulation step size of the photovoltaic power station electromagnetic transient simulation system at the current moment is obtained; if the simulation step adjustment index prediction value at the next moment is not less than the preset adjustment index prediction threshold, the simulation step size at the next moment is calculated according to the simulation step adjustment index prediction value at the next moment and the simulation step size at the current moment; otherwise, the simulation step size at the current moment is used as the simulation step size at the next moment; finally, the photovoltaic power station electromagnetic transient simulation system is simulated according to the simulation step size at the next moment. Therefore, the present invention obtains the power state time series data obtained by the photovoltaic power station electromagnetic transient simulation system, and predicts the simulation step adjustment index at the next moment based on the power state time series data, and finally determines the simulation step size at the next moment by comparing the predicted simulation step adjustment index prediction value at the next moment with the preset adjustment index prediction threshold, so that when performing simulation, the simulation step size can be adaptively adjusted based on the actual power state time series data of the simulation system at the moment to adapt to the current actual simulation calculation situation, thereby improving the simulation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the implementation. Obviously, the drawings described below are only some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0065] Figure 1The present invention provides a flow chart of a method for adjusting the simulation step size of electromagnetic transient simulation of a photovoltaic power station according to an embodiment of the present invention.
[0066] Figure 2 The present invention is a schematic structural diagram of a simulation step-size adjustment device for electromagnetic transient simulation of a photovoltaic power station provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0067] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.
[0068] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.
[0069] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.
[0070] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0071] In the description of the embodiments of this application, the term "and / or" is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the following three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.
[0072] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).
[0073] In the description of the embodiments of the present application, unless otherwise expressly specified or limited, technical terms such as "installed," "connected," "connected," and "fixed" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integration; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; internal connections between two components or interactions between two components. Those skilled in the art can understand the specific meanings of the above terms in the embodiments of the present application based on specific circumstances.
[0074] See also Figure 1 In order to solve the problem in the prior art that it is difficult to simulate photovoltaic power plants efficiently due to limited simulation resources and complex simulation calculations due to large simulation scale and fixed simulation step size, an embodiment of the present invention provides a simulation step size adjustment method for electromagnetic transient simulation of photovoltaic power plants, comprising:
[0075] Step S101: Obtaining power state time series data of a photovoltaic power station electromagnetic transient simulation system during a preset time period; wherein the power state time series data includes: time series data of the total active output of the photovoltaic power station, time series data of the total reactive output of the photovoltaic power station, time series data of the output current of the photovoltaic power station, time series data of the output voltage of the photovoltaic power station, and time series data of the output frequency of the photovoltaic power station;
[0076] Specifically, it is necessary to obtain the total active output of the photovoltaic power station, the total reactive output of the photovoltaic power station, the output current of the photovoltaic power station, the output voltage of the photovoltaic power station and the output frequency of the photovoltaic power station output by the electromagnetic transient simulation system of the photovoltaic power station at each moment within a preset time period, and then obtain the corresponding time series data of each power state.
[0077] Among them, the time series data of each power state is as follows:
[0078]
[0079] Where, Indicates the total active power output time series data of the photovoltaic power station. Indicates the total active power output of the photovoltaic power station at time t1 within the preset period. Indicates the total active power output of the photovoltaic power station at time t2 within the preset period. Indicates t within the preset period i The total active power output of the photovoltaic power station at this moment, Indicates t within the preset periodn The total active power output of the photovoltaic power station at this moment, Indicates the total reactive power output time series data of the photovoltaic power station. Indicates the total reactive power output of the photovoltaic power station at time t1 within the preset time period. Indicates the total reactive power output of the photovoltaic power station at time t2 within the preset time period. Indicates t within the preset period i The total reactive power output of the photovoltaic power station at the moment, Indicates t within the preset period n The total reactive power output of the photovoltaic power station at the moment, Indicates the output current time series data of the photovoltaic power station, Represents the output current at time t1 within the preset period, Represents the output current at time t2 within the preset period, Indicates t within the preset period i The output current at this moment, Indicates t within the preset period n The output current at this moment, Indicates the output voltage timing data of the photovoltaic power station, Represents the output voltage at time t1 within the preset period, Represents the output voltage at time t2 within the preset period, Indicates t within the preset period i The output voltage at the moment, Indicates t within the preset period n The output voltage at the moment, Indicates the output frequency timing data of the photovoltaic power station, Indicates the output frequency at time t1 within the preset period, Indicates the output frequency at time t2 within the preset period, Indicates t within the preset period i The output frequency at the moment, Indicates t within the preset period n The output frequency at the moment.
[0080] Step S102: Calculating the power status data impact factor for the preset time period based on the power status time series data for the preset time period;
[0081] In a preferred embodiment, the calculation of the power status data impact factor in the preset time period based on the power status time series data in the preset time period includes:
[0082] Normalizing the power state time series data during the preset time period to obtain the normalized total active output during the preset time period, the normalized total reactive output during the preset time period, the normalized output current during the preset time period, the normalized output voltage during the preset time period, and the normalized output frequency during the preset time period;
[0083] The power status data impact factor during the preset period is calculated based on the normalized total active output during the preset period, the normalized total reactive output during the preset period, the normalized output current during the preset period, the normalized output voltage during the preset period, and the normalized output frequency during the preset period.
[0084] Specifically, the power status data impact factor is calculated using the following formula:
[0085]
[0086] Where, Indicates the preset time period t i The influencing factors of power status data at the moment, Indicates the preset time period t i Normalization at any moment always contributes to the work, Indicates the preset time period t i The normalized total reactive power output at the time, Indicates the preset time period t i The normalized output current at the moment, Indicates the preset time period t i The normalized output voltage at the moment, Indicates the preset time period t i Normalized output frequency at time .
[0087] In this preferred embodiment, the power status time series data is normalized first, and then the power status data influencing factor is calculated using the normalized power status time series data.
[0088] In another preferred embodiment, the above-mentioned normalization of the power state time series data during the preset period to obtain the normalized total active output during the preset period, the normalized total reactive output during the preset period, the normalized output current during the preset period, the normalized output voltage during the preset period, and the normalized output frequency during the preset period includes:
[0089] Extract the minimum total active power output value and the maximum total active power output value from the above photovoltaic power station total active power output time series data;
[0090] Extract the minimum total reactive output value and the maximum total reactive output value from the total reactive output time series data of the photovoltaic power station;
[0091] Extracting the minimum output current value and the maximum output current value from the output current time series data of the photovoltaic power station;
[0092] Extracting the minimum output voltage value and the maximum output voltage value from the output voltage time series data of the photovoltaic power station;
[0093] Extracting the minimum output frequency value and the maximum output frequency value from the output frequency time series data of the photovoltaic power station;
[0094] Based on the above minimum total active power output value, maximum total active power output value and the total active power output time series data of the photovoltaic power station, the normalized total active power output in the preset time period is calculated;
[0095] Calculate the normalized total reactive output in a preset time period based on the above minimum total reactive output value, maximum total reactive output value, and the total reactive output time series data of the photovoltaic power station;
[0096] Calculate the normalized output current in a preset time period based on the minimum output current value, the maximum output current value, and the output current time series data;
[0097] Calculate the normalized output voltage in a preset time period based on the minimum output voltage value, the maximum output voltage value, and the output voltage timing data;
[0098] The normalized output frequency in a preset time period is calculated based on the minimum output frequency value, the maximum output frequency value and the output frequency timing data.
[0099] Specifically, the time series data of each power state is normalized by the following formula:
[0100]
[0101] Where, Indicates the minimum total active power output value at n moments in the preset period. Indicates the maximum total active power output value at n moments in the preset period. Indicates the minimum total reactive power output value at n moments in the preset period. Indicates the maximum total reactive power output value at n moments in the preset period. Indicates the minimum output current value at n moments in the preset period, Indicates the maximum output current value at n moments in the preset period, Indicates the minimum output voltage value at n moments in a preset period, Indicates the maximum output voltage value at n moments in a preset period, Indicates the minimum output frequency value in n moments within the preset period. Indicates the maximum output frequency value among n moments in a preset time period.
[0102] In this preferred embodiment, the power status time series data is normalized through the minimum total active output value, the maximum total active output value, the total active output time series data of the photovoltaic power station, the minimum total reactive output value, the maximum total reactive output value, the total reactive output time series data of the photovoltaic power station, the minimum output current value, the maximum output current value, the output current time series data, the minimum output voltage value, the maximum output voltage value, the output voltage time series data, the minimum output frequency value, the maximum output frequency value and the output frequency time series data.
[0103] Step S103: Calculating a simulation step adjustment index prediction value at the next moment based on the power status data influencing factor during a preset period of time;
[0104] Specifically, the simulation step adjustment index is defined as:
[0105]
[0106] Where, Indicates t i The simulation step size adjustment index at time t.
[0107] In a preferred embodiment, the calculation of the simulation step adjustment index prediction value at the next moment based on the power status data influencing factor during the preset time period includes:
[0108] Calculate the normalized total active power output at the next moment, the normalized total reactive power output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment based on the power status data influencing factor at the preset time period and the power status time series data at the preset time period;
[0109] Specifically, the normalized total active output at the next moment, the normalized total reactive output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment are calculated by the following formula:
[0110]
[0111] Where, Indicates t n+1 Normalization at any moment always contributes to the work, Indicates t n+1 The normalized total reactive power output at the time, Indicates t n+1 The normalized output current at the moment, Indicates t n+1 The normalized output voltage at the moment, Indicates t n+1 The normalized output frequency at time , Indicates t n+1 The normalized value matrix corresponding to each state data at the moment, Represents the normalized data matrix of each state data at n moments within a preset period, A matrix representing the influencing factors of power status data in a preset period of time, Indicates the impact factor of the power status data at time t1 within the preset period, Indicates the impact factor of the power status data at time t2 within the preset period, Indicates the preset time period t n The influencing factors of power status data at the moment.
[0112] According to the normalized total active output at the next moment, the normalized total reactive output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment, the predicted value of the simulation step adjustment index at the next moment is calculated.
[0113] Specifically, the simulation step adjustment index prediction value is calculated according to the following formula:
[0114]
[0115] Where, Indicates t n+1 The simulation step size adjustment exponential prediction value at time t.
[0116] In this preferred embodiment, the predicted value of the simulation step adjustment index at the next moment is calculated based on the power status data influencing factor in the preset time period.
[0117] Step S104: obtaining the simulation step length of the photovoltaic power station electromagnetic transient simulation system at the current moment;
[0118] Specifically, if the current moment is not the initial moment of the simulation, the simulation step size at the current moment is calculated based on the state data impact factor in the previous preset time period.
[0119] Step S105: If the predicted value of the simulation step adjustment index at the next moment is not less than the preset adjustment index prediction threshold, the simulation step size at the next moment is calculated based on the predicted value of the simulation step adjustment index at the next moment and the simulation step size at the current moment; otherwise, the simulation step size at the current moment is used as the simulation step size at the next moment;
[0120] Specifically, the preset adjustment index prediction threshold is set to 0.635. If the simulation step adjustment index prediction value at the next moment is less than 0.635, the simulation step at the current moment is continued to be simulated at the next moment. If the simulation step adjustment index prediction value at the next moment is not less than 0.635, the simulation step at the next moment is calculated based on the simulation step adjustment index prediction value at the next moment and the simulation step at the current moment:
[0121]
[0122] Where h t+1 represents the simulation step size at time t+1, h t represents the simulation step size at time t.
[0123] Step S106: simulating the photovoltaic power station electromagnetic transient simulation system according to the simulation step size at the next moment.
[0124] Specifically, after determining the simulation step size at the next moment through comparison, simulation is performed according to the simulation step size at the next moment.
[0125] Based on the above method embodiments, the present invention provides corresponding device embodiments.
[0126] like Figure 2 As shown, an embodiment of the present invention provides a simulation step length adjustment device for electromagnetic transient simulation of a photovoltaic power station, comprising: a time series data acquisition module, an impact factor calculation module, an adjustment index prediction module, a simulation step length acquisition module, an adjustment index comparison module, and a simulation module;
[0127] The above-mentioned time series data acquisition module is used to obtain the power state time series data of the electromagnetic transient simulation system of the photovoltaic power station in a preset time period; wherein the above-mentioned power state time series data includes: the total active output time series data of the photovoltaic power station, the total reactive output time series data of the photovoltaic power station, the output current time series data of the photovoltaic power station, the output voltage time series data of the photovoltaic power station, and the output frequency time series data of the photovoltaic power station;
[0128] The above-mentioned impact factor calculation module is used to calculate the impact factor of the power status data in the preset time period based on the power status time series data in the preset time period;
[0129] The adjustment index prediction module is used to calculate the simulation step adjustment index prediction value at the next moment based on the power status data influencing factor in the preset time period;
[0130] The simulation step length acquisition module is used to obtain the simulation step length of the photovoltaic power station electromagnetic transient simulation system at the current moment;
[0131] The adjustment index comparison module is configured to calculate the simulation step length at the next moment based on the simulation step length adjustment index prediction value at the next moment and the simulation step length at the current moment when the simulation step length adjustment index prediction value at the next moment is not less than a preset adjustment index prediction threshold; otherwise, the simulation step length at the current moment is used as the simulation step length at the next moment;
[0132] The simulation module is used to simulate the photovoltaic power station electromagnetic transient simulation system according to the simulation step size at the next moment.
[0133] In a preferred embodiment, the impact factor calculation module includes:
[0134] Time series data normalization unit and normalized data calculation unit;
[0135] The time series data normalization unit is used to normalize the power state time series data in the preset time period to obtain the normalized total active output in the preset time period, the normalized total reactive output in the preset time period, the normalized output current in the preset time period, the normalized output voltage in the preset time period, and the normalized output frequency in the preset time period;
[0136] The above-mentioned normalized data calculation unit is used to calculate the power status data impact factor in the preset time period based on the normalized total active output in the preset time period, the normalized total reactive output in the preset time period, the normalized output current in the preset time period, the normalized output voltage in the preset time period, and the normalized output frequency in the preset time period.
[0137] In another preferred embodiment, the time series data normalization unit includes:
[0138] a total active output extreme value extraction subunit, a total reactive output extreme value extraction subunit, an output current extreme value extraction subunit, an output voltage extreme value extraction subunit, an output frequency extreme value extraction subunit, a total active output normalization subunit, a total reactive output normalization subunit, an output current normalization subunit, an output voltage normalization subunit, and an output frequency normalization subunit;
[0139] The total active power output extreme value extraction subunit is used to extract the minimum total active power output value and the maximum total active power output value from the total active power output time series data of the photovoltaic power station;
[0140] The total reactive output extreme value extraction subunit is used to extract the minimum total reactive output value and the maximum total reactive output value from the total reactive output time series data of the photovoltaic power station;
[0141] The output current extreme value extraction subunit is used to extract the minimum output current value and the maximum output current value from the output current time series data of the photovoltaic power station;
[0142] The output voltage extreme value extraction subunit is used to extract the minimum output voltage value and the maximum output voltage value from the output voltage time series data of the photovoltaic power station;
[0143] The output frequency extreme value extraction subunit is used to extract the minimum output frequency value and the maximum output frequency value from the output frequency time series data of the photovoltaic power station;
[0144] The total active power normalization subunit is used to calculate the normalized total active power output in a preset time period based on the minimum total active power output value, the maximum total active power output value and the total active power output time series data of the photovoltaic power station;
[0145] The total reactive power normalization subunit is used to calculate the normalized total reactive power in a preset time period based on the minimum total reactive power value, the maximum total reactive power value and the total reactive power time series data of the photovoltaic power station;
[0146] The output current normalization subunit is configured to calculate the normalized output current in a preset time period based on the minimum output current value, the maximum output current value, and the output current time series data;
[0147] The output voltage normalization subunit is configured to calculate the normalized output voltage within a preset time period based on the minimum output voltage value, the maximum output voltage value, and the output voltage timing data;
[0148] The output frequency normalization subunit is used to calculate the normalized output frequency in a preset time period according to the minimum output frequency value, the maximum output frequency value and the output frequency timing data.
[0149] In a preferred embodiment, the adjustment index prediction module includes:
[0150] Normalized data prediction unit and simulation step length calculation unit;
[0151] The normalized data prediction unit is configured to calculate the normalized total active power output at the next moment, the normalized total reactive power output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment based on the power state data influencing factor at the preset time period and the power state time series data at the preset time period;
[0152] The above-mentioned simulation step calculation unit is used to calculate the simulation step adjustment index prediction value at the next moment based on the normalized total active output at the next moment, the normalized total reactive output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment.
[0153] It should be noted that the device embodiment described above is merely illustrative, wherein the modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiment provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement it without making any creative effort. The above schematic diagram is merely an example of a simulation step adjustment device for electromagnetic transient simulation of a photovoltaic power station, and does not constitute a limitation on a simulation step adjustment device for electromagnetic transient simulation of a photovoltaic power station, and may include more or fewer components than shown in the figure, or a combination of certain components, or different components.
[0154] Based on the above method embodiment, the present invention provides a corresponding terminal device embodiment.
[0155] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the above-mentioned memory and configured to be executed by the above-mentioned processor. When the above-mentioned processor executes the above-mentioned computer program, it implements the simulation step adjustment method for electromagnetic transient simulation of a photovoltaic power station described in any embodiment of the present invention.
[0156] For example, in this embodiment, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the device.
[0157] The terminal device may be a computing device such as a desktop computer, a notebook computer, a PDA, or a cloud server. The device may include, but is not limited to, a processor and a memory;
[0158] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. The processor is the control center of the device, connecting the various parts of the device using various interfaces and lines.
[0159] The above-mentioned memory can be used to store the above-mentioned computer programs and / or modules. The above-mentioned processor realizes various functions of the above-mentioned device by running or executing the computer programs and / or modules stored in the above-mentioned memory, and calling the data stored in the memory. The above-mentioned memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; in addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0160] Based on the above method embodiment, the present invention provides a corresponding storage medium embodiment.
[0161] Another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the simulation step adjustment method for electromagnetic transient simulation of a photovoltaic power station described in any embodiment of the present invention.
[0162] In this embodiment, the storage medium is a computer-readable storage medium, and the computer program includes computer program code, which may be in source code form, object code form, an executable file, or some intermediate form. The computer-readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium.
[0163] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for adjusting the simulation step size of electromagnetic transient simulation of a photovoltaic power station, characterized in that: include: Obtaining power state time series data of the photovoltaic power station electromagnetic transient simulation system during a preset time period; wherein the power state time series data includes: total active output time series data of the photovoltaic power station, total reactive output time series data of the photovoltaic power station, output current time series data of the photovoltaic power station, output voltage time series data of the photovoltaic power station, and output frequency time series data of the photovoltaic power station; Calculate the power status data impact factor for the preset time period based on the power status time series data for the preset time period; According to the influencing factors of the power status data in the preset time period, the simulation step adjustment index prediction value at the next moment is calculated; Get the simulation step size of the photovoltaic power station electromagnetic transient simulation system at the current moment; If the predicted value of the simulation step adjustment index at the next moment is not less than the preset adjustment index prediction threshold, the simulation step at the next moment is calculated based on the predicted value of the simulation step adjustment index at the next moment and the simulation step at the current moment; otherwise, the simulation step at the current moment is used as the simulation step at the next moment; The photovoltaic power station electromagnetic transient simulation system is simulated according to the simulation step size at the next moment.
2. The method for adjusting the simulation step size of electromagnetic transient simulation of a photovoltaic power station according to claim 1, characterized in that: The calculating of the power status data impact factor in the preset time period according to the power status time series data in the preset time period includes: Normalizing the power state time series data during the preset period to obtain a normalized total active output during the preset period, a normalized total reactive output during the preset period, a normalized output current during the preset period, a normalized output voltage during the preset period, and a normalized output frequency during the preset period; The power status data impact factor during the preset period is calculated based on the normalized total active output during the preset period, the normalized total reactive output during the preset period, the normalized output current during the preset period, the normalized output voltage during the preset period, and the normalized output frequency during the preset period.
3. The method for adjusting the simulation step size of electromagnetic transient simulation of a photovoltaic power station according to claim 2, characterized in that: Normalizing the power state time series data during the preset period to obtain the normalized total active output during the preset period, the normalized total reactive output during the preset period, the normalized output current during the preset period, the normalized output voltage during the preset period, and the normalized output frequency during the preset period includes: Extracting a minimum total active power output value and a maximum total active power output value from the total active power output time series data of the photovoltaic power station; Extracting a minimum total reactive output value and a maximum total reactive output value from the total reactive output time series data of the photovoltaic power station; Extracting a minimum output current value and a maximum output current value from the output current time series data of the photovoltaic power station; Extracting a minimum output voltage value and a maximum output voltage value from the output voltage time series data of the photovoltaic power station; Extracting a minimum output frequency value and a maximum output frequency value from the output frequency time series data of the photovoltaic power station; Calculating the normalized total active output in a preset time period based on the minimum total active output value, the maximum total active output value, and the total active output time series data of the photovoltaic power station; Calculating a normalized total reactive output in a preset time period based on the minimum total reactive output value, the maximum total reactive output value, and the total reactive output time series data of the photovoltaic power station; Calculating a normalized output current in a preset time period according to the minimum output current value, the maximum output current value, and the output current time series data; Calculating a normalized output voltage within a preset time period based on the minimum output voltage value, the maximum output voltage value, and the output voltage timing data; The normalized output frequency in a preset time period is calculated based on the minimum output frequency value, the maximum output frequency value and the output frequency timing data.
4. The method for adjusting the simulation step size of electromagnetic transient simulation of a photovoltaic power station according to claim 3, characterized in that: The step of calculating the predicted value of the simulation step adjustment index at the next moment based on the power status data influencing factor in the preset time period includes: Calculate the normalized total active power output at the next moment, the normalized total reactive power output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment based on the power state data influencing factor during the preset time period and the power state time series data during the preset time period; According to the normalized total active output at the next moment, the normalized total reactive output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment, the predicted value of the simulation step adjustment index at the next moment is calculated.
5. A simulation step adjustment device for electromagnetic transient simulation of a photovoltaic power station, characterized in that: include: Time series data acquisition module, impact factor calculation module, adjustment index prediction module, simulation step acquisition module, adjustment index comparison module and simulation module; The time series data acquisition module is used to obtain the power state time series data of the photovoltaic power station electromagnetic transient simulation system in a preset time period; wherein the power state time series data includes: the total active output time series data of the photovoltaic power station, the total reactive output time series data of the photovoltaic power station, the output current time series data of the photovoltaic power station, the output voltage time series data of the photovoltaic power station, and the output frequency time series data of the photovoltaic power station; The impact factor calculation module is used to calculate the impact factor of the power status data in the preset time period based on the power status time series data in the preset time period; The adjustment index prediction module is used to calculate the simulation step adjustment index prediction value at the next moment based on the power status data influencing factor in the preset time period; The simulation step length acquisition module is used to obtain the simulation step length of the photovoltaic power station electromagnetic transient simulation system at the current moment; The adjustment index comparison module is used to calculate the simulation step length at the next moment based on the simulation step length adjustment index prediction value at the next moment and the simulation step length at the current moment when the simulation step length adjustment index prediction value at the next moment is not less than a preset adjustment index prediction threshold; otherwise, the simulation step length at the current moment is used as the simulation step length at the next moment; The simulation module is used to simulate the photovoltaic power station electromagnetic transient simulation system according to the simulation step size at a next moment.
6. The simulation step adjustment device for electromagnetic transient simulation of a photovoltaic power station according to claim 5, characterized in that: The impact factor calculation module includes: Time series data normalization unit and normalized data calculation unit; The time series data normalization unit is used to normalize the power state time series data in the preset time period to obtain the normalized total active output in the preset time period, the normalized total reactive output in the preset time period, the normalized output current in the preset time period, the normalized output voltage in the preset time period, and the normalized output frequency in the preset time period; The normalized data calculation unit is used to calculate the power status data impact factor in the preset time period based on the normalized total active output in the preset time period, the normalized total reactive output in the preset time period, the normalized output current in the preset time period, the normalized output voltage in the preset time period, and the normalized output frequency in the preset time period.
7. The simulation step adjustment device for electromagnetic transient simulation of a photovoltaic power station according to claim 6, characterized in that: The time series data normalization unit includes: a total active output extreme value extraction subunit, a total reactive output extreme value extraction subunit, an output current extreme value extraction subunit, an output voltage extreme value extraction subunit, an output frequency extreme value extraction subunit, a total active output normalization subunit, a total reactive output normalization subunit, an output current normalization subunit, an output voltage normalization subunit, and an output frequency normalization subunit; The total active power output extreme value extraction subunit is used to extract the minimum total active power output value and the maximum total active power output value from the total active power output time series data of the photovoltaic power station; The total reactive output extreme value extraction subunit is used to extract the minimum total reactive output value and the maximum total reactive output value from the total reactive output time series data of the photovoltaic power station; The output current extreme value extraction subunit is used to extract the minimum output current value and the maximum output current value from the output current time series data of the photovoltaic power station; The output voltage extreme value extraction subunit is used to extract the minimum output voltage value and the maximum output voltage value from the output voltage time series data of the photovoltaic power station; The output frequency extreme value extraction subunit is used to extract the minimum output frequency value and the maximum output frequency value from the output frequency time series data of the photovoltaic power station; The total active power normalization subunit is configured to calculate the normalized total active power output in a preset time period based on the minimum total active power output value, the maximum total active power output value, and the total active power output time series data of the photovoltaic power station; The total reactive power normalization subunit is configured to calculate the normalized total reactive power in a preset time period based on the minimum total reactive power value, the maximum total reactive power value, and the total reactive power time series data of the photovoltaic power station; The output current normalization subunit is configured to calculate a normalized output current in a preset time period based on the minimum output current value, the maximum output current value, and the output current time series data; The output voltage normalization subunit is configured to calculate a normalized output voltage within a preset time period based on the minimum output voltage value, the maximum output voltage value, and the output voltage timing data; The output frequency normalization subunit is used to calculate the normalized output frequency in a preset time period according to the minimum output frequency value, the maximum output frequency value and the output frequency timing data.
8. The simulation step adjustment device for electromagnetic transient simulation of a photovoltaic power station according to claim 7, characterized in that: The adjustment index prediction module includes: Normalized data prediction unit and simulation step length calculation unit; The normalized data prediction unit is configured to calculate the normalized total active output at a next moment, the normalized total reactive output at a next moment, the normalized output current at a next moment, the normalized output voltage at a next moment, and the normalized output frequency at a next moment based on the power state data influencing factor at a preset time period and the power state time series data at the preset time period; The simulation step calculation unit is used to calculate the predicted value of the simulation step adjustment index at the next moment based on the normalized total active output at the next moment, the normalized total reactive output at the next moment, the normalized output current at the next moment, the normalized output voltage at the next moment, and the normalized output frequency at the next moment.
9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the method for adjusting the simulation step size of electromagnetic transient simulation of a photovoltaic power station according to any one of claims 1 to 4 is implemented.
10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the simulation step adjustment method for electromagnetic transient simulation of a photovoltaic power station according to any one of claims 1 to 4.