CN103810347B - General-purpose relay RTDS emulation modelling methods with adjustable drop-off to pick-up radio and actuation time - Google Patents

General-purpose relay RTDS emulation modelling methods with adjustable drop-off to pick-up radio and actuation time Download PDF

Info

Publication number
CN103810347B
CN103810347B CN201410070495.5A CN201410070495A CN103810347B CN 103810347 B CN103810347 B CN 103810347B CN 201410070495 A CN201410070495 A CN 201410070495A CN 103810347 B CN103810347 B CN 103810347B
Authority
CN
China
Prior art keywords
model
rtds
time
variable
relay
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.)
Active
Application number
CN201410070495.5A
Other languages
Chinese (zh)
Other versions
CN103810347A (en
Inventor
孙志媛
钱珞江
刘默斯
丁涛
宁文辉
李黎
赵晓慧
李明珀
刘鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Electric Power Research Institute of Guangxi Power Grid Co Ltd
Original Assignee
Wuhan University WHU
Electric Power Research Institute of Guangxi Power Grid Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU, Electric Power Research Institute of Guangxi Power Grid Co Ltd filed Critical Wuhan University WHU
Priority to CN201410070495.5A priority Critical patent/CN103810347B/en
Publication of CN103810347A publication Critical patent/CN103810347A/en
Application granted granted Critical
Publication of CN103810347B publication Critical patent/CN103810347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of general-purpose relay RTDS emulation modelling methods with adjustable drop-off to pick-up radio and actuation time, inventor is based on RTDS custom programming technologies, utilize the real-time of RTDS, the stationarity executed by program code sequence and the flexibility defined in conjunction with variable data, with static variable deposit the mode of historical data to ensure established model each state variable current time and previous moment numerically correct stepping recurrence relation, to make, established model meets practical protective relaying device drop-off to pick-up radio less than 1 and actuation time is not the simulation requirements of 0 this two basic physical properties.The general-purpose relay RTDS models obtained using the method can the practical relay physical property of accurate simulation, there is physical effect identical with practical protective relaying device, solve the problems, such as that the existing model libraries of RTDS lack high emulation relay model.

Description

General-purpose relay RTDS simulation modelings with adjustable drop-off to pick-up radio and actuation time Method
Technical field
The invention belongs to electric system real-timedigital simulation modeling technique fields, more particularly to one kind having adjustable return system The general-purpose relay RTDS emulation modelling methods of number and actuation time.
Background technology
Real Time Digital Simulator RTDS(Real-Time Digital Simulator)It is a kind of digitized physical analogy Experimental system, it combine Digital Simulation high efficient and flexible and physical analogy intuitive and reliable two kinds of assay formats of property spy It is long, thus had been more and more widely used in China's electric power research and engineering field, especially protected in electric power system fault In terms of the effective verification of scheme, RTDS gradually replaces tradition with the accuracy of its model parameter and the real-time of simulation process Physics dynamic model experiment device or/and offline software calculating instrument.
With the raising of simulation requirements, RTDS standard component model libraries(RSCAD/Master)In existing component models not The demand of system modelling can be fully met.Relay is that electric power system fault protects most basic element, practical relay and its There are two physical properties for the breaker tool of control:First, the return value after the actuating of relay is less than action setting valve, that is, return to system Number is less than 1;Second is that relay is acted to breaker completion disjunction there are an intrinsic time delay after reaching action setting valve, this Period, no matter why relay sensed quantity was worth, and breaker will not all act.Relay(The breaker controlled including it)This Two physical properties determine that its digital simulation model necessarily has considerably complicated action sequence and logical relation, however at present Method RTDS standard components there is no to build, this blank leads to the reduction of Digital Simulation confidence level and seriously affects the application of RTDS Efficiency.
Invention content
The technical problem to be solved in the present invention is to provide a kind of general relays with adjustable drop-off to pick-up radio and actuation time Device RTDS emulation modelling methods enrich the existing model libraries of RTDS, meet power train construction in a systematic way to build high emulation relay model The actual demand of mould.
In order to solve the above technical problems, the present invention uses following technical scheme:With adjustable drop-off to pick-up radio and actuation time General-purpose relay RTDS emulation modelling methods, include the following steps:
<1>Create electric relay simulated model RTDS graphic user interfaces
The graphic user interface of RTDS relay models, including model figure interface icon are created with CBuilder editing machines Dialog box, and Definition Model input/output variable and action setting valve, drop-off to pick-up radio, actuation time are set with model parameter Deng the data type of three model parameters;Model is named RELAY1.def, which is stored in document form data Under RTDS networking PC machine or the user model library RSCAD/Ulib catalogues of work station;
<2>The data type of Definition Model internal processes
Main includes the static variable and the newer temporary variable of real-time stepping for implementing stepping deposit;It is edited with CBuilder Two core data files that device generates model are named relay1.h and relay1.c and are stored in RTDS networking PC machine respectively User-defined model source program code library RTDS_USER BIN under CMODEL_SOURCE catalogues;Relay1.h is corresponded to The type definition of the human-machine interaction datas such as input variable, output variable, model parameter, these data exist in model graphical interfaces It can be automatically performed type definition when relay1.h is linked with graphical interfaces file RELAY1.def;Relay1.c corresponds to mould The real-time stepping of type executes program, which presses step<3>Hand weaving is completed;
<3>Real-time stepping inside compiling model executes program
Include a series of C language source code of components such as comparator, timer, cycle counter and-NOT logic door; Relay1.c files are opened with text editor Notepad or TextPad and wherein with the real-time stepping of C language compiling model Program code;Relay1.c files are divided into two program code areas:When static variable setting area, for defining simultaneously registered state Variable history value;Second is that stepping in real time executes program area, the model for writing current time executes program, including definition is temporarily Variable and intermediate variable;Program composition is theoretical according to diff, and implementation method is to form the time stepping type of state variable;
<4>Build model entirety stepping flow
It is checked including internal exchange of data and program execution order layout and external input/dynamically associating property of output.
Step<4>Middle stepping flow is carried out as follows:Real-time tracking compares input value In and action setting valve SETTING simultaneously The state for monitoring back output valve Out, such as In >=SETTING conditions once establishment and Out=0, then start timer and dynamic Make the state change that current time output Out is latched during time thold, when timer reaches thold, if In >= SETTING conditions still meet, then timer reset and make to export Out=1 this moment;Work as In<SETTING × resetcoff and When Out=1 is not in timer blocking, make output Out=0 this moment;As SETTING × resetcoff≤In< When SETTING, output Out is set to remain stationary this moment constant.
Sequential is executed for each component models in existing RTDS java standard libraries and is difficult to determining problem, and inventor is based on RTDS certainly It defines programming technique and establishes a kind of general relay with adjustable drop-off to pick-up radio and actuation time using the real-time of RTDS Device RTDS emulation modelling methods, the stationarity executed by program code sequence and the flexibility defined in conjunction with variable data, are used Static variable deposits the mode of historical data, and to ensure, established model each state variable current time and previous moment be numerically just True stepping recurrence relation, to make established model meet practical protective relaying device drop-off to pick-up radio less than 1 and actuation time not For the simulation requirements of 0 this two basic physical properties.The general-purpose relay RTDS models obtained using the method being capable of accurate simulation Practical relay physical property has physical effect identical with practical protective relaying device, efficiently solves the existing moulds of RTDS Type library lacks the problem of high emulation relay model.
The present invention has following outstanding advantages:1)It is obtained with physics tau-effect with the mode of computer software programming L-G simulation test model;2)The input of institute's established model and its action setting valve can be any physical descriptor or dimensionless variable, because And simulation object can be various types of other relay, have extensive versatility;3)Institute's established model can accurately embody reality The physics time-series dynamics characteristic of protective relaying device improves the Simulation Confidence of RTDS electric power system faults protection.
Description of the drawings
Fig. 1 is the icon schematic diagram for the model that general-purpose relay RTDS emulation modelling methods of the present invention create.
Fig. 2 is the parameter setting dialog box signal for the model that general-purpose relay RTDS emulation modelling methods of the present invention create Figure.
Fig. 3 is the real-time stepping flow diagram of general-purpose relay RTDS emulation modelling method Programs of the present invention.
Fig. 4 is the case effect schematic diagram using the present invention.
Specific implementation mode
By the following examples and in conjunction with attached drawing, further elaborate to the present invention.
Embodiment 1
<1>Create electric relay simulated model RTDS graphic user interfaces
The graphic user interface of RTDS relay models, including model figure interface icon are created with CBuilder editing machines Dialog box is set with model parameter(Such as Fig. 1 and 2), and Definition Model input/output variable and action setting valve, return system The data type of three model parameters such as number, actuation time;Model is named RELAY1.def, and the model interface is with data file shape Formula is stored under RTDS networking PC machine or the user model library RSCAD/Ulib catalogues of work station;
<2>The data type of Definition Model internal processes
Main includes the static variable and the newer temporary variable of real-time stepping for implementing stepping deposit;It is edited with CBuilder Two core data files that device generates model are named relay1.h and relay1.c and are stored in RTDS networking PC machine respectively User-defined model source program code library RTDS_USER BIN under CMODEL_SOURCE catalogues;Wherein, relay1.h Corresponding to the type definition of the human-machine interaction datas such as input variable, output variable, model parameter in model graphical interfaces, these numbers It can be automatically performed type definition according to when linking relay1.h with graphical interfaces file RELAY1.def;Relay1.c is corresponded to Program is executed in the real-time stepping of model, which presses step<3>Hand weaving is completed;
<3>Real-time stepping inside compiling model executes program
Include a series of C language source code of components such as comparator, timer, cycle counter and-NOT logic door; Relay1.c files are opened with text editor Notepad or TextPad and wherein with the real-time stepping of C language compiling model Program code;Relay1.c files are divided into two program code areas:When static variable setting area, for defining simultaneously registered state Variable history value(Back or the calculated value at preceding multistep moment);Second is that stepping in real time executes program area, when for writing current The model at quarter executes program, including defines some necessary temporary variables and intermediate variable;Program composition is according to numerical difference sub-argument By implementation method is to form the time stepping type of state variable;
<4>Build model entirety stepping flow
It is checked including internal exchange of data and program execution order layout and external input/dynamically associating property of output.Step It is carried out as follows into flow(Such as Fig. 3):Real-time tracking compares input value In and action setting valve SETTING and to monitor back defeated The state for going out value Out, such as In >=SETTING conditions once establishment and Out=0, then start timer and in actuation time thold During be latched current time output Out state change, when timer reaches thold, if In >=SETTING conditions according to So meet, then timer reset and makes to export Out=1 this moment;Work as In<SETTING × resetcoff and Out=1 are not in meter When device blocking when, make output Out=0 this moment;As SETTING × resetcoff≤In<When SETTING, make output this moment Out remains stationary constant.
Dialog box base is arranged in the input In/ output Out interfaces of the model graphical interfaces created by above-mentioned steps, model parameter It is developed in CBuilder editing machines, sequential correctness and human-computer interaction style and the RTDS standard component moulds of flow chart of data processing Type library(RSCAD/Master)It is consistent;Drop-off to pick-up radio after the action setting valve SETTING of institute's established model, action The model parameters such as resetcoff, breaker actuation time thold are set by user according to practical protective relaying device nominal parameters It sets, to ensure that model is applicable in versatility and the flexibility of simulation object;Breaker actuation time parameter by the way that model is arranged can Simulate the of short duration disturbance rejection property that various protective relaying devices are intrinsic in practice;Drop-off to pick-up radio parameter by the way that model is arranged can incite somebody to action Model is widely used in the RTDS simulating, verifyings experiment of various projects of relay protection schemes;The input of institute's established model is double real Number type double-precision variable, output are int integer type 0-1 switching variables, and the logical relation of input/output is as follows:
Simulating, verifying experiment is carried out to above-mentioned model, concrete mode is:From RSCAD/Ulib user's elements library on RTDS In recall this component models DELAY1.def to RSCAD/DRAFT graphical modelings interface;Model parameter setting dialog box is opened again And model parameter is arranged according to simulation object, this example simulation object is over-current protection relay, and action setting valve 1.0 returns Return coefficient 0.85,0.03 second breaker actuation time.The input of relay model is one branch of power grid from breaking down event Hinder the electric current dynamic change waveform to disappear, as shown in figure 4, width curve is the output state of model under Fig. 4.As it can be seen that failure originates Although when with 0.01 second high frequency components and disturbance amplitude be more than actuating of relay setting valve, relay do not move at once Make, but is acted after its intrinsic actuation time(Output is by 0 → 1);On the other hand, during failure vanishes, only when event When barrier current amplitude drops to 0.85 or less, the output state of relay just returns(Output is by 1 → 0).
Confirmatory experiment fully demonstrates the simulation model created using the present invention and practical relay physics having the same Property can meet the simulation requirements of relay protection of power system.

