CN117875038A - RSCAPD rapid modeling method and system - Google Patents
RSCAPD rapid modeling method and system Download PDFInfo
- Publication number
- CN117875038A CN117875038A CN202311859436.1A CN202311859436A CN117875038A CN 117875038 A CN117875038 A CN 117875038A CN 202311859436 A CN202311859436 A CN 202311859436A CN 117875038 A CN117875038 A CN 117875038A
- Authority
- CN
- China
- Prior art keywords
- rscapd
- parameters
- model
- psasp
- rscad
- 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
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000001052 transient effect Effects 0.000 claims abstract description 64
- 238000004088 simulation Methods 0.000 claims abstract description 41
- 238000013507 mapping Methods 0.000 claims abstract description 35
- 238000005094 computer simulation Methods 0.000 claims abstract description 9
- 230000005540 biological transmission Effects 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 17
- 238000004804 winding Methods 0.000 claims description 16
- 238000006243 chemical reaction Methods 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 9
- 230000001360 synchronised effect Effects 0.000 claims description 9
- 230000005284 excitation Effects 0.000 claims description 7
- 239000003381 stabilizer Substances 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 5
- 238000012986 modification Methods 0.000 claims description 5
- 230000005012 migration Effects 0.000 claims description 4
- 238000013508 migration Methods 0.000 claims description 4
- 238000005065 mining Methods 0.000 claims description 4
- 238000000605 extraction Methods 0.000 claims description 3
- 230000010354 integration Effects 0.000 claims description 3
- 230000005477 standard model Effects 0.000 claims description 3
- 230000003068 static effect Effects 0.000 claims description 3
- 101100274274 Secale cereale rsca gene Proteins 0.000 claims 5
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 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
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention belongs to the technical field of simulation modeling of power systems, and particularly relates to a RSCAPD rapid modeling method and system. The invention comprises the following steps: acquiring model basic parameters and public parameters based on PSASP electromechanical transient simulation basic data; generating RSCAPD template files of different elements by using the acquired model basic parameters and the acquired common parameters to form an RSCAPD element template library; digging the mapping relation between PSASP and RSCAPD various element models and parameters, and realizing the one-to-one correspondence between PSASP and RSCAPD elements; traversing all elements in the system, and establishing an RSCAPD model initial framework of the system to be simulated; and (3) according to PSASP derived parameters, realizing the rapid modeling of RSCAPD electromagnetic transient simulation. The RSCAPD rapid modeling method can realize RSCAPD rapid modeling, has high modeling efficiency, wide application range and high engineering application value.
Description
Technical Field
The invention belongs to the technical field of simulation modeling of power systems, and particularly relates to a RSCAPD rapid modeling method and system.
Background
In recent years, with the large-scale access of new energy sources such as wind power, photovoltaic and the like and the further application of a high-voltage direct current system, the duty ratio of electronic equipment is gradually increased, the power grid characteristics are greatly changed, and higher requirements are put on the scale and the precision of the simulation of a power system.
The traditional electromechanical transient simulation can reliably analyze the response characteristic and the safety stability of the system under the symmetrical fault, has high calculation speed and high simulation efficiency, is sufficient for meeting the daily work such as planning operation and the like, and is widely applied to the traditional power system, so that the current data of the power system in China are mostly stored by the electromechanical transient data such as PSASP (power system analysis and synthesis program) and the like. However, the electromechanical transient simulation only adopts fundamental wave frequency positive sequence components to simulate the alternating current network, and the dynamic characteristics of the alternating current-direct current system during the asymmetric fault of the alternating current system cannot be accurately described. The modeling of the electromagnetic transient simulation basic element is more refined, the switching process of the power electronic element can be accurately simulated, the simulation precision is higher, and the electromagnetic transient simulation basic element becomes an effective tool and an important means for modern power system analysis.
The electromagnetic transient simulation software mainly comprises RSCAP (real-time software simulation platform), PSCAD (power system calculation aided design) and the like, and is generally applied to the research of interaction mechanisms of a large-scale alternating-current and direct-current system. The RSCAPD is based on electromagnetic transient calculation, allows the multiprocessor to run in parallel, supports on-line simulation analysis, and can accurately reflect the actual running state of the power system. In addition, the RSCAPD also has the advantages of good man-machine interaction interface, flexible model selection, rich custom functions and the like. The software adopts a graphical modeling mode and a manual modeling mode, so that the operation is simple and the learning is easy.
When electromagnetic transient simulation is performed on an operating power grid, network topology and equipment operating parameters are often required to be acquired according to existing electromechanical transient data and converted into an electromagnetic transient model. The manual modeling mode needs to carry out layout wiring and parameter setting aiming at each element, and has the advantages of complex flow, low efficiency, long time consumption and high error rate when large-scale power grid modeling is carried out.
Therefore, it is necessary to study an automatic conversion program and a rapid modeling method of RSCAD to convert an existing electromechanical transient simulation model into an electromagnetic transient model.
Disclosure of Invention
Aiming at the defects of low manual modeling efficiency and high error rate of a large-scale power system in electromagnetic transient simulation in the prior art, the invention provides a RSCAPD rapid modeling method and system. The method aims to achieve the purposes of improving the modeling efficiency and accuracy of electromagnetic transient simulation on a large-scale power system, along with high modeling speed and wide application range.
The technical scheme adopted by the invention for achieving the purpose is as follows:
a rapid modeling method of RSCAD, comprising the steps of:
acquiring model basic parameters and public parameters based on PSASP electromechanical transient simulation basic data;
generating RSCAPD template files of different elements by using the acquired model basic parameters and the acquired common parameters to form an RSCAPD element template library;
digging the mapping relation between PSASP and RSCAPD various element models and parameters, and realizing the one-to-one correspondence between PSASP and RSCAPD elements;
traversing all elements in the system, generating an RSCAPD module for each element based on the template file, and establishing an RSCAPD model initial framework of the system to be simulated;
according to PSASP derived parameters, the size and type of the corresponding RSCAPD module parameters are automatically modified, topological connection is established, an RSCAPD model file with dfx as a suffix name is generated, and rapid modeling of RSCAPD electromagnetic transient simulation is realized.
Further, the basic data comprises basic element data and public parameter data, wherein the basic element data is used for storing element parameters of a generator, a transformer, a bus, a load and a transmission line, and the public parameter data is extraction integration of a part of the basic element data and a part of the public part; the description of the power system can be completed by the basic element data and the public parameter data, the basic parameter and the public parameter are respectively acquired by utilizing a data export function in the PSASP and are stored in a file with the suffix name xls.
Further, the RSCAPD template files of different elements are generated by using the acquired model basic parameters and the acquired common parameters to form an RSCAPD element template library, wherein each RSCAPD template file can represent a corresponding type of element, and the initial parameters of the RSCAPD template files depend on template file setting; manually modeling the RSCAPD at a graphical interface, establishing an element model by dragging and clicking in an element library, forming a whole network topology by connecting transmission lines, finally completing electromagnetic transient simulation modeling of the whole system, and storing the electromagnetic transient simulation modeling in a file with a suffix name dfx; automatically generating a module for representing the element in the file with the suffix name dfx after a model of the element is built and stored in the RSCAD; traversing an element library in the RSCAPD, mainly researching elements of the generator, a controller, a transformer, a transmission line and a power load of the generator, respectively establishing element models in the RSCAPD, storing descriptions of corresponding modules with the names dfx of the element models, establishing element RSCAP template files, and generating an RSCAPD element template library; the controller comprises an automatic voltage regulator, a power system stabilizer and a speed regulator.
Furthermore, the mapping relation between PSASP and RSCAPD element models and parameters is mined to realize one-to-one correspondence between PSASP and RSCAPD elements, wherein the mapping relation exists between the PSASP and RSACD elements, and the corresponding relation and conversion path between the PSASP and RSCAPD elements are established by analyzing element structures and parameters between two software, so that migration of element parameters is automatically realized;
for the generator model, the model 3 generator in the PSASP will be converted to the synchronous generator model in the RSCAP; wherein, d-axis synchronous reactance x d D-axis transient reactance x' d D-axis sub-transient reactance x' d ' q axis synchronous reactance x q Transient reactance x 'on q-axis' q The q-axis sub-transient reactance x' q ' d-axis transient time constant T d ′ 0 Transient time constant T of q-axis q ′ 0 Time constant T of d-axis sub-transient state d ″ 0 Time constant T of q-axis sub-transient state q ″ 0 Completely corresponds to the method; t in rotor inertia constant PSASP J The corresponding relation with H in RSCAD is:
wherein: h represents the rotational inertia time constant in rscoad, TJ represents the rotational inertia time constant in PSASP;
the generator controller model comprises an excitation system, a power system stabilizer system and a speed regulator model, wherein a model library in the RSCAP covers a standard IEEE standard model in the PSASP, and the correct mapping of the generator controller model is realized during data conversion;
for a transformer model comprising a two-winding transformer and a three-winding transformer, the parameters of the PSASP and RSCAD transformer models have certain difference, the primary side rated voltage, the secondary side rated voltage and the rated capacity parameters can be directly mapped, and the rest parameters need to be calculated and analyzed in advance;
considering that in PSASP, the capacity reference value is typically set to 100MVA; the capacity reference value in the RSCAD is set as the rated capacity of the element, and certain conversion is needed when the per unit value of impedance is calculated; for a two-winding transformer, the short-circuit voltage and no-load loss in PSASP correspond to two parameters of x1 (Leakage reactance) and NLL (No Load Loss) in RSCAD respectively, and the mapping relation is as follows:
wherein V is 0 P is the short-circuit impedance in PSASP 0 For space-borne losses in PSASP, S N The nominal value X of impedance for rated capacity T The calculation is as follows:
in U N Is rated voltage;
for rscoad:
wherein: xl represents the impedance parameter in RSCAD;
for a three-winding transformer, the calculation mode is similar to that of a two-winding transformer, and impedance data of a high-low voltage side, a high-medium voltage side and a low-medium voltage side are required to be calculated respectively, and corresponding mapping is realized;
for the load model, a constant impedance model, a constant power model and a ZIP model static load model are adopted;
for a constant impedance model, mapping to a RSCAD parallel impedance model (shunt);
for the other two models, mapping to a dynamic load model in RSCAD (DYLOAD) model;
for the transmission line model, the PSASP is stored as a physical description, including: positive sequence resistance per unit kilometer, positive sequence reactance per unit kilometer, positive sequence susceptance per unit kilometer, zero sequence resistance per unit kilometer, zero sequence reactance per unit kilometer, zero sequence susceptance per unit kilometer and alternating current line length; the buses at two ends of the RSCAPD transmission line are respectively obtained according to the data of the nodes at two ends in the PSASP, which is different from the PSASP, in the RSCAPD, a single transmission line corresponds to three types of elements of a TLine model transmitting end, a TLine model receiving end and a TLine model calculating unit, the RSCAPD defines a line model in a model file with a suffix name of dfx, and the line parameters of each line are stored in tli, so that a file with the suffix name of tli needs to be generated for each line during mapping.
Furthermore, all elements in the traversing system generate an RSCAPD module for each element based on the template file, and establish an RSCAPD model initial framework of the system to be simulated, namely traversing all elements contained in the PSASP electromechanical transient simulation data, searching template files corresponding to various elements according to an RSCAPD template file library, generating an RSCAPD template for each element, and uniformly storing the RSCAPD template in a text file.
Furthermore, according to the PSASP derived parameters, the size and type of the corresponding RSCAPD module parameters are automatically modified, topological connection is established, an RSCAPD model file with dfx as a suffix name is generated, and the rapid modeling of the RSCAPD electromagnetic transient simulation is realized.
A RSCAD rapid modeling system comprising:
the PSASP data export and read-in module is used for exporting PSASP basic parameters and public parameters, reading the PSASP basic parameters and the public parameters into the rapid modeling system and obtaining the power system architecture and element parameters;
the RSCAPD element template generating module is used for generating RSCAPD templates of elements such as a generator, a controller, a transformer, a load, a transmission line and the like;
the PSASP and RSCAPD element mapping module is used for mining the mapping relation between various elements of the PSASP and the RSCAPD;
the RSCAPD initial framework generating module is used for generating an RSCAPD module of each element and establishing an RSCAPD model initial framework of the system to be simulated;
and the RSCAPD component parameter automatic modification module is used for automatically modifying the component parameters in the RSCAPD based on the PSASP derived parameters and automatically generating an RSCAPD electromagnetic transient simulation model.
An RSCAD rapid modeling apparatus, comprising:
the acquisition module is used for acquiring model basic parameters and public parameters based on PSASP electromechanical transient simulation basic data;
the generating module is used for generating RSCAPD template files of different elements by using the acquired model basic parameters and the public parameters to form an RSCAPD element template library;
the module is used for excavating the mapping relation between PSASP and RSCAPD various element models and parameters and realizing the one-to-one correspondence between PSASP and RSCAPD elements;
the building module is used for traversing all elements in the system, generating an RSCAPD module for each element based on the template file, and building an RSCAPD model initial framework of the system to be simulated;
and the implementation module is used for automatically modifying the size and the type of the corresponding RSCAPD module parameters according to the PSASP derived parameters, establishing topological connection, generating an RSCAPD model file with dfx as a suffix name, and realizing the rapid modeling of the RSCAPD electromagnetic transient simulation.
A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, the processor implementing the steps of any one of the RSCAD rapid modeling methods when the computer program is executed.
A computer storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of any of the RSCAD rapid modeling methods.
The invention has the following beneficial effects and advantages:
the invention provides an automatic conversion method from PSASP electromechanical transient data to RSCAPD electromagnetic transient data, which can realize rapid modeling of RSCAPD. The method can automatically generate electromagnetic transient files of models such as a generator, a control system, a transformer, a load, a power transmission line and the like based on the power grid structure and equipment parameters stored in the PSASP electromechanical transient file, and rapidly establish an RSCAP simulation model. According to the method, a large amount of original repetitive manual work is converted into program automatic operation through automatic conversion programs, the problems of high error rate of manual operation and the like are avoided, the modeling efficiency is high, the application range is wide, system modeling in various operation modes can be rapidly realized according to parameter migration, and the engineering application value is high.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 is a flow chart of a method for rapid modeling of RSCAD in accordance with the present invention;
FIG. 2 is a simulation model of PSASP in accordance with an embodiment of the present invention;
FIG. 3 is a RSCAPD template file according to an embodiment of the present invention;
fig. 4 is a simulation model of RSCAD built in accordance with an embodiment of the invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, without conflict, the embodiments of the present invention and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
The following describes some embodiments of the present invention with reference to fig. 1-4.
Example 1
The invention provides an embodiment, and relates to a RSCAD rapid modeling method and system. As shown in fig. 1, fig. 1 is a flowchart of a rapid modeling method of RSCAD according to the present invention.
In a preferred but non-limiting embodiment of the invention, a method for rapid modeling of RSCAD comprises the steps of:
and step 1, deriving model basic parameters and public parameters based on PSASP electromechanical transient simulation basic data.
At present, the data of the power system in China are mostly stored in the form of electromechanical transient data such as PSASP, and the PSASP establishes a data record for each element in the power system and stores the element structure and parameters of the data record to form the basic data of the power system. The basic data is divided into basic element data and public parameter data, wherein the basic element data stores element parameters of a generator, a transformer, a bus, a load, a transmission line and the like, and the public parameter data is extraction and integration of a part of the basic element data and a part of the public part of the basic element data, so that the basic element data and the public parameter data can jointly complete the description of the power system. And respectively acquiring basic parameters and public parameters by utilizing a data export function in the PSASP, and storing the basic parameters and the public parameters in a file with a suffix of xls.
And 2, generating RSCAPD template files of different elements such as a generator, a controller, a transformer, a transmission line, a power load and the like of the generator by using the derived model basic parameters and public parameters to form an RSCAPD element template library.
Each of the RSCAD template files may characterize a corresponding type of element, with initial parameters that depend on the template file settings. RSCADs are usually modeled manually on a graphical interface, an element model is built by dragging and clicking in an element library, and the whole network topology is formed by connecting transmission lines, so that electromagnetic transient simulation modeling of the whole system is finally completed, and the electromagnetic transient simulation modeling is stored in a file with a suffix name of dfx. When a model of an element is built and saved in the RSCAD, a module characterizing the element is automatically generated in the file with suffix dfx. Traversing an element library in the RSCAPD, mainly researching elements such as a generator, a controller, a transformer, a transmission line, a power load and the like of the generator, respectively establishing element models in the RSCAPD, saving description of corresponding modules with the names dfx file of the parameters without manual modification, establishing element RSCAPD template files, and generating the RSCAPD element template library. The controller comprises an automatic voltage regulator, a power system stabilizer and a speed regulator.
And step 3, mining the mapping relation between PSASP and RSCAPD various element models and parameters, and realizing one-to-one correspondence between PSASP and RSCAPD elements.
The PSASP and the RSACD have mapping relations, and the corresponding relation and conversion path between the elements can be established by analyzing the element architecture and parameters between the two pieces of software, so that the migration of the element parameters is automatically realized.
For the generator model, the model 3 generator in the PSASP will be converted to the synchronous generator model in the RSCAPD (MACV 31). Wherein, d-axis synchronous reactance x d D-axis transient reactance x' d D-axis sub-transient reactance x' d ' q axis synchronous reactance x q Transient reactance x 'on q-axis' q The q-axis sub-transient reactance x' q ' d-axis transient time constant T d ′ 0 Transient time constant T of q-axis q ′ 0 Time constant T of d-axis sub-transient state d ″ 0 Time constant T of q-axis sub-transient state q ″ 0 Completely corresponds to the method; t in rotor inertia constant PSASP J The corresponding relation with H in RSCAD is:
wherein: h represents the rotational inertia time constant in rscoad, TJ represents the rotational inertia time constant in PSASP;
the generator controller model mainly comprises an excitation system, a power system stabilizer system, a speed regulator model and the like. The model library in RSCAD substantially overlays the standard IEEE standard model in PSASP. During data conversion, correct mapping of the generator controller model can be basically realized.
For transformer models, two-winding transformers and three-winding transformers are generally classified. The PSASP and RSCAD transformer model parameters have certain difference, the parameters of primary side rated voltage, secondary side rated voltage, rated capacity and the like can be directly mapped, and other parameters need to be calculated and analyzed in advance.
Considering that in PSASP, the capacity reference value is typically set to 100MVA; the capacity reference value in RSCAD is set to the rated capacity of the element, and a certain conversion is required for calculating the impedance per unit value. For a two-winding transformer, the short-circuit voltage and no-load loss in PSASP correspond to two parameters of x1 (Leakage reactance) and NLL (No Load Loss) in RSCAD respectively, and the mapping relation is as follows:
wherein V is 0 P is the short-circuit impedance in PSASP 0 For space-borne losses in PSASP, S N Is rated capacity. Impedance value X T The calculation is as follows:
in U N Is rated voltage.
For rscoad:
wherein: xl represents the impedance parameter in RSCAD;
for a three-winding transformer, the calculation mode is similar to that of a two-winding transformer, and impedance data of a high-low voltage side, a high-medium voltage side and a low-medium voltage side are required to be calculated respectively, and corresponding mapping is realized.
For the load model, a static load model such as a constant impedance model, a constant power model, and a ZIP model is generally adopted. For a constant impedance model, mapping to a RSCAD parallel impedance model (shunt); for the other two models, a dynamic load model in RSCAD (DYLOAD) model is mapped.
For the transmission line model, the PSASP is stored as a physical description, consisting essentially of: positive sequence resistance per unit kilometer, positive sequence reactance per unit kilometer, positive sequence susceptance per unit kilometer, zero sequence resistance per unit kilometer, zero sequence reactance per unit kilometer, zero sequence susceptance per unit kilometer, ac line length, etc. And buses of the two ends of the RSCAPD transmission line are respectively obtained according to the data of the nodes of the two ends in the PSASP. In RSCAD, a single transmission line corresponds to three types of elements, namely, a line model transmitting end, a line model receiving end and a line model computing unit, as distinguished from PSASP. The RSCAD stores the line parameters for each line in tli format, except that the line model is defined in a model file with suffix name dfx, so that when mapping, a file with suffix name tli needs to be generated for each line.
And 4, traversing all elements in the power system to be simulated, generating an RSCAPD module for each element based on the template file, and establishing an RSCAPD model initial framework of the power system to be simulated.
And traversing all elements contained in the PSASP electromechanical transient simulation data, searching template files corresponding to various elements according to the RSCAP template file library, generating an RSCAP template for each element, and uniformly storing the RSCAP templates in a text file.
And 5, according to PSASP derived parameters, automatically modifying the size and type of the corresponding RSCAPD module parameters, establishing topological connection, generating an RSCAPD model file with dfx as a suffix name, and realizing the rapid modeling of the RSCAPD electromagnetic transient simulation.
Based on the generated initial architecture, based on basic parameters and public parameter data derived by PSASP, line types and data of corresponding parameters of each element are replaced one by one in line units, topological connection among the elements is established, and an RSCAPD electromagnetic transient simulation model is rapidly formed.
Example 2
The invention also provides an embodiment, which is a RSCAPD rapid modeling system for realizing the RSCAPD rapid modeling method in embodiment 1. The system comprises:
the PSASP data export and read-in module is used for exporting PSASP basic parameters and public parameters, reading the PSASP basic parameters and the public parameters into the rapid modeling system and obtaining the power system architecture and element parameters;
the RSCAPD element template generating module is used for generating RSCAPD templates of elements such as a generator, a controller, a transformer, a load, a transmission line and the like;
the PSASP and RSCAPD element mapping module is used for mining the mapping relation between various elements of the PSASP and the RSCAPD;
the RSCAPD initial framework generating module is used for generating an RSCAPD module of each element and establishing an RSCAPD model initial framework of the system to be simulated;
and the RSCAPD component parameter automatic modification module is used for automatically modifying the component parameters in the RSCAPD based on the PSASP derived parameters and automatically generating an RSCAPD electromagnetic transient simulation model.
Example 3
The invention also provides an embodiment, which is a RSCAD rapid modeling method, comprising the following steps:
and step 1, deriving model basic parameters and public parameters based on PSASP electromechanical transient simulation basic true data. In this embodiment, the PSASP power system is shown in fig. 2, and includes 3 generators, 9 buses, 6 ac transmission lines, 3 two-winding transformers and 3 dynamic loads.
And 2, generating RSCAPD template files of different elements such as a generator, a controller, a transformer, a transmission line, a power load and the like of the generator by using the acquired model basic parameters and the public parameters to form an RSCAPD element template library.
Taking a generator 11-type excitation regulator as an example, the effect of each parameter of a template file is described, and the template file is shown in figure 3. In the template file, component_type represents the COMPONENT TYPE, and rtds_bpaf_uv represents the COMPONENT as FV model in BPA; the numbers in the second row are the actual positions of the element in the figure; parameters-START stands for storage element PARAMETERS in the file starting from the next line: for example, gen is the name of the generator corresponding to the excitation regulator, HTZ is the system frequency, PSS corresponds to whether the Boolean value of the excitation regulator is input, KV and the like are control parameters of the excitation regulator, and part of the parameters are omitted by ellipses; parameters-END represents the END of element parameter storage.
And step 3, mapping relations between PSASP and RSCAPD element models and parameters are mined, and one-to-one and one-to-many correspondence between PSASP and RSCAPD elements is realized.
And 4, traversing all elements in the power system to be simulated, generating an RSCAPD module for each element based on the template file, and establishing an RSCAPD model initial framework of the power system to be simulated.
And 5, according to PSASP derived parameters, automatically modifying the size and type of the corresponding RSCAPD module parameters, establishing topological connection, generating an RSCAPD model file with dfx as a suffix name, and realizing the rapid modeling of the RSCAPD electromagnetic transient simulation. The resulting RSCAD simulation model is shown in fig. 4.
Example 4
The invention also provides an embodiment, which is a RSCAD rapid modeling device, comprising:
the acquisition module is used for acquiring model basic parameters and public parameters based on PSASP electromechanical transient simulation basic data;
the generating module is used for generating RSCAPD template files of different elements by using the acquired model basic parameters and the public parameters to form an RSCAPD element template library;
the module is used for excavating the mapping relation between PSASP and RSCAPD various element models and parameters and realizing the one-to-one correspondence between PSASP and RSCAPD elements;
the building module is used for traversing all elements in the power system to be simulated, generating an RSCAPD module for each element based on the template file, and building an RSCAPD model initial framework of the power system to be simulated;
and the implementation module is used for automatically modifying the size and the type of the corresponding RSCAPD module parameters according to the PSASP derived parameters, establishing topological connection, generating an RSCAPD model file with dfx as a suffix name, and realizing the rapid modeling of the RSCAPD electromagnetic transient simulation.
Example 5
Based on the same inventive concept, the embodiment of the invention also provides a computer device, which comprises a storage medium, a processor and a computer program stored on the storage medium and capable of running on the processor. The processor, when executing the computer program, implements the steps of any one of the RSCAD rapid modeling methods described in embodiments 1 or 3.
Example 6
Based on the same inventive concept, the embodiments of the present invention further provide a computer storage medium, where a computer program is stored, where the computer program when executed by a processor implements the steps of any one of the RSCAD rapid modeling methods described in embodiments 1 or 3.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.
Claims (10)
1. A RSCAPD rapid modeling method is characterized in that: the method comprises the following steps:
acquiring model basic parameters and public parameters based on PSASP electromechanical transient simulation basic data;
generating RSCAPD template files of different elements by using the acquired model basic parameters and the acquired common parameters to form an RSCAPD element template library;
digging the mapping relation between PSASP and RSCAPD various element models and parameters, and realizing the one-to-one correspondence between PSASP and RSCAPD elements;
traversing all elements in the power system to be simulated, generating an RSCAPD module for each element based on the template file, and establishing an RSCAPD model initial framework of the power system to be simulated;
according to PSASP derived parameters, the size and type of the corresponding RSCAPD module parameters are automatically modified, topological connection is established, an RSCAPD model file with dfx as a suffix name is generated, and rapid modeling of RSCAPD electromagnetic transient simulation is realized.
2. The RSCAD rapid modeling method according to claim 1, wherein: the basic data comprises basic element data and public parameter data, wherein the basic element data is used for storing element parameters of a generator, a transformer, a bus, a load and a transmission line, and the public parameter data is extraction and integration of a common part of elements of the basic element data part; the description of the power system can be completed by the basic element data and the public parameter data, the basic parameter and the public parameter are respectively acquired by utilizing a data export function in the PSASP and are stored in a file with the suffix name xls.
3. The RSCAD rapid modeling method according to claim 1, wherein: generating RSCAD template files of different elements by using the acquired model basic parameters and the acquired common parameters to form an RSCAD element template library, wherein each RSCAD template file can represent a corresponding type of element, and the initial parameters of the RSCAD template files depend on template file setting; manually modeling the RSCAPD at a graphical interface, establishing an element model by dragging and clicking in an element library, forming a whole network topology by connecting transmission lines, finally completing electromagnetic transient simulation modeling of the whole system, and storing the electromagnetic transient simulation modeling in a file with a suffix name dfx; automatically generating a module for representing the element in the file with the suffix name dfx after a model of the element is built and stored in the RSCAD; traversing an element library in the RSCAPD, mainly researching elements of the generator, a controller, a transformer, a transmission line and a power load of the generator, respectively establishing element models in the RSCAPD, storing descriptions of corresponding modules with the names dfx of the element models, establishing element RSCAP template files, and generating an RSCAPD element template library; the controller comprises an automatic voltage regulator, a power system stabilizer and a speed regulator.
4. The RSCAD rapid modeling method according to claim 1, wherein: the PSASP and RSCAPD component models and parameters are mined to realize one-to-one correspondence between the PSASP and the RSCAPD component, wherein the PSASP and the RSACD component have the mapping relationship, and the element architecture and parameters between two pieces of software are analyzed to establish the corresponding relationship and conversion path between the two pieces of software, so that migration of the component parameters is automatically realized;
for the generator model, the model 3 generator in the PSASP will be converted to the synchronous generator model in the RSCAP; wherein, d-axis synchronous reactance x d D-axis transient reactance x' d D-axis secondary transient reactance x d Q-axis synchronous reactance x q Transient reactance x 'on q-axis' q Q-axis secondary transient reactance x q Transient time constant T 'of d-axis' d0 Transient time constant T 'of q-axis' q0 Time constant T' of d-axis sub-transient state d0 Q-axis sub-transient time constant T q0 Completely corresponds to the method; t in rotor inertia constant PSASP J The corresponding relation with H in RSCAD is:
wherein: h represents the rotational inertia time constant in rscoad, TJ represents the rotational inertia time constant in PSASP;
the generator controller model comprises an excitation system, a power system stabilizer system and a speed regulator model, wherein a model library in the RSCAP covers a standard IEEE standard model in the PSASP, and the correct mapping of the generator controller model is realized during data conversion;
for a transformer model comprising a two-winding transformer and a three-winding transformer, the parameters of the PSASP and RSCAD transformer models have certain difference, the primary side rated voltage, the secondary side rated voltage and the rated capacity parameters can be directly mapped, and the rest parameters need to be calculated and analyzed in advance;
considering that in PSASP, the capacity reference value is typically set to 100MVA; the capacity reference value in the RSCAD is set as the rated capacity of the element, and certain conversion is needed when the per unit value of impedance is calculated; for a two-winding transformer, the short-circuit voltage and no-load loss in PSASP correspond to two parameters of x1 (Leakage reactance) and NLL (No Load Loss) in RSCAD respectively, and the mapping relation is as follows:
wherein V is 0 P is the short-circuit impedance in PSASP 0 For space-borne losses in PSASP, S N The nominal value X of impedance for rated capacity T The calculation is as follows:
in U N Is rated voltage;
for rscoad:
wherein: xl represents the impedance parameter in RSCAD;
for a three-winding transformer, the calculation mode is similar to that of a two-winding transformer, and impedance data of a high-low voltage side, a high-medium voltage side and a low-medium voltage side are required to be calculated respectively, and corresponding mapping is realized;
for the load model, a constant impedance model, a constant power model and a ZIP model static load model are adopted;
for a constant impedance model, mapping to a RSCAD parallel impedance model (shunt);
for the other two models, mapping to a dynamic load model in RSCAD (DYLOAD) model;
for the transmission line model, the PSASP is stored as a physical description, including: positive sequence resistance per unit kilometer, positive sequence reactance per unit kilometer, positive sequence susceptance per unit kilometer, zero sequence resistance per unit kilometer, zero sequence reactance per unit kilometer, zero sequence susceptance per unit kilometer and alternating current line length; the buses at two ends of the RSCAPD transmission line are respectively obtained according to the data of the nodes at two ends in the PSASP, which is different from the PSASP, in the RSCAPD, a single transmission line corresponds to three types of elements of a TLine model transmitting end, a TLine model receiving end and a TLine model calculating unit, the RSCAPD defines a line model in a model file with a suffix name of dfx, and the line parameters of each line are stored in tli, so that a file with the suffix name of tli needs to be generated for each line during mapping.
5. The RSCAD rapid modeling method according to claim 1, wherein: and generating an RSCA module for each element based on the template file in the traversing system, and establishing an RSCA model initial framework of the system to be simulated, namely traversing all elements contained in PSASP electromechanical transient simulation data, searching template files corresponding to various elements according to an RSCA template file library, generating an RSCA template for each element, and uniformly storing the RSCA template in a text file.
6. The RSCAD rapid modeling method according to claim 1, wherein: according to PSASP derived parameters, the size and the type of corresponding RSCAPD module parameters are automatically modified, topological connection is established, an RSCAPD model file taking dfx as a suffix name is generated, and rapid modeling of RSCAPD electromagnetic transient simulation is achieved.
7. An RSCAPD rapid modeling system is characterized in that: comprising the following steps:
the PSASP data export and read-in module is used for exporting PSASP basic parameters and public parameters, reading the PSASP basic parameters and the public parameters into the rapid modeling system and obtaining the power system architecture and element parameters;
the RSCAPD element template generating module is used for generating RSCAPD templates of elements such as a generator, a controller, a transformer, a load, a transmission line and the like;
the PSASP and RSCAPD element mapping module is used for mining the mapping relation between various elements of the PSASP and the RSCAPD;
the RSCAPD initial framework generating module is used for generating an RSCAPD module of each element and establishing an RSCAPD model initial framework of the system to be simulated;
and the RSCAPD component parameter automatic modification module is used for automatically modifying the component parameters in the RSCAPD based on the PSASP derived parameters and automatically generating an RSCAPD electromagnetic transient simulation model.
8. An RSCAPD rapid modeling device is characterized in that: comprising the following steps:
the acquisition module is used for acquiring model basic parameters and public parameters based on PSASP electromechanical transient simulation basic data;
the generating module is used for generating RSCAPD template files of different elements by using the acquired model basic parameters and the public parameters to form an RSCAPD element template library;
the module is used for excavating the mapping relation between PSASP and RSCAPD various element models and parameters and realizing the one-to-one correspondence between PSASP and RSCAPD elements;
the building module is used for traversing all elements in the power system to be simulated, generating an RSCAPD module for each element based on the template file, and building an RSCAPD model initial framework of the power system to be simulated;
and the implementation module is used for automatically modifying the size and the type of the corresponding RSCAPD module parameters according to the PSASP derived parameters, establishing topological connection, generating an RSCAPD model file with dfx as a suffix name, and realizing the rapid modeling of the RSCAPD electromagnetic transient simulation.
9. A computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized by: the processor, when executing the computer program, implements the steps of a method for rapid modeling of RSCAD according to any one of claims 1-6.
10. A computer storage medium, characterized by: the computer storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of a method for rapid modeling of RSCAD according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311859436.1A CN117875038A (en) | 2023-12-30 | 2023-12-30 | RSCAPD rapid modeling method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311859436.1A CN117875038A (en) | 2023-12-30 | 2023-12-30 | RSCAPD rapid modeling method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117875038A true CN117875038A (en) | 2024-04-12 |
Family
ID=90576638
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311859436.1A Pending CN117875038A (en) | 2023-12-30 | 2023-12-30 | RSCAPD rapid modeling method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117875038A (en) |
-
2023
- 2023-12-30 CN CN202311859436.1A patent/CN117875038A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109766586B (en) | Method and system for automatically generating electromagnetic transient simulation model of large-scale power grid | |
CN109918762B (en) | AC/DC power grid hybrid simulation comparison model construction method | |
CN104598671A (en) | Digital power grid construction method based on on-line data | |
CN103077268B (en) | Towards the state space method for automatic modeling of electromagnetic transient in power system emulation | |
CN112234611B (en) | Power distribution network setting calculation method and system based on computer modeling | |
CN103777525A (en) | User-defined interface of wind power station simulation machine and RTDS (real time digital simulator) | |
CN110797874A (en) | State estimation method for alternating current-direct current hybrid power distribution network containing power electronic transformer | |
CN115622053B (en) | Automatic load modeling method and device for considering distributed power supply | |
CN108879667A (en) | A kind of power grid closed-loop control Power flow simulation method | |
CN103018583A (en) | Level number selecting and verifying method based on flexible direct-current transmission system of MMC (Modular Multilevel Converter) | |
CN112347595A (en) | Frequency elastic force evaluation method for multi-direct-current feed-in receiving-end power grid | |
CN111339624B (en) | PSASP and EMTP/ATP-based short-circuit current direct-current component calculation method | |
Tremblay et al. | Real-time simulation of a fully detailed type-IV wind turbine | |
CN114491886A (en) | General modeling method and device for active power distribution network containing multi-type distributed new energy | |
CN106410862A (en) | Wind power plant single machine equivalent method based on active recovery slope correction | |
CN105529736A (en) | Calculation method for fault current equivalent model of crowbar switching double-feed wind turbines | |
CN106599373B (en) | Transformer substation short-circuit current calculation system and method based on three-dimensional design platform | |
CN111475915B (en) | Successive fault online evaluation method based on fault probability and time domain simulation quasi-steady state | |
Villena-Ruiz et al. | Learning load flow analysis in electric power systems: A case study in powerfactory | |
CN117875038A (en) | RSCAPD rapid modeling method and system | |
CN115906379A (en) | Electromagnetic transient automatic modeling method and system for large-scale power grid new energy unit | |
Zhao et al. | Rapid modeling of large-scale power system based on PSCAD | |
CN110729733B (en) | Harmonic calculation method for photovoltaic power station | |
CN108667008B (en) | Universal small signal modeling method for subsynchronous oscillation analysis of power system | |
Efe et al. | A novel approach to power flow analysis for grid connected micro grid |
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 |