Power System Analysis Software Package (PSASP) is widely used in power system simulation. The design of PSASP faces many changeable factors. Several design patterns in object-oriented programming are applied in the design of PSASP to reduce the difficulty and complexity of PSASP software design. It is proved that applying design patterns in the design of PSASP can simplify the structure of software, improve the reusability of code and effectively face the challenge of changing. In this article, the application of MVC, composite, bridge, decorator, command, and abstract factory design patterns are presented and described in detail.
Published in:
Industrial Control and Electronics Engineering (ICICEE), 2012 International Conference on
Date of Conference: 23-25 Aug. 2012