Method for converting algorithm model of PSCAD (power system computer aided design) simulation system to source code

A simulation system and algorithm model technology, applied in the field of conversion, can solve problems such as inability to do it, large manpower and material resources, and model file algorithm logic cannot be downloaded directly, achieving the effect of reducing workload, convenient operation and rich functions

Inactive Publication Date: 2014-12-03
STATE GRID CORP OF CHINA +1
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The algorithm model can be easily and conveniently established through the PSCAD simulation system, but the algorithm logic of the established model file cannot be directly downloaded to the device that needs to use this algorithm model, and the visi

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
  • Method for converting algorithm model of PSCAD (power system computer aided design) simulation system to source code
  • Method for converting algorithm model of PSCAD (power system computer aided design) simulation system to source code
  • Method for converting algorithm model of PSCAD (power system computer aided design) simulation system to source code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0068] The present invention relates to a kind of method based on PSCAD simulation system that algorithmic model is converted into source code, mainly comprises the following steps: (1) establishes the graphic function storehouse corresponding to basic function block in the PSCAD simulation system; (2) establishes PSCAD simulation system The custom function item corresponding to the custom function; (3) configure and define the conversion relationship, convert the PSCAD modeling file and generate the file source code. The system is based on Window xp operating system, using VC++6.0 development tools and Access database system. The system reads the files built by the PSCAD simulation modeling software, analyzes each function block, and converts it into a graphic function block recognized by the system, reads the data flow direction, and converts it into a syst...

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

The invention provides a method for converting an algorithm model of a PSCAD (power system computer aided design) simulation system to a source code. The method for converting the algorithm model of the PSCAD simulation system to the source code includes following steps: building a graphic function library corresponding to a basic function block in the PSCAD simulation system; building a custom function library corresponding to a custom function block in the PSCAD simulation system; uniformly classifying the graphic function library and the custom function library which are built; converting a graphic function block to the source code. The method for converting the algorithm model of the PSCAD simulation system to the source code adopts an operating mode based on a graphical mode, achieves function block graph conversion in one to one correspondence mode and data association conversion in one to one correspondence mode, achieves the purpose that the source code is automatically generated from an algorithm model file, and can compile the source code and then download the source code into a device.

Description

technical field [0001] The invention relates to a conversion method, in particular to a method for converting an algorithm model into a source code based on a PSCAD simulation system. Background technique [0002] PSCAD / EMTDC (full name Power Systems Computer Aided Design) is an electromagnetic transient simulation system widely used in the world. EMTDC is the core of its simulation calculation. PSCAD provides a graphical operation interface for EMTDC (Electromagnetic Transients including DC). PSCAD is an effective graphical user interface, which can significantly improve the efficiency of power system electromagnetic transient simulation research. Through PSCAD, various power system algorithm models can be easily established, and the simulation effect can be seen intuitively. [0003] The algorithm model can be easily and conveniently established through the PSCAD simulation system, but the algorithm logic of the established model file cannot be directly downloaded to the ...

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
IPC IPC(8): G06F17/50
Inventor 聂学斌戴凤娇蔡林海徐博蒋晓春
Owner STATE GRID CORP OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products