Application of Component Technology in Power System

Application of Power Intelligence Component Technology in Power System ZHANG Ming-xia, SONG Yu, MI Wei-qiang (Department of Electric Power, North China Electric Power University, Baoding 071003, Hebei, China) Solve the problems of repeated development and maintenance of power system application software. The basic idea of ​​component software technology and the advantages of code reuse and the flexibility of building large-scale applications are introduced. The practical components of fault calculation are also compiled. Component object model is the standardization direction of power system application software. The IEC (International Electrotechnical Commission) 61970 series of standards and the CIM (Common Information Model) CIS (Component Interface Specification) are based on a component object model to standardize the development of EMS applications.

With the extensive application of computer technology, the safe and stable operation of power systems increasingly depends on hardware devices and software products based on microcomputer technology. Wiring analysis, power flow calculation and fault calculation are the basic contents of many power system analysis and calculation software. Through years of theoretical research and engineering practice, a set of mature theories and effective algorithms have been formed. As far as the theory itself is concerned, the algorithm can meet most of the engineering needs. That is to say, for many years, a considerable number of researchers and engineers have undeniably fallen into the quagmire of engineering, postgraduates in universities, and engaged in intelligent design and information management of power systems. The research and more people repeated the same work several times, and different companies and work units could not share code. Even if the same work unit or even the code written by the same person, in many cases due to different application environments and customer needs have to be reinvented, resulting in The huge waste of resources has largely hindered the promotion of application software.

Nowadays, component software technology is no stranger to us. From OLE to ActiveX, from COM to DCOM, Microsoft has made its concept of independent reuse of language-based binary code a reality, providing a good solution to many defects in the software development process. Fang also opened up broad prospects for the software industry.

1 The inadequacies of traditional software The analysis of the reasons for the traditional application software architecture and design philosophy of the power system mainly has the following problems, resulting in waste of resources in software production and application.

Poor adaptability of the software to the application environment makes it difficult to share code between different application environments. As the environment changes, many codes lose their vitality and have to be repeatedly developed. Poor software maintainability makes it difficult to adapt to equipment configurations, power grid structure, and protection settings. Differences in principles make it difficult to apply new theories and methods in a timely manner and adapt to the new requirements of production operations. This creates a vicious circle of long software development cycles and high costs.

Software relies heavily on programming languages. Applications developed in different languages ​​are difficult to interact with. Developers must make choices between various programming languages. It is difficult to combine the excellent performance provided by various programming languages ​​in the same application. Therefore, software products cannot satisfy many requirements. Needs.

Closed application architecture lacks the necessary flexibility The frequent transmission of data in each part, the complexity of the relationship does not form enough independent functional modules, once the application is formed, it is difficult to change.

The lack of openness for code-oriented, service-oriented design frameworks makes it difficult to meet the needs of increasingly widespread distributed network applications.

2 Limitations of Object-Oriented Code Reuse Object-oriented programming is, to some extent, a solution that the software industry is willing to accept. To put it simply, the goal of object-oriented programming is not to program in a way that mimics computer logic, but to allow developers to write programs in a way that people in the real world think about. Object-oriented programming is gaining popularity because it allows developers to share code between disparate projects, but this reuse is limited to languages ​​and application environments. That is, they generally require that the original developer and the person who intends to reuse the code use the same programming language. If a class library is written in C++, applications written in other languages ​​can hardly reuse the code; likewise, ava classes can only be used in ava programs.

True code reuse means code must be written in a way that is sufficiently generic to rebuild larger code, and it can also be customized according to how the code works. So, although using object-oriented programming can obtain relatively more software reuse than without it, it faces these limitations. How to apply code sharing and reuse to actual, real-world programming, although object-oriented programming has long been the most direct solution to this problem, it is obviously not satisfactory.

3 The superiority of component software technology Component technology can also be understood as "object-based" programming technology. It has deep roots in the object-oriented technology that the software industry has been favoring for many years, but it has essential differences. As mentioned above, object-oriented technology cannot be used for cooperation and code sharing between programmers using different languages. In the face of new requests from customers, new environments applied, or new developments in research and development, a lot of code has become a waste of food, which is unsatisfying and unacceptable.Component technology emerged at the historic moment. In the market, programmers do not have to repeat the work that many people have done, concentrate on the implementation of new functions, and even assemble large-scale applications with complete functions without writing any code, just as pc manufacturers can completely assemble components by purchasing A PC with excellent performance does not need to produce all parts by itself, and it does not need to care about the internal details such as the material and structure of the parts, and the centralized expression of language independence, reusability, interoperability, and independent development.

3.1 Component Object COM defines and implements a soft component mechanism that can be collectively referred to as an "object". COM objects are similar to C++ classes in that they all support encapsulation, polymorphism, and inheritance. However, the COM object that is a binary object is different from a C++ object. The COM object is only concerned with the interface. COM components can construct applications, relying entirely on the interfaces supported by the components. The functionality of a COM object is also reflected through the interface. Combining database and network technologies, a large distributed application can be completely constructed by a series of functionally independent software components.