Claims (1)

1. a kind of general-purpose relay RTDS emulation modelling methods with adjustable drop-off to pick-up radio and actuation time, it is characterised in that packet Include following steps:
<1>Create electric relay simulated model RTDS graphic user interfaces
The graphic user interface of RTDS relay models, including model figure interface icon and mould are created with CBuilder editing machines Dialog box, and Definition Model input/output variable and action setting valve, drop-off to pick-up radio, actuation time three is arranged in shape parameter The data type of model parameter;Model is named RELAYl.def, which is stored in RTDS with document form data Under PC machine of networking or the user model library RSCAD/Ulib catalogues of work station;
<2>The types of variables of Definition Model internal processes
Include the static variable and the newer temporary variable of real-time stepping of real-time stepping deposit;Mould is generated with CBuilder editing machines Two core data files of type be named relayl.h and relayl.c respectively and be stored in RTDS networking PC machine user make by oneself Adopted model source program's code file library RTDS_USER BIN under CMODEL_SOURCE catalogues;Relayl.h corresponds to illustraton of model Input variable, the type definition of output variable, model parameter human-machine interaction data in shape interface, these data are by relayl.h It can be automatically performed type definition when being linked with graphical interfaces file RELAY1.def;Relayl.c corresponds to the real-time step of model Into program is executed, which presses step<3>Hand weaving is completed;
<3>Real-time stepping inside compiling model executes program
Including comparator, timer, cycle counter and with-or-NOT logic door C language source code;Use text editor Notepad or TextPad opens relayl.c files and wherein with the real-time stepping program code of C language compiling model; Relayl.c files are divided into two program code areas:When static variable setting area, for defining simultaneously registered state variable history Value;Second is that stepping in real time executes program area, the model for writing current time executes program, including defines temporary variable in Between variable;Program composition is theoretical according to diff, and implementation method is to form the time stepping type of state variable;
<4>Build model entirety stepping flow
It is checked including internal exchange of data and program execution order layout and external input/dynamically associating property of output;
Step<4>Middle stepping flow is carried out as follows:Real-time tracking compares input value In and action setting valve SETTING and monitors The state of back output valve Out, such as In >=SETTING conditions once establishment and Out=0, then start timer and acting It is latched current time during time thold and exports the state change of Out, when timer reaches thold, if In >= SETTING conditions still meet, then timer reset and make to export Out=1 this moment;Work as In<SETTING × resetcoff and When Out=1 is not in timer blocking, make output Out=0 this moment;As SETTING × resetcoff≤In < When SETTING, output Out is set to remain stationary this moment constant;Resetcoff is drop-off to pick-up radio after action.
CN201410070495.5A 2014-02-28 2014-02-28 General-purpose relay RTDS emulation modelling methods with adjustable drop-off to pick-up radio and actuation time Active CN103810347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410070495.5A CN103810347B (en) 2014-02-28 2014-02-28 General-purpose relay RTDS emulation modelling methods with adjustable drop-off to pick-up radio and actuation time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410070495.5A CN103810347B (en) 2014-02-28 2014-02-28 General-purpose relay RTDS emulation modelling methods with adjustable drop-off to pick-up radio and actuation time

