Unlock instant, AI-driven research and patent intelligence for your innovation.

Source code-level closed-loop simulation method of digital protection based on pscad

A closed-loop simulation, source code technology, applied in instruments, simulators, control/regulation systems, etc., can solve the problems of large differences in input and output programming methods, cumbersome use, inconvenient debugging, etc., to simplify the modification and debugging process, The effect of high practical value

Active Publication Date: 2018-05-08
UNIV OF JINAN
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] (1) The call interface is implemented in the form of an object file, and the C source file is frequently modified during the debugging phase, requiring manual compilation and linking of the object file repeatedly, and it is inconvenient to debug when a running error occurs
[0015] (2) When the data interface is implemented in the form of a public array, the data transfer between the custom C language module and PSCAD is quite different from the input and output programming methods in the actual protection device, which is not conducive to verifying the complete protection logic
[0016] (3) The output results of the C language module, including tripping signals, etc., also need to be written into the public array and provided to PSCAD to modify the simulation model parameters. Users cannot directly display the information in the public array, which is not convenient for debugging
According to the method recommended by PSCAD, the above-mentioned horizontal and vertical data interactions all rely on the public array and its pointers, which may easily cause omission or misalignment
Since the array subscript in C language starts from 0, while the array subscript in Fortran starts from 1, when exchanging array data, you must always pay attention to subscript conversion, which is extremely cumbersome to use

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Source code-level closed-loop simulation method of digital protection based on pscad
  • Source code-level closed-loop simulation method of digital protection based on pscad
  • Source code-level closed-loop simulation method of digital protection based on pscad

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following describes the implementation of the present invention in further detail with reference to the accompanying drawings and examples, but it is not intended to limit the protection scope of the present invention. All technical solutions obtained by equivalent substitutions or equivalent transformations are within the protection scope of the present invention. Inside.

[0044] figure 1 Shown are the overall structure of the closed-loop simulation of C language protection logic code and the involved calling interface and data interface in the PSCAD software environment using the method of the present invention.

[0045] Take the C language code of the overcurrent protection element written in an actual protection device as an example to illustrate the specific process of implementing the method of the present invention.

[0046] (1) In the PSCAD software environment, right-click and select the "Create New Component..." command to create a custom component. According to...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A PSCAD -based digital protection source code -level closed -loop simulation method, which uses the custom protection logic code written by C language in PSCAD to achieve source code -level closed -loop simulation.The "call interface" and "data interface" of the PSCAD recommendation method were improved.By using the Fortran interface function in the SCRIPT script of the custom module to achieve seamless links with PSCAD, the modification and debugging process of the C source code is simplified.Avoid using complex public array for data interaction, but directly use the input and output port of the custom module to implement data interface.This method is flexible and concise, and can complete the protection logic code of the actual device. It is especially suitable for the transitional stage from the principle of protection to the development of the device. The developer can verify the software code without relying on the physical device to effectively improve the development efficiency.

Description

Technical field [0001] The invention belongs to the field of power system relay protection simulation, and specifically relates to a digital protection source code-level closed-loop simulation method based on a PSCAD software environment. Background technique [0002] Simulating and testing the principles and devices of relay protection is an important means to improve the level of relay protection. Dynamic physical simulation and real-time digital simulation can directly reflect the performance of relay protection devices. They belong to online and closed-loop simulation methods and are still irreplaceable research methods. However, this type of method and equipment has a huge investment and can only be carried out with physical devices. At the same time, the scale of the research system is limited and the adjustment of system parameters is complicated. [0003] In order to overcome the shortcomings of online and closed-loop simulation methods, especially to meet the simulation n...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G05B17/02
CPCG05B17/02
Inventor 刘益青高伟聪张智杰王成友
Owner UNIV OF JINAN