共查询到20条相似文献,搜索用时 15 毫秒
1.
面向对象编程中稀疏线性方程类构造研究 总被引:2,自引:0,他引:2
电力系统分析软件广泛使用面向对象的程序设计方法(OOP),采用C++语言按面向对象思想提出了一种稀疏线方程类的构造方法,该类提供了统一接口,可以方便地应用于电力系统分析计算的各个方面,而不必考虑其实现细节,并且易于修改、升级。为了有效地使用稀疏向量法,利用数级型链表来存储稀疏矩阵,用数组型序列链表来存储路径并集,这种存储结构具有节省内存、存取速度快的特点。实践证明,这样构造的类能取得良好的效果。 相似文献
2.
3.
4.
Woei-Kae Chen Yu Chin Cheng 《Education, IEEE Transactions on》2007,50(3):197-203
This paper reports the experiences in the design and execution of an object-oriented programming (OOP) laboratory course. In this course, the students are required to implement a small-to-medium scale interactive computer game in one semester, making use of a game framework. The students begin with a small number of the most tangible objects of an immediate concern. Then, as the semester unfolds and the game becomes increasingly sophisticated, OOP principles and design patterns are introduced as the means to cope with design complexity. The experience has indicated that framework-assisted, computer-game programming is a highly effective way to keep the learners engaged and facilitated in broadening and deepening their OOP skills. The ability to design nontrivial computer games that actually work has induced a consistently high level of sense of achievement among the students. 相似文献
5.
6.
The new thing in the computer programming arena is object-oriented programming (OOP). OOP distinguishes itself from conventional programming in three important ways: encapsulation, inheritance and polymorphism. Encapsulation describes the organization of both code and data into powerful units called objects. This organization, a natural extension of a data-structure, creates an implicit relationship between object-code and object-data. Encapsulation describes the organization of objects into an object hierarchy. A child-object is said to inherit and specialize the behavior of one or more parent-objects. Polymorphism describes the ability of an object to react to a command with a reaction consistent with the object. There are many methods of effecting encapsulation, inheritance, and polymorphism. Several object-oriented programming languages (OOPLs) have been developed including Smalltalk, Turbo Pascal with Objects, and C++ (pronounced C plus plus). C++ is a popular OOPL among electrical engineers. This popularity is due in part to a strong similarity to ANSI-C. The similarity allows an engineer to first use C++ as a “better C” by learning encapsulation techniques. This first step, encapsulation using C++, is the topic of the present article. Using C++ as a “better C,” however, should not be the ultimate goal. The full power of C++ can only be realized by mastering all the underlying OOP mechanisms 相似文献
7.
8.
基于面向对象编程的电力系统潮流计算软件 总被引:2,自引:0,他引:2
本文首先介绍了面向对象程序设计的基本特征、概念和方法,然后,从电力系统模型,稀疏矩阵处理,通用潮流类的构造等几个方面具体描述如何运用OOP方法民力系统应用软件设计。 相似文献
9.
基于面向对象方法的电力系统潮流计算程序 总被引:7,自引:2,他引:5
本文首先介绍了面向对象程序设计方法(简称OOP)的基本特征、概念和方法,然后,从电力系统模型、稀疏距阵处理、通用潮流类的构造等几个方面具体描述如何运用OOP方法进行电力系统应用软件设计。 相似文献
10.
11.
介绍了面向对象的电力系统继电保护综合管理系统软件的设计,阐述了该图形系统的功能和特点。该图形系统用Delphi和Access进行开发,采用了面向对象的思想,系统易于扩充和维护。将Delphi和FORTRAN进行混合编程,达到这2种语言优势互补的目的。运用先进的可视化编程技术,成功地将继电保护信息集成到图形界面中来,实现了智能型的综合信息管理系统。 相似文献
12.
13.
14.
介绍了一个面向对象的电力系统调度操作票专家系统。为了实现源代码的重用并改善软件的性能,面向对象的继承性被用于构造软件的类体系,且类的构造是基于操作对象的功能和操作方式,而不是以往的设备或间隔分类。基于面向对象的分析和设计技术,设计了适合电力系统调度操作的网络拓扑、知识库和推理机制,从而生成了一个实用的电力系统调度操作票专家系统。 相似文献
15.
作为一种快速应用程序开发语言的VisualBasic为众多电力研究人员所使用,而具有电气主接线图的电力系统应用程序也显得更加易用和友好,但是用VB开发绘图软件一直被认为比用其他编程语言要困难得多。文中提出了利用VB的面向对象技术开发交互式电力系统绘图工具的一种方法,基于这种方法编写出了相应的软件,并且把该软件应用于相量测量系统为其表示被测电力系统的拓扑结构及运行状态。 相似文献
16.
WNT-8000新一代综合调度自动化系统(一)综述 总被引:1,自引:0,他引:1
介绍了基于WindowsNT开发的新一代综合调度自动化系统WNT-8000的设计思想、基本配置、主要功能和技术特点。系统采用面向对象的程序设计方法和全分布式与client/server相结合的系统结构,并将实时数据库与商用数据库有机结合,从而具有更高的可靠性、灵活性和开发性;系统集传统的SCADA功能与AM/FM(AutomaticMapping/FaulityMapping)和MIS(ManagementInformationSystem)系统于一体,为电力生产和管理提供了更完整有效的信息,适用于各级电网调度自动化系统 相似文献
17.
《Electric Power Systems Research》2002,62(3):161-171
In this paper, an intelligent tutoring system (ITS) is proposed for a power plant simulator. With a well designed ITS, the need for an instructor is minimized and the operator may readily and efficiently take, in real-time, the control of simulator with appropriate messages he(she) gets from the tutoring system. Using SIMULINK and based on object oriented programming (OOP) and C programming language, a fossil-fuelled power plant simulator with an ITS is proposed. Promising results are demonstrated for a typical power plant. 相似文献
18.
Sparse Reactive Power Scheduling by a Penalty Function - Linear Programming Technique 总被引:1,自引:0,他引:1
This work presents a linear programming based algorithm to solve reactive power dispatch problems. A mixed set of variables (generated voltages and reactive power injections) and the reactive power model of the fast decoupled load flow algorithm are used to derive linear sensitivities. A suitable criterion is suggested to form a sparse reactive power sensitivity matrix. The sparse sensitivity matrix is in turn modeled as a bipartite graph which is used to define an efficient constraint relaxation strategy to solve linearized reactive power dispatch problems. The penalty function - linear programming technique method is used in a complete reactive power dispatch solution algorithm, the performance of which is discussed by solving a 256-node, 58 control-variable test system. 相似文献
19.
20.
电力系统潮流图自动生成软件的设计与实现 总被引:2,自引:0,他引:2
根据电力系统地理接线潮流图的特点,提出一种基于电力系统仿真软件PSS/E潮流数据文件的潮流图绘制软件的设计思路。采用面向对象的方法和可视化编程技术,将各电力系统装置封装为元件类。利用电网综合数据库对电网拓扑结构和潮流信息进行管理,通过数据库将各功能模块连接成一个有机的整体,从而减少了电力系统可视化软件的开发周期和工作量。该软件可根据用户选择自动生成矢量格式的潮流图,解决了PSS/E程序本身潮流图输出不理想的问题,提高了电网分析的智能化和准确性。 相似文献