3.2 The realization of the component is the interface that allows the component to communicate with users and other applications. Without the interface, the COM component is useless; the interface defines the common functions that the software and components can use, and is the only window of the component to the outside world. The design of the interface depends on the function of the component itself and its communication with other applications or components. The rationality of the interface design directly relates to the effective implementation of the component function and the communication mechanism with other applications, thereby affecting the reusability of the entire application. Sexuality and maintainability.

The implementation of the component begins with the design of the interface, and the interface is planned according to the function to be realized by the component and its interaction with other related applications. The functional modules are mutually independent and can be flexibly interacted, and the independence of the component to the language and the application and the interaction between the components are maintained. Flexibility; When a component needs to call the functions of other components or send information to other components, it also needs to properly handle the calls and trigger relationships between components. In a large distributed application, the function partitioning of components is also a preliminary consideration in design. Considerations.

4 component software technology adaptability in the power system only parts have awake function. This is precisely the group's bli. scheduling load of the Galore power system application software bookmark1 power system, due to the differences in the power grid structure and the planning and design, operation analysis and other different functional requirements, application software development is also different Focus. Specific applications developed for specific systems are difficult to promote. However, there are a considerable number of these applications (such as wiring analysis, power flow calculation, etc.) that have common and basic functions, which will inevitably lead to the repeated development of the code for completing these functions in related applications; in addition, the reuse of code implemented by object-oriented technology through implementation of inheritance. However, it restricts the independent development of the object; in addition, with the increase in the technological content of power system production operations and the scale of the power grid, the requirements are also increasing. In the past, self-contained, closed-door applications were often overstretched and difficult to achieve. all. Application component software technology encapsulates basic functions such as wiring analysis and power flow calculation into independent soft components, and provides external interfaces and function functions to explain their functions, regardless of how the soft components will be used. The customer calls the corresponding interface function to obtain its required function; of course, it can also select the required components like the PC manufacturer, construct its own harmonic analysis, relay protection and other applications in an arbitrary manner without having to produce any source by itself. The code does not have to be tied to a specific structure.

Therefore, adopting a long-standing “occupationism” breaks through the limitations of “self-sufficiency”, making the software production of the power system socialized and standardized, and will definitely increase resource utilization, promote the application of new technologies and new methods, and ensure the power system more effectively. Safe and stable operation.

5Fault Computation Component The author developed a fault calculation component based on component software technology, which can be "plug and play" in different development environments and power system application software, avoiding repeated development and achieving the sharing of software resources.

Thanks to the realization of the soft parts, it overcomes the "movement of the whole body" in the past.

The drawbacks are that the related software has good maintainability and scalability, and will greatly shorten the development cycle of other applications in the power system.

For the sake of simplicity, the component provides an external interface to encapsulate its fault calculation function. The definition is as follows: The fault calculation uses the compensation method based on multiport network theory. The principle is described in detail.

The fault calculation component implemented in this paper is a basic component and there is no reuse of other components. However, in actual use, the fault calculation depends on the load flow calculation to a certain extent to obtain the necessary data. The author has developed the basic components of power flow calculation and provided the interface ILoad- 6 test component technology. Its purpose lies in its independence of languages ​​and platforms. I use Visual C++ 6.0 to implement components, and they are commonly used in Visual C++60 and Visual Basic6. 0 was tested; this component has good application performance in graphical relay protection setting calculation software.

7 Conclusion COM is not a language, but a binary standard that makes software components interact with each other as objects. It provides a component object model that bridges the gaps of object-oriented programming. The application of component technology in power system software design is still at an experimental stage, and there are many details that need further study; its wide application will promote exchanges and cooperation among R&D personnel and promote the standardization and standardization of software production; it advocates multilayer distribution. The application architecture will be the overall model of future software.

Polycarbonate Solid Sheet

High transparency and UV-Protection
Light Weight and Impact Strength
Inhibiting Condensation and Thermal Insulation
Sound Insulation and Flame Resistance
Easy Installation and Environmental Friendly
Roof light for office building, department stores, hotels, villas, stadiums, schools, amusement centers, hospitals etc.
Robbery counters in banks, jewelry counters and police Anti-riot shields, Safety roof light for airports and plants.
Safety roof light for airports and plants.
Sign boards for advertisement, Sky-lighting cover.
Housing glasses, indoor partitions, sidewalk, sight window, sunshade, terraces and shower doors.


Solid Sheet

Solid Sheet,Clear Polycarbonate Sheets,Solid Polycarbonate Sheet,Solid Polycarbonate Sheets

Suzhou Demine Plastic Co.,Ltd , https://www.demineplastics.com

This entry was posted in on