Publications (2)

Publication Number Publication Date
CN103810347A CN103810347A (en) 2014-05-21
CN103810347B true CN103810347B (en) 2018-09-28

Family

ID=50707111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410070495.5A Active CN103810347B (en) 2014-02-28 2014-02-28 General-purpose relay RTDS emulation modelling methods with adjustable drop-off to pick-up radio and actuation time

Country Status (1)

Country Link
CN (1) CN103810347B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200023B (en) * 2014-08-29 2017-10-17 国家电网公司 A kind of method that its algorithm model is converted to source code based on RSCAD analogue systems

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246780A (en) * 2013-05-17 2013-08-14 广东电网公司电力科学研究院 Low-pass filter element modeling method and system in real-time digital simulation of electric system
CN103324801A (en) * 2013-06-26 2013-09-25 广东电网公司电力科学研究院 Wind turbine digital simulation method based on RTDS (real-time digital simulation)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246780A (en) * 2013-05-17 2013-08-14 广东电网公司电力科学研究院 Low-pass filter element modeling method and system in real-time digital simulation of electric system
CN103324801A (en) * 2013-06-26 2013-09-25 广东电网公司电力科学研究院 Wind turbine digital simulation method based on RTDS (real-time digital simulation)

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Modelling an Impedance Relay Using a Real Time Digital Simulator;D S Ouellette等;《Developments in Power System Protection,2004.Eighth IEE International》;20040531;第2卷;第665-668页 *
Using a Multi-Threaded Time-Step to Model a Multi-Function Relay in a Real Time Digital Simulator;Dean S等;《Developments in Power System Protection,2008》;20080320;第162-167页的第5节 *
基于RTDS数字动模的继电保护设备分析测试技术研究;吴姜;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20140115;第2014年卷(第01期);第C042-660的第1.3节本文主要研究工作、第3.2节、第3.3节、第4.1.3节、第5.1节、第5.2节、第5.3节和图5-2、图5-3、图5-5、图5-6、图5-7 *
基于RTDS的高速铁路牵引供电系统建模与仿真;杨浩;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20131115;第2013年卷(第11期);第C042-174页 *

