CN105160137A - PSCAD based electromagnetic-electromechanical transient mixed simulation realization method - Google Patents
PSCAD based electromagnetic-electromechanical transient mixed simulation realization method Download PDFInfo
- Publication number
- CN105160137A CN105160137A CN201510645419.7A CN201510645419A CN105160137A CN 105160137 A CN105160137 A CN 105160137A CN 201510645419 A CN201510645419 A CN 201510645419A CN 105160137 A CN105160137 A CN 105160137A
- Authority
- CN
- China
- Prior art keywords
- simulation
- electromechanical
- pscad
- transient
- electromechanical transient
- 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
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/80—Technologies aiming to reduce greenhouse gasses emissions common to all road transportation technologies
- Y02T10/82—Elements for improving aerodynamics
Abstract
The invention discloses a PSCAD based electromagnetic-electromechanical transient mixed simulation realization method belonging to the field of power system simulation. An electromechanical simulation program set by utilizing a user-defined module of PSCAD is serially embedded into an interface module and an electromechanical simulation program module, wherein the interface module consists of an f file and the electromechanical simulation program module consists of a c file. The mixed simulation method comprises parameter initialization of the electromechanical simulation program module, calling of the electromechanical simulation program and electromechanical transient simulation. According to the method, electromagnetic-electromechanical transient offline serial mixed simulation is realized by utilizing PSCAD of a mature electromagnetic transient simulation platform; the mixed simulation has small hardware restriction on a simulation device and can realize simulation of large-scale alternating-current and direct-current systems and ensure relatively high simulation precision; and the modification of a mixed simulation interface mode and the modification and upgrade of the electromechanical transient simulation program can be flexibly realized.
Description
Technical field
The invention belongs to electric system simulation field, particularly a kind of electromagnetism based on PSCAD-electromechanical transient off-line hybrid simulation method.
Background technology
PSCAD/EMTDC program is as the widely used electromagnetic transient simulation software in countries in the world, through research and development for many years, become and both can study AC and DC power system problem, the multi-purpose tool of simulation of power electronic and nonlinear Control thereof can have been completed again.Wherein, EMTDC is the kernel program of emulation, represent direct current transient state at first, it is a set of electro-magnetic transient simulator program based on software, PSCAD is the graphic user interface be combined with EMTDC, user can construct electrical connection diagram on panel, input the parameter value of each element, then undertaken compiling, connecting by FORTRAN compiler during operation, progress real-time formation curve in PLOT that the result run can be run along with program, whether reasonable with checked operation result, and interface can be carried out with C, MATLAB/SIMLJLINK.
Along with increasing device for high-power power electronic is widely used in modern power systems, the particularly development and construction of DC transmission engineering, traditional transient stability emulation technology can not meet the requirement of Operation of Electric Systems and control.Transient emulation can be divided into the electromechanical transient simulation of dynamic behaviour after research transient overvoltage, excess current, the electromagnetic transient simulation of system harmonics and wave form distortion, research grid disturbance.Due to single emulation technology Shortcomings when large scale system accurate simulation, Chinese scholars proposes electromagnetism and electromechanical transient simulation to be combined by interface routine, thus realize Ji electricity ?electromagnetism hybrid real-time simulation, make full use of the advantage of two kinds of real-time simulations, part of mutually covering the shortage.According to research needs, the part needing in system to study in great detail is decided to be electro-magnetic transient subsystem, adopts the emulation of electro-magnetic transient method; And the AC system of outside is decided to be electromechanical transient subsystem, adopt the emulation of electromechanical transient method; The bus connecting two subsystems is decided to be interface bus, is responsible for the exchanges data of certain frequency.
At present, comparatively ripe electricity Ci ?electromechanical transient hybrid simulation implementation platform and method have the self-defined dynamo-electric program module (North China Electric Power University) of RTDS (RealTimeDigitalSimulator)/parallel machine (Tsing-Hua University), RTDS/, PSCAD/Matlab (University Of Tianjin) etc., but all there is emulator hardware constraints and simulated program compatibility issue.
Summary of the invention
The object of the invention is to propose a kind of electromagnetism based on PSCAD-electromechanical transient off-line serial hybrid simulation method, it is characterized in that: the electromechanical simulation program serial utilizing the custom block of PSCAD to arrange embeds interface module and electromechanical simulation program module; Wherein interface module is made up of f file, for interface statement, the initialization of electromechanical simulation program module with call; Electromechanical simulation program module is made up of c file, for carrying out external power system electromechanical transient simulation and Equivalent Model parameter returns; Described hybrid simulation method concrete steps are as follows:
Step 1: emulation starts, namely initial time is by the parameter initialization of interface module realization to electromechanical simulation program module;
Step 2: when the PSCAD electromagnetic transient simulation time equals electromechanical transient simulation step-length integral multiple, call electromechanical simulation program module by interface module, carry out external communication system electromechanical transient simulation, otherwise enter step 3;
Step 3:PSCAD according to external communication system equivalent parameter, to electromagnetism subsystem: HVDC (High Voltage Direct Current) transmission system carries out electromagnetic transient simulation;
Step 4: the emulation stop condition (convergence threshold or the restriction of convergence number of times) preset if meet, electromagnetism-electromechanical transient off-line serial hybrid simulation is out of service, otherwise returns step 2.
In described step 1, parameter initialization relates to parameter and is determined by electric magnetic ?electromechanical transient off-line serial hybrid simulation interface model, and initialization relates to parameter and comprises power source and current source two kinds..
In described step 2, electromechanical transient simulation step-length is Millisecond, is taken as 100ms.
External communication system equivalent parameter in described step 3 is pre-stored in the public array of PSCAD by electromechanical simulation program module, and external communication system equivalent parameter comprises that external system is positive and negative, zero sequence equivalent impedance.
Described f file, c file are all the special compiling files of PSCAD.
Beneficial effect of the present invention is: utilize ripe electromagnetic transient simulation platform PSCAD, achieve electromagnetism-electromechanical transient off-line serial hybrid simulation.To put forward the electromagnetism-hardware constraints of electromechanical transient off-line serial hybrid simulation to emulator little, the emulation to extensive ac and dc systems can be realized, and ensure good simulation accuracy; The amendment to hybrid simulation interface modes can be realized neatly, to amendment and the upgrading of electromechanical transient simulation program.
Accompanying drawing explanation
Fig. 1 is the electromagnetism-electromechanical transient off-line serial hybrid simulation method logic diagram based on PSCAD.
Embodiment
The present invention proposes a kind of electromagnetism based on PSCAD-electromechanical transient off-line serial hybrid simulation method, below in conjunction with drawings and Examples, elaborates to the present invention.
As shown in Figure 1, the electromagnetism-electromechanical transient off-line serial hybrid simulation method based on PSCAD comprises:
Step 1: when emulation starts, i.e. initial time, realizes the parameter initialization to electromechanical simulation program module by interface module;
Step 2: when the PSCAD electromagnetic transient simulation time equals electromechanical transient simulation step-length integral multiple, call electromechanical simulation program module by interface module, carry out external communication system electromechanical transient simulation, otherwise enter step 3;
Step 3:PSCAD, according to external communication system equivalent parameter, carries out electromagnetic transient simulation to electromagnetism subsystem (as HVDC (High Voltage Direct Current) transmission system etc.);
Step 4: time emulation stop condition (convergence threshold or the restriction of convergence number of times) preset if meet, electromagnetism-electromechanical transient off-line serial hybrid simulation is out of service, otherwise returns step 2.
In described step 1 parameter initialization relate to parameter by electricity Ci ?electromechanical transient off-line serial hybrid simulation interface model determine, comprise power source and current source two kinds.
In described step 2, electromechanical transient simulation step-length is Millisecond, is generally taken as 100ms.
External communication system equivalent parameter in described step 3 (comprise external system is positive and negative, zero sequence equivalent impedance) is pre-stored in the public array of PSCAD by electromechanical simulation program module,
Embodiment one
Using PSCAD as whole electromagnetism-and the parametric controller of electromechanical transient off-line serial hybrid simulation, the beginning of emulation, time-out, end and arranging of simulation step length all perform under PSCAD interface.Interface module ts_df90 is made up of .f file, comprises parameter initialization, the initialization of admittance battle array and electromechanical transient simulation and calls three parts,
Interface module adopts power source as interface equivalent form; It is the mutual approach that PSCAD and electromechanical simulation program realize hybrid simulation.Signal code is as follows;
SUBROUTINEAUX_INITINAL()
INCLUDE"nd.h"
INCLUDE"emtstor.h"
INTERFACE
SUBROUTINEDAONA_INITINAL(storf,nstorf)
!DEC$ATTRIBUTESC::DAONA_INITINAL
!DEC$ATTRIBUTESREFERENCE::storf
!DEC$ATTRIBUTESVALUE::nstorf
REALstorf(*)
INTEGERnstorf
ENDSUBROUTINE
ENDINTERFACE
CALLDAONA_INITINAL(STORF,NSTORF)
END
SUBROUTINEAUX_STEPONE(pr,qr,umag,simulat)
INCLUDE"nd.h"
INCLUDE"emtstor.h"
REALpr
REALqr
REALumag
REALsimulat
INTERFACE
SUBROUTINEHBSTEP_ONE(storf,nstorf,p1,q1,u1,SimulaT)
!DEC$ATTRIBUTESC::HBSTEP_ONE
!DEC$ATTRIBUTESREFERENCE::storf
!DEC$ATTRIBUTESVALUE::nstorf
!DEC$ATTRIBUTESREFERENCE::p1
!DEC$ATTRIBUTESREFERENCE::q1
!DEC$ATTRIBUTESREFERENCE::u1
!DEC$ATTRIBUTESREFERENCE::SimulaT
REALstorf(*)
INTEGERnstorf
REALp1
REALq1
REALu1
REALSimulaT
ENDSUBROUTINE
ENDINTERFACE
CALLHBSTEP_ONE(STORF,NSTORF,pr,qr,umag,simulat)
END
Electromechanical simulation program module is made up of c file, for carrying out external power system electromechanical transient simulation and Equivalent Model parameter returns.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (5)
1. based on electromagnetism-electromechanical transient off-line serial hybrid simulation method of PSCAD, it is characterized in that: the electromechanical simulation program serial utilizing the custom block of PSCAD to arrange embeds interface module and electromechanical simulation program module; Wherein interface module is made up of f file, for interface statement, the initialization of electromechanical simulation program module with call; Electromechanical simulation program module is made up of c file, for carrying out external power system electromechanical transient simulation and Equivalent Model parameter returns; Described hybrid simulation method concrete steps are as follows:
Step 1: emulation starts, namely initial time is by the parameter initialization of interface module realization to electromechanical simulation program module;
Step 2: when the PSCAD electromagnetic transient simulation time equals electromechanical transient simulation step-length integral multiple, call electromechanical simulation program module by interface module, carry out external communication system electromechanical transient simulation, otherwise enter step 3;
Step 3:PSCAD according to external communication system equivalent parameter, to electromagnetism subsystem: HVDC (High Voltage Direct Current) transmission system carries out electromagnetic transient simulation;
Step 4: if meet the emulation stop condition preset, electromagnetism-electromechanical transient off-line serial hybrid simulation is out of service, otherwise returns step 2; The emulation stop condition wherein preset is convergence threshold or the restriction of convergence number of times.
2. the electromagnetism based on PSCAD according to claim 1-electromechanical transient off-line serial hybrid simulation method, it is characterized in that: in described step 1, parameter initialization relates to parameter by electromagnetism-electromechanical transient off-line serial hybrid simulation interface model decision, and initialization relates to parameter and comprises power source and current source two kinds..
3. the electromagnetism based on PSCAD according to claim 1-electromechanical transient off-line serial hybrid simulation method, is characterized in that: in described step 2, electromechanical transient simulation step-length is Millisecond, is taken as 100ms.
4. the electromagnetism based on PSCAD according to claim 1-electromechanical transient off-line serial hybrid simulation method, it is characterized in that: the external communication system equivalent parameter in described step 3 is pre-stored in the public array of PSCAD by electromechanical simulation program module, external communication system equivalent parameter comprises that external system is positive and negative, zero sequence equivalent impedance.
5. the electromagnetism based on PSCAD according to claim 1-electromechanical transient off-line serial hybrid simulation method, is characterized in that: described f file, c file are all the special execute files of PSCAD.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510645419.7A CN105160137A (en) | 2015-09-30 | 2015-09-30 | PSCAD based electromagnetic-electromechanical transient mixed simulation realization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510645419.7A CN105160137A (en) | 2015-09-30 | 2015-09-30 | PSCAD based electromagnetic-electromechanical transient mixed simulation realization method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105160137A true CN105160137A (en) | 2015-12-16 |
Family
ID=54800993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510645419.7A Pending CN105160137A (en) | 2015-09-30 | 2015-09-30 | PSCAD based electromagnetic-electromechanical transient mixed simulation realization method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105160137A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106372373A (en) * | 2016-10-21 | 2017-02-01 | 中国南方电网有限责任公司电网技术研究中心 | Method and system for hybrid simulation |
CN107066732A (en) * | 2017-04-13 | 2017-08-18 | 清华大学 | Towards the distributed hybrid simulation analysis method and device of alternating current-direct current hybrid network |
CN107592044A (en) * | 2017-09-20 | 2018-01-16 | 四川理工学院 | A kind of initial method of the self-defined engine controllers of PSCAD |
CN108448569A (en) * | 2018-03-14 | 2018-08-24 | 国电南瑞科技股份有限公司 | A kind of constringent identification of bulk power grid electromechanical transient simulation numerical value and improvement method |
CN108646587A (en) * | 2018-04-18 | 2018-10-12 | 许继电气股份有限公司 | A kind of EMTDC parallel simulation methods and system |
CN109858070A (en) * | 2018-12-05 | 2019-06-07 | 武汉大学 | A kind of simulation model and method of the Bei Jielong equivalence route of the impedance containing frequency dividing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436534A (en) * | 2012-01-13 | 2012-05-02 | 浙江省电力试验研究院 | Simulating method for electric power system |
CN102592003A (en) * | 2011-12-15 | 2012-07-18 | 天津大学 | Data exchange method for electromechanical and electromagnetic transient hybrid simulation |
CN103279590A (en) * | 2013-04-22 | 2013-09-04 | 中国南方电网有限责任公司电网技术研究中心 | Initial self-correction computation method of interface power in electrical power system hybrid real-time simulation |
CN103995734A (en) * | 2014-06-18 | 2014-08-20 | 中国南方电网有限责任公司电网技术研究中心 | Electric power system hybrid real-time simulation system and simulation method based on RTDS |
CN104102526A (en) * | 2014-07-04 | 2014-10-15 | 中国西电电气股份有限公司 | Collaborative interface for co-simulation of PSCAD (power system computer aided design) with third-party simulation software or hardware |
-
2015
- 2015-09-30 CN CN201510645419.7A patent/CN105160137A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102592003A (en) * | 2011-12-15 | 2012-07-18 | 天津大学 | Data exchange method for electromechanical and electromagnetic transient hybrid simulation |
CN102436534A (en) * | 2012-01-13 | 2012-05-02 | 浙江省电力试验研究院 | Simulating method for electric power system |
CN103279590A (en) * | 2013-04-22 | 2013-09-04 | 中国南方电网有限责任公司电网技术研究中心 | Initial self-correction computation method of interface power in electrical power system hybrid real-time simulation |
CN103995734A (en) * | 2014-06-18 | 2014-08-20 | 中国南方电网有限责任公司电网技术研究中心 | Electric power system hybrid real-time simulation system and simulation method based on RTDS |
CN104102526A (en) * | 2014-07-04 | 2014-10-15 | 中国西电电气股份有限公司 | Collaborative interface for co-simulation of PSCAD (power system computer aided design) with third-party simulation software or hardware |
Non-Patent Citations (3)
Title |
---|
安娜: "基于RTDS的机电暂态仿真及其接口模型优化的研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
李维: "基于PSCAD的电力系统机电暂态与电磁暂态混合仿真", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 * |
鄂志君: "基于PSCAD/EMTDC的电力系统机电暂态与电磁暂态混合仿真", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106372373A (en) * | 2016-10-21 | 2017-02-01 | 中国南方电网有限责任公司电网技术研究中心 | Method and system for hybrid simulation |
CN107066732A (en) * | 2017-04-13 | 2017-08-18 | 清华大学 | Towards the distributed hybrid simulation analysis method and device of alternating current-direct current hybrid network |
CN107592044A (en) * | 2017-09-20 | 2018-01-16 | 四川理工学院 | A kind of initial method of the self-defined engine controllers of PSCAD |
CN107592044B (en) * | 2017-09-20 | 2019-12-13 | 四川理工学院 | Initialization method of PSCAD (power system computer aided design) custom generator controller |
CN108448569A (en) * | 2018-03-14 | 2018-08-24 | 国电南瑞科技股份有限公司 | A kind of constringent identification of bulk power grid electromechanical transient simulation numerical value and improvement method |
CN108448569B (en) * | 2018-03-14 | 2021-06-01 | 国电南瑞科技股份有限公司 | Method for identifying and improving electromechanical transient simulation numerical convergence of large power grid |
CN108646587A (en) * | 2018-04-18 | 2018-10-12 | 许继电气股份有限公司 | A kind of EMTDC parallel simulation methods and system |
CN108646587B (en) * | 2018-04-18 | 2021-08-17 | 许继电气股份有限公司 | EMTDC parallel simulation method and system |
CN109858070A (en) * | 2018-12-05 | 2019-06-07 | 武汉大学 | A kind of simulation model and method of the Bei Jielong equivalence route of the impedance containing frequency dividing |
CN109858070B (en) * | 2018-12-05 | 2022-07-19 | 武汉大学 | Hybrid simulation model and method of Bergeron equivalent line containing frequency division impedance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105160137A (en) | PSCAD based electromagnetic-electromechanical transient mixed simulation realization method | |
CN101719182B (en) | Parallel partition electromagnetic transient digital simulation method of AC and DC power system | |
CN102508966B (en) | Overlaying type grid division method for electromagnetic/electromechanical transient hybrid simulation of alternating current/direct current large power grid | |
CN103020385B (en) | Based on RTDS electrical network 500kV major network modeling and simulating system | |
CN102436534B (en) | Simulating method for electric power system | |
CN106650072A (en) | Detecting system and method for virtual synchronous generator grid connection based on hardware-in-the-loop simulation | |
CN104423373A (en) | Closed-loop test system of flexible direct current transmission system control and protection system | |
CN103439967A (en) | Closed loop test system of flexible direct current transmission control protection system | |
CN102708225B (en) | Fragmentation debugging method for electromagnetic transient simulation of large AC (alternating current)-DC (direct current) power grid | |
CN110286606B (en) | Comprehensive energy microgrid control experiment system based on semi-physical simulation | |
CN105844993A (en) | Energy feedback type aircraft electrical load simulation method and device | |
CN105468847A (en) | Hybrid simulation interface management module based on PSCAD EMTDC | |
CN102904254B (en) | Method for simulating harmonics of power system to be connected with electrified railway | |
CN103956775A (en) | Micro-grid analogue simulation system based on real-time digital simulation platform | |
CN110852023B (en) | Automatic generation method and device for primary main wiring diagram of intelligent substation | |
CN105022903A (en) | Hybrid simulation method and system of electric power system | |
CN103887792B (en) | A kind of low-voltage distribution network modeling method containing distributed power source | |
CN104267365A (en) | Portable small current earth-fault line selection closed loop performance tester | |
CN103094930B (en) | Method applied in alternating current/direct current large power grid transient analysis of imitating direct current response | |
CN103632046A (en) | Power grid load flow calculation method | |
CN105205244A (en) | Closed loop operation simulation system based on electromechanical-electromagnetic hybrid simulation technology | |
CN103412199A (en) | Computing method of unbalancedness of multi-circuit power transmission lines on same tower | |
CN103823143B (en) | The emulation mode of substation equipment safety analysis after a kind of extra-high voltage increase-volume | |
CN104410159B (en) | Power grid black start overall process checking method based on real-time digital simulation | |
CN107179706B (en) | UHVDC model suitable for receiving-end large power grid simulation analysis and modeling method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151216 |
|
RJ01 | Rejection of invention patent application after publication |