Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Object-oriented programming method for reading and writing PSD-BPA data file

A PSD-BPA, object-oriented programming technology, applied in the direction of program control devices, etc., can solve the burden of data conversion interface program maintenance, data conversion interface does not have universality, interface program portability and scalability are not strong, etc. problem, to achieve the effect of clarifying the physical meaning

Inactive Publication Date: 2015-03-04
SHANGHAI JIAO TONG UNIV +1
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At this stage, the main problems faced by the BPA data conversion interface are as follows: First, in order to correctly use the BPA data provided by the power grid enterprises, software developers or research institutions other than China Electric Power Research Institute must first analyze the BPA data. Data format, and then use different languages ​​or environments to develop corresponding data conversion interfaces for your own software or programs, which is full of a lot of repetitive work, and the data conversion interface does not have any versatility; second, BPA is almost It will be updated every once in a while, and each update is either to give a new card format, or to make a small amount of modification and adjustment to some data segments of existing cards, which brings a lot of trouble to the maintenance work of the data conversion interface program. Big burden; third, the data conversion interface is highly dependent on programming language, development environment, operating system and other factors, and the portability and scalability of the interface program are not strong

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
  • Object-oriented programming method for reading and writing PSD-BPA data file
  • Object-oriented programming method for reading and writing PSD-BPA data file
  • Object-oriented programming method for reading and writing PSD-BPA data file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0067] Such as figure 1 As shown, the overall technical route of the present invention includes: data abstraction of BPA files, design of class structure framework, programming implementation of software package BPAIOPACK, generation of independent application program form BPAIOPACK, generation of application program interface form BPAIOPACK, under different computing environments Correctness check of BPAIOPACK.

[0068] 1. Data abstraction of BPA files

[0069] By continuously rearranging the mutual positions of the data lines in the DAT file and the SWI file, and using BPA's power flow calculation program and time domain simulation calculation program to continuously calculate, it is determined that both the DAT file and the SWI file are composed of 4 sequential data blocks . Therefore, in the conceptual model, DAT files can be divided into control parameter domain, component parameter domain, output display domain and end domain, and SWI files can be divided into control ...

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 relates to an object-oriented programming method for reading and writing a PSD-BPA data file. The method comprises the following specific steps: (1) analyzing the types and data formats of all cards in a BPA data file, and performing data abstraction; (2) defining a service primitive according to the result of data abstraction, designing a class structure framework; (3) completing the definitions of derived classes in the class structure framework in sequence from top to bottom; (4) implementing the class structure framework by adopting an object-oriented programming language; (5) determining the specific use way of the class structure framework according to an application requirement, and implementing and deploying an interface program; (6) verifying the correctness of the deployed interface program in different computation environments. Compared with the prior art, the object-oriented programming method has the advantages that the design of a BPA data interface ha a consistent hierarchical relation with a BPA program user manual, so that the extensibility, portability and maintainability of a data interface program are ensured, and the difficulty in developing and maintaining a BPA bilateral data conversion interface is lowered.

Description

technical field [0001] The invention relates to the field of power system simulation and analysis, in particular to an object-oriented programming method for reading and writing PSD-BPA data files. Background technique [0002] Power system simulation analysis and calculation is an important prerequisite and basic guarantee for the safe and stable operation of the power grid. PSD-BPA is a set of commercial software packages for large-scale power system simulation analysis and calculation gradually developed by the China Electric Power Research Institute in the 1980s on the basis of the BPA of the American Electric Power Research Institute. One of the benchmarks for simulation and calculation software in the power industry. PSD-BPA is composed of static analysis and dynamic analysis. Static analysis includes various applications based on power flow calculations, and dynamic analysis includes various applications based on time domain simulation calculations. Unless otherwis...

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 Applications(China)
IPC IPC(8): G06F9/44
Inventor 赵文恺严正张逸飞曹路李建华周挺辉范翔
Owner SHANGHAI JIAO TONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products