CN106293776B - A kind of electric system EMTPE auxiliary compiling system - Google Patents

A kind of electric system EMTPE auxiliary compiling system Download PDF

Info

Publication number
CN106293776B
CN106293776B CN201610971310.7A CN201610971310A CN106293776B CN 106293776 B CN106293776 B CN 106293776B CN 201610971310 A CN201610971310 A CN 201610971310A CN 106293776 B CN106293776 B CN 106293776B
Authority
CN
China
Prior art keywords
module
emtpe
data
compiling
electric system
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
CN201610971310.7A
Other languages
Chinese (zh)
Other versions
CN106293776A (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.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Heilongjiang Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Heilongjiang Electric Power 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 State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Heilongjiang Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201610971310.7A priority Critical patent/CN106293776B/en
Publication of CN106293776A publication Critical patent/CN106293776A/en
Application granted granted Critical
Publication of CN106293776B publication Critical patent/CN106293776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/37Compiler construction; Parser generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

A kind of electric system EMTPE auxiliary compiling system, the present invention relates to EMTPE to assist compiling system.The purpose of the present invention is to solve the existing EMTPE software speed of service is slow, ineffective problem.A kind of electric system EMTPE auxiliary compiling system includes: that while can also import the data import modul of other .txt class text formats for Excel import feature;The calculating process that current editing files are completed for calculation procedure, the computing module for calculating user's one-key operation;These keywords can be rapidly joined at current cursor and can directly choose this several row, click the keyword input module that annotation one step of button is completed for clicking directly on;Useful information is extracted into the new file of generation for clicking button, user is facilitated to analyze the result extraction module of work in next step;The interface multi-tag switched between different document for user designs module.The present invention is used for field of power system.

Description

A kind of electric system EMTPE auxiliary compiling system
Technical field
The present invention relates to EMTPE to assist compiling system.
Background technique
EMTPE is " power electronics and electromagnetic transient simulation software ", is by Chinese DianKeYuan in international open source projects EMTP On the basis of exploitation improve made of domesticize software, there is China's independent intellectual property right.
And we have found that EMTPE has the place of many inconveniences in use in working, most important is exactly number completion evidence When file will strictly to specifications on one ground of format fill out, such as Fig. 1;
This is an example of certain route Transient calculation, in the data file, the first row " BEGIN NEW DATACASE " It is structural key word, the expression annotation of the second row " C " beginning.Fourth line starts, 1-8 list registration word time of integration step-length, 9- 16 column indicate to terminate time, 17-24 column expression ...
So go down, every each column of a line have its corresponding fixed index title, this is in simulation calculation, especially frequently Carry out numerously test change number during, to compare more than ground of specification every time and change, cause heavy workload, working efficiency It is low.
Summary of the invention
The purpose of the present invention is to solve the existing EMTPE software speed of service is slow, ineffective problem, and propose A kind of electric system EMTPE auxiliary compiling system.
A kind of electric system EMTPE auxiliary compiling system includes:
For Excel import feature, while the data import modul of other .txt class text formats can also be imported;
The calculating process that current editing files are completed for calculation procedure, the calculating mould for calculating user's one-key operation Block;
For clicking directly on these keywords can be rapidly joined at current cursor and can directly choose this several row, Click the keyword input module that annotation one step of button is completed;
Useful information is extracted into the new file of generation for clicking button, user is facilitated to analyze work in next step As a result extraction module;
The interface multi-tag switched between different document for user designs module.
The invention has the benefit that
EMTPE assists the production of compiling system mainly to solve this problem, which incidentally makes several Excel template, user only need to illustrate filling data by template in the Excel of such as following figure, can directly pass through the Program Generating Required text formatting, it is no longer necessary to look into digit number completion evidence.Such as Fig. 2;
Program interface such as Fig. 3.
Using traditional interface IDE, in addition to this, program also improves some other functions, arranges as follows:
(1) data import.
(2) quick to calculate.
(3) the convenient input of keyword is commonly used.
(4) result is extracted.
(5) interface multi-tag designs.
Detailed description of the invention
Fig. 1 is electromagnetic transient in power system integrated operation environment schematic diagram;
Fig. 2 is line parameter circuit value schematic diagram;
Fig. 3 is that EMTPE assists translation and compiling environment schematic diagram;
Fig. 4 is that data of the present invention import floor map;
Fig. 5 is existing Calculation Plane schematic diagram;
Fig. 6 is the quick Calculation Plane schematic diagram of the present invention;
Fig. 7 is keyword input plane schematic diagram of the present invention;
Fig. 8 is that existing result extracts floor map;
Fig. 9 is that result of the present invention extracts floor map;
Figure 10 is multi-tag design plane schematic diagram in interface of the present invention.
Specific embodiment
Specific embodiment 1: a kind of electric system EMTPE auxiliary compiling system of present embodiment includes:
For Excel import feature, while the data import modul of other .txt class text formats can also be imported;
Because, there are such case, back calculates result (text formatting) generated and needs to paste down in calculating process It is used as a part therein in the initial data that one step calculates, therefore sets this function;Such as Fig. 4;
The calculating process that current editing files are completed for calculation procedure, the calculating mould for calculating user's one-key operation Block;The time is saved;After completing initial data in former EMTPE, after clicking some calculating key, the dialogue in the following figure is first popped up Frame allows user to select data file calculated, this is not necessarily to, because user is typically all to calculate currently to be edited Data file, and this step is had more, user selects file step by step again, wastes time.Such as Fig. 5, Fig. 6;
For clicking directly on these keywords can be rapidly joined at current cursor and can directly choose this several row, Click the keyword input module that annotation one step of button is completed;Such as Fig. 7;
In the data file in above figure, it is such to be frequently seen such as " BEGIN NEW DATACASE ", " BLANK " Printed words, these are structural key words, need to knock in manually when user's input, be added in " EMTPE assists translation and compiling environment " Quick botton, these keywords can be rapidly joined at current cursor by clicking directly on.
Annotation function is improved simultaneously, if wanting to neglect a few row data in calculating process in EMTPE, is needed line by line Ground be expert at it is first become comment statement plus " C " character, directly this several row can be selected in " EMTPE assists translation and compiling environment " In, it clicks annotation one step of button and completes.
Useful information is extracted into the new file of generation for clicking button, user is facilitated to analyze work in next step As a result extraction module;
It includes many huge text files for calculating information that calculated result such as Fig. 8 that former EMTPE is generated, which is one, Wherein calculating required result is very small part, and is indicated with scientific notation, needs elder generation when analyzing after computation Carry out data preparation.
" EMTPE assists translation and compiling environment " increases result abstraction function, button, which is clicked, by useful information extraction goes out next life The file of Cheng Xin facilitates user's analysis work in next step;Such as Fig. 9;
The interface multi-tag switched between different document for user designs module;This does not have in former EMTPE.
After having " EMTPE assists translation and compiling environment ", user can be in the driving journey for installing former EMTPE and its softdog It after sequence, the operations such as directly edited, calculated, being analyzed in this IDE, abandoning the included interface IDE former EMTPE completely. Such as Figure 10.
Specific embodiment 2: the present embodiment is different from the first embodiment in that: the data import modul packet It includes:
For inquiring the inquiry original database module of former data;
For former data to be carried out with the data analysis module of data analysis;
For receiving the importing target data module of the data after analyzing.
Other steps and parameter are same as the specific embodiment one.
Specific embodiment 3: the present embodiment is different from the first and the second embodiment in that: the keyword input Module includes BEGIN NEW DATACASE or BLANK structural key word.
Other steps and parameter are the same as one or two specific embodiments.
Specific embodiment 4: unlike one of present embodiment and specific embodiment one to three: the BEGIN NEW DATACASE is to start new data case;BLANK is blank.
Other steps and parameter are identical as one of specific embodiment one to three.
Specific embodiment 5: unlike one of present embodiment and specific embodiment one to four: the data point Analysis module carrys out the former data of original database module from message queue reception;Former data are parsed, are sentenced according to the content of parsing Determine current state, and status information is transferred to and imports target data module.
Other steps and parameter are identical as one of specific embodiment one to four.
Specific embodiment 6: unlike one of present embodiment and specific embodiment one to five: described one kind EMTPE auxiliary compiling system further include for data import modul, computing module, keyword input module, result extraction module, The interface IDE that interface multi-tag design module is imported, calculated, inputted, extracted, designed.
Other steps and parameter are identical as one of specific embodiment one to five.

Claims (5)

1. a kind of electric system EMTPE assists compiling system, it is characterised in that: a kind of electric system EMTPE auxiliary compiling system Include:
For Excel import feature, while the data import modul of .txt class text format can also be imported;
The calculating process that current editing files are completed for calculation procedure, the computing module for calculating user's one-key operation;
Keyword can be rapidly joined at current cursor and directly choose this several row, click annotation and press for clicking directly on The keyword input module that one step of button is completed;
Useful information is extracted into the new file of generation for clicking button, user is facilitated to analyze the result of work in next step Extraction module;
The interface multi-tag switched between different document for user designs module.
2. a kind of electric system EMTPE assists compiling system according to claim 1, it is characterised in that: the data import Module includes:
For inquiring the inquiry original database module of former data;
For former data to be carried out with the data analysis module of data analysis;
For receiving the importing target data module of the data after analyzing.
3. a kind of electric system EMTPE assists compiling system according to claim 2, it is characterised in that: the keyword is defeated Entering module includes BEGIN NEW DATA CASE or BLANK structural key word;BEGIN NEW DATA CASE is to start newly Data case;BLANK is blank.
4. a kind of electric system EMTPE assists compiling system according to claim 3, it is characterised in that: the data analysis Module receives the former data of original database module from message queue;Former data are parsed, are worked as according to the judgement of the content of parsing Preceding state, and status information is transferred to and imports target data module.
5. a kind of electric system EMTPE assists compiling system according to claim 4, it is characterised in that: a kind of electric power System EMTPE auxiliary compiling system further includes extracting for data import modul, computing module, keyword input module, result The interface IDE that module, interface multi-tag design module are imported, calculated, inputted, extracted, designed.
CN201610971310.7A 2016-10-28 2016-10-28 A kind of electric system EMTPE auxiliary compiling system Active CN106293776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610971310.7A CN106293776B (en) 2016-10-28 2016-10-28 A kind of electric system EMTPE auxiliary compiling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610971310.7A CN106293776B (en) 2016-10-28 2016-10-28 A kind of electric system EMTPE auxiliary compiling system

Publications (2)

Publication Number Publication Date
CN106293776A CN106293776A (en) 2017-01-04
CN106293776B true CN106293776B (en) 2019-06-21

Family

ID=57721123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610971310.7A Active CN106293776B (en) 2016-10-28 2016-10-28 A kind of electric system EMTPE auxiliary compiling system

Country Status (1)

Country Link
CN (1) CN106293776B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947430A (en) * 2019-03-26 2019-06-28 山东浪潮通软信息科技有限公司 A kind of code compilation Core Generator based on on-the-flier compiler and a kind of on-the-flier compiler method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609596A (en) * 2012-03-19 2012-07-25 河南电力试验研究院 System and method for generating power plant relay protection setting calculation report
CN103034491A (en) * 2012-12-06 2013-04-10 国电南瑞科技股份有限公司 Implementation system and method for power system interface integration
CN103136407A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method of achieving snapshot with electro-magnetic transient in DC system (EMTDC) simulation model based on data integrated access technique
CN105468847A (en) * 2015-11-25 2016-04-06 国网宁夏电力公司电力科学研究院 Hybrid simulation interface management module based on PSCAD EMTDC

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136407A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method of achieving snapshot with electro-magnetic transient in DC system (EMTDC) simulation model based on data integrated access technique
CN102609596A (en) * 2012-03-19 2012-07-25 河南电力试验研究院 System and method for generating power plant relay protection setting calculation report
CN103034491A (en) * 2012-12-06 2013-04-10 国电南瑞科技股份有限公司 Implementation system and method for power system interface integration
CN105468847A (en) * 2015-11-25 2016-04-06 国网宁夏电力公司电力科学研究院 Hybrid simulation interface management module based on PSCAD EMTDC

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
电力系统电磁暂态仿真软件;靳希等;《上海电力学院学报》;20040930;第43-46页
采用面向对象方法开发用于电磁暂态及电力电子仿真程序的图形输出软件;陈珍珍等;《电网技术》;20020131;第26卷(第1期);第26-30页
高压并联电容器装置过电压研究及应用EMTPE软件仿真验证;李山等;《电力电容器与无功补偿》;20111031;第32卷(第4期);第51-55页

Also Published As

Publication number Publication date
CN106293776A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN107832229B (en) NLP-based system test case automatic generation method
US8051410B2 (en) Apparatus for migration and conversion of software code from any source platform to any target platform
CN109522011B (en) Code line recommendation method based on context depth perception of programming site
CN106843840B (en) Source code version evolution annotation multiplexing method based on similarity analysis
CN100474318C (en) Automatic generation system for designing BOM
CN104809106A (en) System and method for excavating patent schemes
CN108694214A (en) Generation method, generating means, readable medium and the electronic equipment of data sheet
CN107992476B (en) Corpus generation method and system for sentence-level biological relation network extraction
CN105677857B (en) method and device for accurately matching keywords with marketing landing pages
CN103970898A (en) Method and device for extracting information based on multistage rule base
CN106547765B (en) SQ L-based database management method and device
CN103034553B (en) Intelligent verification algorithm, method and device for report designer
CN103678554A (en) Character substituting method and device
CN106293776B (en) A kind of electric system EMTPE auxiliary compiling system
CN106383734A (en) Method for extracting detailed design from codes
CN114036183A (en) Data ETL processing method, device, equipment and medium
CN103425844A (en) CAD/CAE (Computer-Aided Design/Computer-Aided Education) system based on data current communication platform and integration method
CN106843858B (en) Method for generating Spark code by converting primitive
CN103258021A (en) Character terminal feature data extraction method based on behavioral analysis
CN103049504A (en) Semi-automatic instrumentation method based on source code inquiring
CN104484156B (en) The edit methods of multilingual formula, editing system and multilingual formula editors
CN115469849B (en) Service processing system, method, electronic equipment and storage medium
CN114416107A (en) Method, device, storage medium and equipment for translating logic
CN104298752A (en) Automatic program code abbreviation expanding method based on web page resources
CN113157978A (en) Data label establishing method and device

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