Also Published As

Publication number Publication date
CN103810347A (en) 2014-05-21

Similar Documents

Publication Publication Date Title
Lahtinen et al. Model checking of safety-critical software in the nuclear engineering domain
CN103198195A (en) BIM-based (building information modeling-based) building engineering model collision detection method
CN108320104B (en) Method for realizing protection fixed value on-line verification function obtaining model based on RelayCAC relay protection setting software
JP2016524254A (en) Electronic design change evaluation method and system for verification confirmation
US10884714B2 (en) Method for modifying models for generating source code
Preuße et al. Closed-loop system modeling, validation, and verification
CN107850999A (en) Automation process controls
Kim et al. NuDE 2.0: A formal method-based software development, verification and safety analysis environment for digital I&Cs in NPPs
CN104504210B (en) A kind of complex electromechanical systems Reliability Modeling based on Petri network
CN103810347B (en) General-purpose relay RTDS emulation modelling methods with adjustable drop-off to pick-up radio and actuation time
Drozdov et al. Formal verification of cyber-physical automation systems modelled with timed block diagrams
Preuße et al. Verifying functional and non-functional properties of manufacturing control systems
Schumacher et al. Transforming time constraints of a GRAFCET graph into a suitable Petri net formalism
Popovics et al. ISA standard simulation model generation supported by data stored in low level controllers
Popovics et al. Automatic simulation model generation based on PLC codes and MES stored data
Sulaiman et al. Integrated Interface Development Environment using STEP Universal Data Structure
Bayrak et al. Comparison of a transformed Matlab/Simulink model into the programming language CFC on different IEC 61131-3 PLC environments
Liang et al. Multi-level modeling for hybrid manufacturing systems using Arena and MATLAB
Yoo et al. PLC-Based safety critical software development for nuclear power plants
Cappelli et al. Using a hybrid fpga-cpu platform for a user-friendly environment in control systems design: A possible application to nuclear plants
Klein et al. Controller design for an FMS using Signal Interpreted Petri Nets and SFC: Validation of both descriptions via model-checking
Xia et al. Design and implementation of automatic verification for PLC systems
Danilevičius et al. Data structures and interfaces for automated PLC applications development process
Maler On under-determined dynamical systems
Guler et al. Methodology for the incorporation of passive component aging modeling into the RAVEN/RELAP-7 environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant