CN116911031A - Data processing method, device and storage medium for simulation data interface - Google Patents
Data processing method, device and storage medium for simulation data interface Download PDFInfo
- Publication number
- CN116911031A CN116911031A CN202310894288.0A CN202310894288A CN116911031A CN 116911031 A CN116911031 A CN 116911031A CN 202310894288 A CN202310894288 A CN 202310894288A CN 116911031 A CN116911031 A CN 116911031A
- Authority
- CN
- China
- Prior art keywords
- data
- software
- interface
- pscad
- adpss
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 128
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 101100499229 Mus musculus Dhrsx gene Proteins 0.000 claims abstract description 33
- 238000012545 processing Methods 0.000 claims abstract description 27
- 230000001052 transient effect Effects 0.000 claims abstract description 25
- 238000000034 method Methods 0.000 claims abstract description 15
- 238000012937 correction Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 18
- 238000007781 pre-processing Methods 0.000 claims description 6
- 230000008859 change Effects 0.000 description 12
- 238000004364 calculation method Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011960 computer-aided design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
Abstract
The application discloses a data processing method, a device and a storage medium of a simulation data interface, wherein the method comprises the following steps: acquiring current moment interface data of a data interface of each PSCAD software and ADPSS software; the ADPSS software comprises a plurality of nodes, and each PSCAD software transmits electromagnetic transient simulation data to the corresponding node of the ADPSS software through the data interface; generating a variation predicted value of the interface data of each PSCAD software according to the current moment interface data of each PSCAD software; and generating next time interface data of each PSCAD software by combining the current time interface data of each PSCAD software according to the corrected variation predicted value so as to improve the accuracy of invoking the PSCAD model interface based on the ADPSS and improve the processing efficiency of the interface data.
Description
Technical Field
The present application relates to the field of power systems, and in particular, to a data processing method, apparatus, and storage medium for a simulation data interface.
Background
At present, a combined simulation method of an ADPSS (full digital simulation device of a power system) and a PSCAD (Power Systems Computer Aided Design) model embeds a dynamic reactive power equipment and new energy equipment model in PSCAD into an ADPSS large power grid simulation model, and further develops electromagnetic transient simulation of a large power grid containing a detailed electromagnetic model of a reactive power compensation device.
In the existing ADPSS and PSCAD joint simulation, errors of communication modes and interaction time sequences of the joint simulation of the PSCAD and the ADPSS exist, the prior art does not consider the change of transmission information in a data interface, and the change of the transmission information is not processed in a targeted manner, so that the invoking accuracy of the data interface of the PSCAD reactive compensation system model based on the ADPSS is low, the interface data processing efficiency is low, the model conversion accuracy is low, and the model comparison simulation analysis efficiency is low. Meanwhile, the ductility of the ADPSS program using a data interface is low, and the accuracy of the electromagnetic transient model of the power grid is low.
Disclosure of Invention
The application provides a data processing method, a device and a storage medium of a simulation data interface, which are used for improving the accuracy of invoking a PSCAD model interface based on ADPSS and improving the data processing efficiency of the interface.
The application provides a data processing method of a simulation data interface, which comprises the following steps: acquiring current moment interface data of a data interface of each PSCAD software and ADPSS software; the ADPSS software comprises a plurality of nodes, and each PSCAD software transmits electromagnetic transient simulation data to the corresponding node of the ADPSS software through the data interface;
generating a variation predicted value of the interface data of each PSCAD software according to the current moment interface data of each PSCAD software; and generating next time interface data of each PSCAD software by combining the current time interface data of each PSCAD software according to the corrected variation predicted value.
As a preferred scheme, each PSCAD software transmits electromagnetic transient simulation data to the corresponding node of the ADPSS software through the data interface, one-to-one electromagnetic transient simulation data interfaces of the ADPSS software and a plurality of PSCAD software are considered, the accuracy of calling the PSCAD model interface based on the ADPSS and the ductility of the data interface are improved through data processing of each data interface, the data change amount in the data interface at the next moment is predicted through reading and processing calculation of the interface data at the current moment of each data interface, the data transmitted to the ADPSS software by the PSCAD software, namely the interface data at the next moment, can be corrected according to the predicted value of the data change amount, the interface data processing efficiency is improved, and the accuracy of the electromagnetic transient model result of a power grid is further improved.
Further, the current time interface data of the data interface of each PSCAD software and the ADPSS software is obtained, specifically:
acquiring simulation result data of each PSCAD software at the current moment and voltage values and reactive load values of nodes of ADPSS software corresponding to each PSCAD software as current moment interface data through a corresponding data interface; the simulation result data comprise voltage simulation result data and reactive power output simulation result data of reactive power compensation equipment; each PSCAD software corresponds to one data interface; each of the data interfaces corresponds to a node of the ADPSS software.
Further, according to the current time interface data of each PSCAD software, generating the variation predicted value of the interface data of all PSCAD software, specifically:
normalizing the interface data of all the PSCAD software at the current moment; generating a variable quantity initial value of the current time interface data transmitted to the ADPSS by each PSCAD software according to the normalized current time interface data; and correcting the initial value of the variation to generate predicted values of the variation of the interface data of all PSCAD software.
Further, the interface data of the current time of all the PSCAD software is normalized, specifically:
normalizing simulation result data of each PSCAD software at the current moment and voltage values and reactive load values of nodes of ADPSS software corresponding to each PSCAD software:
wherein U is i,t,pscad The voltage simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; q (Q) i,t,pscad The reactive power output simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; u (U) i,t,adpss The voltage value of the ith node in the corresponding ADPSS software; q (Q) i,t,adpss The reactive load value of the ith node in the corresponding ADPSS software is obtained; q (Q) i,adpss,max And U i,adpss,max The maximum value of reactive load values and the maximum value of voltage values of an ith node of the power grid in ADPSS software are respectively; q (Q) i,pscad,max And U i,pscad,max The maximum value of the reactive output value and the maximum value of the voltage value of the reactive compensation equipment in the ith PSCAD software are respectively obtained.
Further, the initial value of the variation is corrected, and a predicted value of the variation of the interface data of each PSCAD software is generated, specifically:
and correcting the initial value of the variation by combining the correction coefficient, the initial value of the variation and the normalized interface data at the current moment:
wherein the correction coefficient K ISE Calculating according to the number of the data interfaces;the initial value of the variation of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; />The variation prediction value of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; b adpss The simulation step length of ADPSS software; b pscad The simulation step length of PSCAD software; m is the iteration number; n is the number of nodes in the ADPSS software.
Further, according to the corrected variation predicted value, combining the current time interface data of each piece of PSCAD software to generate the next time interface data of each piece of PSCAD software, wherein the specific steps are as follows:
judging whether the corrected variation predicted value of each data interface is smaller than a preset threshold value or not;
if the corrected variation predicted value of the current data interface is smaller than a preset threshold value, ignoring the variation of the simulation result data of the current data interface at the next moment and the simulation result data of the current moment, generating corresponding interface data of PSCAD software at the next moment, and transmitting the interface data to ADPSS software through the current data interface;
if the corrected variation predicted value of the current data interface is not smaller than the preset threshold, generating the next moment interface data of the current data interface, and calculating as follows:
wherein, the current data interface is set to correspond to the ith node in PSCAD software, Q i,t+Δt,adpss And U i,t+Δt,adpss Reactive power output data and voltage data of nodes at the next moment of the current data interface are respectively obtained.
Correspondingly, the application also provides a data processing device for simulating the data interface, which comprises: the system comprises an acquisition module, a prediction module and a data generation module;
the acquisition module is used for acquiring current moment interface data of a data interface of each PSCAD software and each ADPSS software; the ADPSS software comprises a plurality of nodes, and each PSCAD software transmits electromagnetic transient simulation data to the corresponding node of the ADPSS software through the data interface;
the prediction module is used for generating a variation prediction value of the interface data of each PSCAD software according to the current moment interface data of each PSCAD software;
the data generation module is used for generating next-moment interface data of each PSCAD software according to the corrected variation predicted value and combining the current-moment interface data of each PSCAD software.
As a preferred scheme, the device acquisition module transmits electromagnetic transient simulation data to the node corresponding to the ADPSS software through each PSCAD software through the data interface, one-to-one electromagnetic transient simulation data interfaces of the ADPSS software and a plurality of PSCAD software are considered, the accuracy of calling the PSCAD model interface based on the ADPSS and the ductility of the data interface are improved through data processing of each data interface, and the prediction module predicts the data change amount in the data interface at the next moment through reading and processing calculation of the interface data at the current moment of each data interface, and the data generation module can correct the data transmitted to the ADPSS software by the PSCAD software according to the predicted value of the data change amount, namely the interface data at the next moment, so that the interface data processing efficiency is improved, and the accuracy of the electromagnetic transient model result of a power grid is further improved.
Further, the prediction module includes: a preprocessing unit and a correction unit;
the preprocessing unit is used for normalizing simulation result data of each PSCAD software at the current moment and voltage values and reactive load values of nodes of ADPSS software corresponding to each PSCAD software:
wherein U is i,t,pscad The voltage simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; q (Q) i,t,pscad The reactive power output simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; u (U) i,t,adpss The voltage value of the ith node in the corresponding ADPSS software; q (Q) i,t,adpss The reactive load value of the ith node in the corresponding ADPSS software is obtained; q (Q) i,adpss,max And U i,adpss,max The maximum value of reactive load values and the maximum value of voltage values of an ith node of the power grid in ADPSS software are respectively; q (Q) i,pscad,max And U i,pscad,max The maximum value of the reactive output value and the maximum value of the voltage value of the reactive compensation equipment in the ith PSCAD software are respectively;
the correction unit is used for correcting the initial value of the variation by combining the correction coefficient, the initial value of the variation and the normalized interface data at the current moment:
wherein the correction coefficient K ISE Calculating according to the number of the data interfaces;the initial value of the variation of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; />The variation prediction value of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; b adpss The simulation step length of ADPSS software; b pscad The simulation step length of PSCAD software; m is the iteration number; n is the number of nodes in the ADPSS software.
Further, the data generation module includes: a judging unit and a generating unit;
the judging unit is used for judging whether the corrected variation predicted value of each data interface is smaller than a preset threshold value;
the generating unit is used for ignoring the variation of the simulation result data of the current data interface at the next moment and the simulation result data of the current moment if the corrected variation predicted value of the current data interface is smaller than a preset threshold value, generating corresponding interface data of the PSCAD software at the next moment and transmitting the interface data to ADPSS software through the current data interface;
if the corrected variation predicted value of the current data interface is not smaller than the preset threshold, generating the next moment interface data of the current data interface, and calculating as follows:
wherein, the current data interface is set to correspond to the ith node in PSCAD software, Q i,t+Δt,adpss And U i,t+Δt,adpss Reactive power output data and voltage data of nodes at the next moment of the current data interface are respectively obtained.
Accordingly, the present application also provides a computer-readable storage medium including a stored computer program; wherein, the computer program controls the equipment of the computer readable storage medium to execute a data processing method of the simulation data interface according to the application when running.
Drawings
FIG. 1 is a flow chart of an embodiment of a data processing method for a simulated data interface provided by the present application;
FIG. 2 is a schematic diagram of an embodiment of a data processing apparatus for emulating a data interface provided by the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Example 1
Referring to fig. 1, a data processing method of a simulation data interface according to an embodiment of the present application includes steps S101-S102:
step S101: acquiring current moment interface data of a data interface of each PSCAD software and ADPSS software; the ADPSS software comprises a plurality of nodes, and each PSCAD software transmits electromagnetic transient simulation data to the corresponding node of the ADPSS software through the data interface;
further, the current time interface data of the data interface of each PSCAD software and the ADPSS software is obtained, specifically:
acquiring simulation result data of each PSCAD software at the current moment and voltage values and reactive load values of nodes of ADPSS software corresponding to each PSCAD software as current moment interface data through a corresponding data interface; the simulation result data comprise voltage simulation result data and reactive power output simulation result data of reactive power compensation equipment; each PSCAD software corresponds to one data interface; each of the data interfaces corresponds to a node of the ADPSS software.
In this embodiment, for the data interfaces between the plurality of PSCAD software and one adcs software, only the simulation data of one reactive compensation device in the power system model in each PSCAD software is transmitted to one node of the power system model in the adcs software. Illustratively, if there are n PSCAD software in total, the i-th PSCAD software transmits its simulation data to the i-th node of the adcsp software via data interface i, i e {1,2, 3..the., n }, where n is a natural number. The ith PSCAD software and the ith data interface are in one-to-one correspondence with the ith node of the ADPSS software, and the number of the ith PSCAD software and the ith data interface is the same.
As an example of one of the embodiments, the advss software and the 3 PSCAD software are combined with electromagnetic transient simulation to form 3 interfaces, that is, the reactive power compensation equipment model with the 3 PSCAD software transmits data to 3 nodes corresponding to the power grid in the 1 advss software through the 3 interfaces.
Reading voltage simulation result data U of reactive power compensation equipment in ith PSCAD electromagnetic transient simulation software corresponding to current time t i,t,pscad Reactive power output simulation result data Q of reactive power compensation equipment in ith PSCAD electromagnetic transient simulation software corresponding to current time t i,t,pscad Voltage value U of ith node in ADPSS software corresponding to current time t i,t,adpss Reactive load value Q of ith node in ADPSS software corresponding to current time t i,t,adpss The data obtained are as follows:
step S102: generating a variation predicted value of the interface data of each PSCAD software according to the current moment interface data of each PSCAD software; and generating next time interface data of each PSCAD software by combining the current time interface data of each PSCAD software according to the corrected variation predicted value.
Further, according to the current time interface data of each PSCAD software, generating the variation predicted value of the interface data of all PSCAD software, specifically:
normalizing the interface data of all the PSCAD software at the current moment; generating a variable quantity initial value of the current time interface data transmitted to the ADPSS by each PSCAD software according to the normalized current time interface data; and correcting the initial value of the variation to generate predicted values of the variation of the interface data of all PSCAD software.
Further, the interface data of the current time of all the PSCAD software is normalized, specifically:
normalizing simulation result data of each PSCAD software at the current moment and voltage values and reactive load values of nodes of ADPSS software corresponding to each PSCAD software:
wherein U is i,t,pscad The voltage simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; q (Q) i,t,pscad The reactive power output simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; u (U) i,t,adpss The voltage value of the ith node in the corresponding ADPSS software; q (Q) i,t,adpss The reactive load value of the ith node in the corresponding ADPSS software is obtained; q (Q) i,adpss,max And U i,adpss,max The maximum value of reactive load values and the maximum value of voltage values of an ith node of the power grid in ADPSS software are respectively; q (Q) i,pscad,max And U i,pscad,max The maximum value of the reactive output value and the maximum value of the voltage value of the reactive compensation equipment in the ith PSCAD software are respectively obtained.
In this embodiment, the variation of the simulation data in Δt time of initializing the 3 PSCAD software is:
wherein, the liquid crystal display device comprises a liquid crystal display device,the method is characterized in that the method is the initial value of the data variable quantity of the multi-software combined electromagnetic transient simulation interface i, namely the initial value of the data variable quantity transmitted to ADPSS software by the ith PSCAD software, and i is E {1,2,3}.
Further, the initial value of the variation is corrected, and a predicted value of the variation of the interface data of each PSCAD software is generated, specifically:
and correcting the initial value of the variation by combining the correction coefficient, the initial value of the variation and the normalized interface data at the current moment:
wherein the correction coefficient K ISE Calculating according to the number of the data interfaces;the initial value of the variation of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; />The variation prediction value of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; b adpss The simulation step length of ADPSS software; b pscad The simulation step length of PSCAD software; m is the iteration number; n is the number of nodes in the ADPSS software.
In this embodiment, the threshold of the number of data interfaces is set to 5, and when the number of data interfaces, that is, the number of joint simulation interfaces is less than 5, the correction coefficient is set to 0.99; and when the number of the joint simulation interfaces is more than or equal to 5, setting the correction coefficient to be 0.95.
Further, according to the corrected variation predicted value, combining the current time interface data of each piece of PSCAD software to generate the next time interface data of each piece of PSCAD software, wherein the specific steps are as follows:
judging whether the corrected variation predicted value of each data interface is smaller than a preset threshold value or not;
if the corrected variation predicted value of the current data interface is smaller than a preset threshold value, ignoring the variation of the simulation result data of the current data interface at the next moment and the simulation result data of the current moment, generating corresponding interface data of PSCAD software at the next moment, and transmitting the interface data to ADPSS software through the current data interface;
if the corrected variation predicted value of the current data interface is not smaller than the preset threshold, generating the next moment interface data of the current data interface, and calculating as follows:
wherein, the current data interface is set to correspond to the ith node in PSCAD software, Q i,t+Δt,adpss And U i,t+Δt,adpss Reactive power output data and voltage data of nodes at the next moment of the current data interface are respectively obtained.
In this embodiment, since the number of joint simulation interfaces is 3, K is ISE 0.99; m is the iteration number and is set to 80. After 10 iterations, obtaining the data change prediction correction value of the joint electromagnetic transient simulation interface of 3 interfaces as follows
After the iteration is performed 80 times, if the predicted value of the data change amount of the ith interface is smaller than 0.005 according to the calculated data change amount of the ith interface, the data change amount of the ith interface at the next moment is considered to be negligible, and reactive power output and voltage data of the ith PSCAD software at the next moment are directly transmitted to ADPSS software through the interfaces.
The implementation of the embodiment of the application has the following effects:
according to the application, each PSCAD software transmits electromagnetic transient simulation data to the corresponding node of the ADPSS software through the data interface, one-to-one electromagnetic transient simulation data interfaces of the ADPSS software and a plurality of PSCAD software are considered, and the accuracy of calling the PSCAD model interface and the ductility of the data interface based on the ADPSS are improved through data processing of each data interface.
Example two
Referring to fig. 2, a data processing apparatus for simulating a data interface according to an embodiment of the present application includes: an acquisition module 201, a prediction module 202 and a data generation module 203;
the acquiring module 201 is configured to acquire current time interface data of a data interface of each PSCAD software and an adcsp software; the ADPSS software comprises a plurality of nodes, and each PSCAD software transmits electromagnetic transient simulation data to the corresponding node of the ADPSS software through the data interface;
the prediction module 202 is configured to generate a variation prediction value of the interface data of each PSCAD software according to the current interface data of each PSCAD software;
the data generating module 203 is configured to generate interface data of the next time of each psccad software according to the corrected variation predicted value and in combination with the current time interface data of each psccad software.
The prediction module 202 includes: a preprocessing unit and a correction unit;
the preprocessing unit is used for normalizing simulation result data of each PSCAD software at the current moment and voltage values and reactive load values of nodes of ADPSS software corresponding to each PSCAD software:
wherein U is i,t,pscad The voltage simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; q (Q) i,t,pscad The reactive power output simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; u (U) i,t,adpss The voltage value of the ith node in the corresponding ADPSS software; q (Q) i,t,adpss The reactive load value of the ith node in the corresponding ADPSS software is obtained; q (Q) i,adpss,max And U i,adpss,max The maximum value of reactive load values and the maximum value of voltage values of an ith node of the power grid in ADPSS software are respectively; q (Q) i,pscad,max And U i,pscad,max Respectively isThe method comprises the steps of (1) setting the maximum value of reactive output value and the maximum value of voltage value of reactive compensation equipment in the ith PSCAD software;
the correction unit is used for correcting the initial value of the variation by combining the correction coefficient, the initial value of the variation and the normalized interface data at the current moment:
wherein the correction coefficient K ISE Calculating according to the number of the data interfaces;the initial value of the variation of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; />The variation prediction value of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; b adpss The simulation step length of ADPSS software; b pscad The simulation step length of PSCAD software; m is the iteration number; n is the number of nodes in the ADPSS software.
The data generation module 203 includes: a judging unit and a generating unit;
the judging unit is used for judging whether the corrected variation predicted value of each data interface is smaller than a preset threshold value;
the generating unit is used for ignoring the variation of the simulation result data of the current data interface at the next moment and the simulation result data of the current moment if the corrected variation predicted value of the current data interface is smaller than a preset threshold value, generating corresponding interface data of the PSCAD software at the next moment and transmitting the interface data to ADPSS software through the current data interface;
if the corrected variation predicted value of the current data interface is not smaller than the preset threshold, generating the next moment interface data of the current data interface, and calculating as follows:
wherein, the current data interface is set to correspond to the ith node in PSCAD software, Q i,t+Δt,adpss And U i,t+Δt,adpss Reactive power output data and voltage data of nodes at the next moment of the current data interface are respectively obtained.
The data processing device of the simulation data interface can implement the data processing method of the simulation data interface of the method embodiment. The options in the method embodiments described above are also applicable to this embodiment and will not be described in detail here. The rest of the embodiments of the present application may refer to the content of the above method embodiments, and in this embodiment, no further description is given.
The implementation of the embodiment of the application has the following effects:
according to the device, the acquisition module transmits electromagnetic transient simulation data to the node corresponding to the ADPSS software through each data interface, one-to-one electromagnetic transient simulation data interfaces of the ADPSS software and a plurality of PSCAD software are considered, the accuracy of calling the PSCAD model interface based on the ADPSS and the ductility of the data interfaces are improved through data processing of each data interface, the prediction module predicts the data change amount in the data interface at the next moment through reading and processing calculation of the interface data at the current moment of each data interface, and the data generation module can correct the data transmitted to the ADPSS software by the PSCAD software according to the predicted value of the data change amount, namely the interface data at the next moment, so that the interface data processing efficiency is improved, and the accuracy of the electromagnetic transient model result of a power grid is further improved.
Example III
Correspondingly, the application further provides a computer readable storage medium, which comprises a stored computer program, wherein the computer program controls equipment where the computer readable storage medium is located to execute the data processing method of the simulation data interface according to any embodiment.
The computer program may be divided into one or more modules/units, which are stored in the memory and executed by the processor to accomplish the present application, for example. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used for describing the execution of the computer program in the terminal device.
The terminal equipment can be computing equipment such as a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The terminal device may include, but is not limited to, a processor, a memory.
The processor may be a central processing unit (Central Processing Unit, CPU), or other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific integrated Circuit, ASiC), field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the terminal device, and which connects various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store the computer program and/or the module, and the processor may implement various functions of the terminal device by running or executing the computer program and/or the module stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for each function, and the like; the storage data area may store data created according to the use of the mobile terminal, etc. In addition, the memory may include high-speed random access memory, and may also include nonvolatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), each disk storage device, flash memory device, or other volatile solid state storage device.
Wherein the terminal device integrated modules/units may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as stand alone products. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present application, and are not to be construed as limiting the scope of the application. It should be noted that any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and principles of the present application are intended to be included in the scope of the present application.
Claims (10)
1. A data processing method of a simulation data interface, comprising:
acquiring current moment interface data of a data interface of each PSCAD software and ADPSS software; the ADPSS software comprises a plurality of nodes, and each PSCAD software transmits electromagnetic transient simulation data to the corresponding node of the ADPSS software through the data interface;
generating a variation predicted value of the interface data of each PSCAD software according to the current moment interface data of each PSCAD software; and generating next time interface data of each PSCAD software by combining the current time interface data of each PSCAD software according to the corrected variation predicted value.
2. The method for processing data of a simulation data interface according to claim 1, wherein the step of obtaining the current time interface data of the data interface of each PSCAD software and the adcsp software specifically comprises:
acquiring simulation result data of each PSCAD software at the current moment and voltage values and reactive load values of nodes of ADPSS software corresponding to each PSCAD software as current moment interface data through a corresponding data interface; the simulation result data comprise voltage simulation result data and reactive power output simulation result data of reactive power compensation equipment; each PSCAD software corresponds to one data interface; each of the data interfaces corresponds to a node of the ADPSS software.
3. The method for processing data of a simulation data interface according to claim 2, wherein the generating the variation prediction value of the interface data of all the PSCAD software according to the current interface data of each PSCAD software specifically comprises:
normalizing the interface data of each PSCAD software at the current moment; generating a variable quantity initial value of the current time interface data transmitted to the ADPSS by each PSCAD software according to the normalized current time interface data; and correcting the initial value of the variation to generate predicted values of the variation of the interface data of all PSCAD software.
4. A method for processing data of a simulation data interface according to claim 3, wherein the normalizing the interface data of all the PSCAD software at the current time is specifically:
normalizing simulation result data of each PSCAD software at the current moment and voltage values and reactive load values of nodes of ADPSS software corresponding to each PSCAD software:
wherein U is i,t,pscad The voltage simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; q (Q) i,t,pscad The reactive power output simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; u (U) i,t,adpss The voltage value of the ith node in the corresponding ADPSS software; q (Q) i,t,adpss The reactive load value of the ith node in the corresponding ADPSS software is obtained; q (Q) i,adpss,max And U i,adpss,max The maximum value of reactive load values and the maximum value of voltage values of an ith node of the power grid in ADPSS software are respectively; q (Q) i,pscad,max And U i,pscad,max The maximum value of the reactive output value and the maximum value of the voltage value of the reactive compensation equipment in the ith PSCAD software are respectively obtained.
5. The method for processing data of a simulation data interface according to claim 4, wherein the correcting the initial value of the variation generates a predicted value of the variation of the interface data of each of the PSCAD software, specifically:
and correcting the initial value of the variation by combining the correction coefficient, the initial value of the variation and the normalized interface data at the current moment:
wherein the correction coefficient K ISE Calculating according to the number of the data interfaces;the initial value of the variation of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; />The variation prediction value of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; b adpss The simulation step length of ADPSS software; b pscad The simulation step length of PSCAD software; m is the iteration number; n is the number of nodes in the ADPSS software.
6. The method for processing data of a simulation data interface according to claim 5, wherein the generating the next time interface data of each of the PSCAD software according to the corrected variation predicted value and the current time interface data of each of the PSCAD software specifically comprises:
judging whether the corrected variation predicted value of each data interface is smaller than a preset threshold value or not;
if the corrected variation predicted value of the current data interface is smaller than a preset threshold value, ignoring the variation of the simulation result data of the current data interface at the next moment and the simulation result data of the current moment, generating corresponding interface data of PSCAD software at the next moment, and transmitting the interface data to ADPSS software through the current data interface;
if the corrected variation predicted value of the current data interface is not smaller than the preset threshold, generating the next moment interface data of the current data interface, and calculating as follows:
wherein, the current data interface is set to correspond to the ith node in PSCAD software, Q i,t+Δt,adpss And U i,t+Δt,adpss Reactive power output data and voltage data of nodes at the next moment of the current data interface are respectively obtained.
7. A data processing apparatus emulating a data interface, comprising: the system comprises an acquisition module, a prediction module and a data generation module;
the acquisition module is used for acquiring current moment interface data of a data interface of each PSCAD software and each ADPSS software; the ADPSS software comprises a plurality of nodes, and each PSCAD software transmits electromagnetic transient simulation data to the corresponding node of the ADPSS software through the data interface;
the prediction module is used for generating a variation prediction value of the interface data of each PSCAD software according to the current moment interface data of each PSCAD software;
the data generation module is used for generating next-moment interface data of each PSCAD software according to the corrected variation predicted value and combining the current-moment interface data of each PSCAD software.
8. The data processing apparatus of claim 7, wherein the prediction module comprises: a preprocessing unit and a correction unit;
the preprocessing unit is used for normalizing simulation result data of each PSCAD software at the current moment and voltage values and reactive load values of nodes of ADPSS software corresponding to each PSCAD software:
wherein U is i,t,pscad The voltage simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; q (Q) i,t,pscad The reactive power output simulation result data of the reactive power compensation equipment at the current moment in the ith PSCAD software; u (U) i,t,adpss The voltage value of the ith node in the corresponding ADPSS software; q (Q) i,t,adpss The reactive load value of the ith node in the corresponding ADPSS software is obtained; q (Q) i,adpss,max And U i,adpss,max The maximum value of reactive load values and the maximum value of voltage values of an ith node of the power grid in ADPSS software are respectively; q (Q) i,pscad,max And U i,pscad,max The maximum value of the reactive output value and the maximum value of the voltage value of the reactive compensation equipment in the ith PSCAD software are respectively;
the correction unit is used for correcting the initial value of the variation by combining the correction coefficient, the initial value of the variation and the normalized interface data at the current moment:
wherein the correction coefficient K ISE Calculating according to the number of the data interfaces;the initial value of the variation of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; />The variation prediction value of the simulation result data of the ith PSCAD software at the next moment and the simulation result data at the current moment is obtained; b adpss The simulation step length of ADPSS software; b pscad The simulation step length of PSCAD software; m is the iteration number; n is the number of nodes in the ADPSS software.
9. The data processing apparatus of claim 7, wherein the data generation module comprises: a judging unit and a generating unit;
the judging unit is used for judging whether the corrected variation predicted value of each data interface is smaller than a preset threshold value;
the generating unit is used for ignoring the variation of the simulation result data of the current data interface at the next moment and the simulation result data of the current moment if the corrected variation predicted value of the current data interface is smaller than a preset threshold value, generating corresponding interface data of the PSCAD software at the next moment and transmitting the interface data to ADPSS software through the current data interface;
if the corrected variation predicted value of the current data interface is not smaller than the preset threshold, generating the next moment interface data of the current data interface, and calculating as follows:
wherein, the current data interface is set to correspond to the ith node in PSCAD software, Q i,t+Δt,adpss And U i,t+Δt,adpss Reactive power output data and voltage data of nodes at the next moment of the current data interface are respectively obtained.
10. A computer readable storage medium, wherein the computer readable storage medium comprises a stored computer program; wherein said computer program, when run, controls a device in which said computer readable storage medium is located to perform a data processing method of an emulated data interface as claimed in any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310894288.0A CN116911031A (en) | 2023-07-20 | 2023-07-20 | Data processing method, device and storage medium for simulation data interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310894288.0A CN116911031A (en) | 2023-07-20 | 2023-07-20 | Data processing method, device and storage medium for simulation data interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116911031A true CN116911031A (en) | 2023-10-20 |
Family
ID=88359907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310894288.0A Pending CN116911031A (en) | 2023-07-20 | 2023-07-20 | Data processing method, device and storage medium for simulation data interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116911031A (en) |
-
2023
- 2023-07-20 CN CN202310894288.0A patent/CN116911031A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112671232B (en) | LLC resonant circuit control method and device and terminal equipment | |
CN111967608A (en) | Data processing method, device, equipment and storage medium | |
CN112966824A (en) | Deployment method and device of inference library and electronic equipment | |
CN112465141A (en) | Model compression method, model compression device, electronic device and medium | |
US11651198B2 (en) | Data processing method and apparatus for neural network | |
CN114138231B (en) | Method, circuit and SOC for executing matrix multiplication operation | |
CN114363167B (en) | Network segment information processing method and device, electronic equipment and storage medium | |
CN110955959A (en) | Method and device for rapidly generating and calculating faults of power system in batches | |
CN116544999B (en) | Method, device, equipment and medium for determining installed capacity of energy storage system | |
CN110765594B (en) | Method and device for controlling internal interaction interface of wind power plant real-time simulator | |
CN116911031A (en) | Data processing method, device and storage medium for simulation data interface | |
CN110597084A (en) | Wind power plant simulation test method and device and wind power plant simulation model | |
JP2021033994A (en) | Text processing method, apparatus, device and computer readable storage medium | |
CN112036607B (en) | Wind power output fluctuation prediction method and device based on output level and storage medium | |
CN111026258B (en) | Processor and method for reducing power supply ripple | |
CN114462592A (en) | Model training method and device, electronic equipment and computer readable storage medium | |
CN109783134B (en) | Front-end page configuration method and device and electronic equipment | |
CN114077890A (en) | Information processing apparatus, machine learning method, and computer-readable storage medium | |
CN116909772A (en) | Simulation data communication transmission control method, device and storage medium | |
CN112560210A (en) | Method for adjusting a power grid structure, associated device and computer program product | |
KR20210058005A (en) | Apparatus for calculating distributed hosting capacity of distribution system based on time-series simulation | |
US20190197084A1 (en) | Data compression apparatus and data compression method and storage medium | |
CN117785388B (en) | Method, device, medium and equipment for generating pseudo random sequence calculation program | |
CN113127019A (en) | Verification method and related equipment | |
CN116937613A (en) | Data processing method and device based on reactive compensation system packaging model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |