5, 2014, 21-27
1 INTRODUCTION Protection systems are sets of equipments, schemes and policies dedicated to detect faults in the protected elements of the power systems, to disconnect the faulted element and to reestablish the service, if it was the case. Because power systems operate in different operating states, different fault scenarios may occur. Protection systems must provide different schemes and equipments to detect and to react to each and every one of these fault scenarios, from the most simple of them to the most complex and compelling. One of the most important equipments employed in the protection of power systems are protective relays. These are one of the most flexible, economic and well-known devices that provide reliable, fast and inexpensive protection. Relay models have been used for a long time by manufacturers, consultants and academics for designing new prototypes and algorithms, to check and optimize the performance of relays already installed in power systems and to train new protection personnel. Relay manufacturers were the first to develop relay models for evaluating the performance of their designs. Those models implemented the processes by substituting the values of inputs in equations representing the relays to check if the outcomes were acceptable. The characteristics of overcurrent relays were the first to be modeled. Mathematical models [1], [2] were developed in the form of algebraic equations for representing time-current characteristics of overcurrent relays. The first transient model of a distance relay was presented in [3], where the ninth-order state space mathematical model of a mho element was developed. The works presented in the past on modeling of digital and numerical relays have used two different approaches: The first approach has modeled the power system and the relay in the same electromagnetic transient program ([2], [4], [5], [8], [9]), while the second approach has modeled the power system in the electromagnetic transient program and the relay in an external program [10]. In the second approach, the interface between the electromagnetic transient program and relay models is crucial. The following is a description of the works developed in the past on modeling of digital and numerical relays. The works were found by a literature survey
conducted for this paper and are presented in the ascendant chronological order. In this paper a methodology for designing models of protection systems is presented. The computer program developed in this paper to design and model numerical relays (PLSA) is introduced. The computational structure of PLSA, the role of PLSA in the methodology for designing the protection system models is discussed. The use of PLSA to design relay models is described. The procedure to embed the generated relay model in a PSCAD/EMTDC case is outlined. The computational resource of PSCAD/EMTDC (component) that is used as a base to construct the numerical relay model in the PSCAD/EMTDC case is briefly examined. The procedure to create a new PSCAD/EMTDC component is presented. The process to customize the component as a numerical relay model is also described. 2 DESCRIPTION OF THE METHODOLOGY The proposed methodology requires that a power system must be first modeled in PSCAD/EMTDC [11,12]. For that, PSCAD/EMTDC provides a complete library of the typical elements presented in typical power systems. The modeling of protection system is initiated by modeling each of the numerical relays belonging to the protection system. For this, the data and parameters of each of the numerical relays are entered in a PLSA project. The final product of the PLSA project is a set of files containing the code of the numerical relay models. To incorporate the relays in the power system modeled in PSCAD/EMTDC, a feature of PSCAD/EMTDC called components is employed. A PSCAD/EMTDC component is a computational resource to create user-custom models. PSCAD/EMTDC components share the same computational structure as the models belonging to the PSCAD/EMTDC libraries. This structure is constituted by an icon that activates the element in the graphical interface PSCAD, an editor to add code to process the inputs and to address the outputs of the element, and associated dialog boxes to provide parameters and/or to gain access to the internal variables of the element. The main difference between digital and numerical relays is the type of microprocessor they use as Central Processor Unit (CPU).