Next Article in Journal
High Power Fiber Laser Welding of Single Sided T-Joint on Shipbuilding Steel with Different Processing Setups
Next Article in Special Issue
Day-Ahead Dispatch Model of Electro-Thermal Integrated Energy System with Power to Gas Function
Previous Article in Journal
Experimental Investigation on the Influence of a Double-Walled Confined Width on the Velocity Field of a Submerged Waterjet
Previous Article in Special Issue
A Time-Varying Potential-Based Demand Response Method for Mitigating the Impacts of Wind Power Forecasting Errors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hardware-in-the-Loop Based Co-Simulation Platform of Cyber-Physical Power Systems for Wide Area Protection Applications

1
School of Electrical Engineering, Southeast University, Jiangsu 210000, China
2
Global Energy Interconnection Research Institute Co., Ltd., State Grid, Beijing 100000, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2017, 7(12), 1279; https://doi.org/10.3390/app7121279
Submission received: 24 October 2017 / Revised: 4 December 2017 / Accepted: 6 December 2017 / Published: 8 December 2017

Abstract

:
With the development of smart grid technology, there has been an increasingly strong tendency towards the integration between the aspects of power and communication. The traditional power system has gradually transformed into the cyber-physical power system (CPPS), where co-simulation technologies can be utilized as an effective measure to describe the computation, communication, and integration processes of a power grid. In this paper, the construction methods and application scenarios of co-simulation platforms in the current research are first summarized. Then, a scheme of the real-time hardware-in-the-loop co-simulation platform is put forward. On the basis of power grid simulation developed with the Real-Time Laboratory (RT-LAB), and the communication network simulation developed with OPNET, the control center was developed with hardware devices to realize real-world control behavior instead of digital simulations. Therefore, the mixed-signal platform is capable of precisely simulating the dynamic features of CPPS with high speed. The distributed simulation components can be coordinated in a unified environment with high interoperability and reusability. Moreover, through a case study of a wide area load control system, the performance of the proposed platform under various conditions of control strategies, communication environments, and sampling frequencies was revealed and compared. As a result, the platform provided an intuitive and accurate way to reconstruct the CPPS environment where the influence of the information side of the CPPS control effects was verified.

1. Introduction

With the application of intelligent technology, the demands for low-carbon living, and the driving forces of market regulation and government policy, the traditional power system is currently facing a significant transformation towards the smart grid system, for which the main features include self-healing and being of high quality, allowing various forms of power generation, and improving power market and asset optimization [1,2]. Advanced information technology is the key to the smart grid, and therefore bottlenecks located in the information collection, transmission, processing and sharing of the traditional power grid should be solved [3]. It is necessary to address the technology of the sensing measurement systems, data representation and storage systems, analysis and decision systems, control and execution systems, and so on [4]. The computing and communication processes are deeply embedded in the power physical process, which interact closely with physical process and bring new capabilities. Therefore, the smart grid can be studied from the perspective of cyber-physical integration. With the application of 3C technology (i.e., calculation, communication, and control), there is an interaction of power flow and information flow in a considerable number of power services. Therefore, the power system has transformed into an open, interconnected, stable, and self-consistent system, namely the cyber-physical power system (CPPS) [5,6,7]. CPPS can not only obtain data from the environment, fuse data, and extract effective information, but also act on the environment through the effector. The key connotation of CPPS is the wide interconnection and integration of the physical power grid, sensor network, computing units, communication network, and control modules, through which the power system operates in a reliable, efficient, and real-time synergetic mode [8,9].
The application of information and communication technologies (ICT) not only increases the intelligence level, but also brings control complexity to the power system operation. The power system load control is used as an example. In the traditional operation mode, the load usually plays the role of a controlled object, while in the CPPS environment, with access to intelligent terminal equipment and the construction of advanced measurement infrastructure, the system has better observability and controllability of the load. On one hand, from the perspective of the user, the insertion of active load gains a better ability for information collection and demand response. On the other hand, from the perspective of a large power grid, the wide installation of intelligent controllers provides better technical support for resource configuration, and security and stability control, etc. However, the wide area information also has higher requirements for the reliability and speed of communication. The delay, error, or disruption of communication may cause the system to become unable to respond to disturbances in time, or make the controller fail to take effective measures, especially under a state of emergency. As a result, the global optimal coordinated control of an interconnected power grid cannot be guaranteed.
The key of CPPS research is to explore the mechanism of influence of the information field on the primary power system. In traditional power system research, the whole system is divided into several independent modules according to function, whose dynamic characteristics are described by differential algebraic equations. However, CPPS contains many items of distributed computing and control equipment where modules with various mechanisms and forms are deeply interconnected by the information communication system. Therefore, the original attributes of the power, communication, and control devices are influenced and changed by each other, which requires research within a common framework. Compared with the independent analysis of these attributes, unified modeling can more effectively describe the internal connection among the multilayer physical and information objects [10,11,12]. In order to analyze the interaction characteristics among the physical environment, communication environment, and control flow, typical CPPS services and applications are simulated and analyzed [13]. Mainstream research interests include the contradiction between fast response demand and limited network bandwidth, the interaction between distributed computing modules and the centralized control center, and the interactive optimization algorithm among power sources, networks, and loads [14].
To analyze the impact of communication quality on the power grid operation, there must be guarantees of the smooth interconnection and intercommunication between the power grid and communication grid. The key lies in how to unify the information system and power system fully. The modeling, analysis, and control methods matching CPPS are essential in the design and guidelines of specific power system applications. However, there is a gap in the traditional research on the power and information systems. The power system is a time-varying continuous system where the power flow information is calculated by differential algebraic equations; while the information system is discrete and event-driven, where the key event point can be derived by the finite state machine. Therefore, the split representation features between both systems hinder the unified theoretical modeling of CPPS, which remains to be further researched.
Before the breakthroughs of theoretical research on CPPS, software simulations based on the prototype feature of CPPS played an ever-increasing role in simulation, testing, and verification support of theoretical and practical research [15]. Therefore, a platform that simulates the multi-state and multi-fineness characteristics of CPPS needs to be established. Typical power system simulators apply the discrete step to approximate the continuous process, while typical information system simulators use the discrete-state model to describe the network behavior. There is no unified software simulating both systems simultaneously. Instead, the co-simulation scheme first simulates power and communication situation alone, and then realizes the data sharing and collaborative work through an interactive interface. This creates a combination of several simulators, which allows participants to interact, coordinate, and cooperate with each other, while conserving their own advantages. Its easy implementation and high reliability make co-simulation a feasible scheme. In recent years, with increasing attention and support of CPPS, several co-simulation tools have been developed, and are summarized in detail in Section 2.
The focus of current co-simulation platforms is the data synchronization and coordinated control between both simulators. Based on the simulation speed, the data synchronization methods include real-time and non-real-time methods; and according to the location of control unit, the control methods include internal control and independent control. The main applications of the current platforms are to analyze the impact of the parameters (e.g., delay, throughput, bit error rate of the power communication protocol) on the power service operation. Due to the lack of real-time performance and model accuracy in a digital simulation platform, the process of control loop and the time sequence of data interaction in CPPS cannot be accurately constructed and analyzed. Therefore, a real-time hardware-in-the-loop platform was put forward in our paper, where real-time simulators were utilized to make up for the simulation speed, and hardware control devices were utilized to make up for the model authenticity. As a result, a complete, closed-loop and credible data flow in CPPS was built to simulate and verify the real-world power-communication interaction case.
This paper is mainly dedicated to the design and application of CPPS co-simulation. First, through the analysis of the interaction mechanism of power flow and information flow, the corresponding modeling, analysis, and control methods were put forward. Then, the framework of the CPPS real-time hardware-in-the-loop co-simulation platform was introduced where the software simulation and hardware insertion were combined to realize the closed simulation loop. The digital part was based on the Real-Time Laboratory (RT-LAB) and OPNET, while the hardware part was developed by the advanced RISC machines (ARM) processor. Moreover, to verify the proposed platform, a case study of wide area load control was performed. The time delay of each component was decomposed into several parts to analyze their influencing factors. Finally, by comparing the different implementation effects resulting from the various link parameters, data attributes, control strategies, and device statuses, the system protection performance of CPPS was validated.
The original contributions of this work include: (1) the combination of digital simulation and analog simulation to achieve great modeling convenience, low development cost, high simulation speed, and close practicality; (2) the application of a hardware simulation into the control process to credibly reflect the internal control and external interaction characteristics; and (3) that all simulators could run in the real-time environment, which can make simulation close to the real-world physical process.
The rest of the paper is organized as follows. Section 2 introduces the current research into CPPS co-simulation platforms. Section 3 specifies the structure of the proposed hardware-in-the-loop platform. Section 4 demonstrates the simulation on a wide area load control case, and Section 5 concludes the paper.

2. Current Research of Cyber-Physical Power System (CPPS) and Co-Simulation Platforms

2.1. Characteristics of CPPS

In addition to traditional power system devices, a large number of distributed energy resources (DER) and diverse smart clients are accessed by the CPPS [16]. Moreover, various sensors and communication networks with high information sensitivity have been added to meet the new service requirements. As shown in Figure 1, the key units of CPPS (i.e., physical power grid, sensors, computing units, and control systems) are closely integrated through communication systems. Therefore, based on the data-driven principle, the analysis and handling of the original status information has gone through four stages: state awareness, real-time computation, scientific decision, and precise execution.
The characteristics that differentiate CPPS from traditional power systems can be summarized as follows: (1) the large scope of information collection; (2) a wide combination of wired communication and wireless communication networks; (3) a large number of distributed computing equipment; and (4) the equipment directly connected and controlled by the control center.
The main application of a CPPS is to make the best of strong computing ability and wide information through co-simulation service requirements mapped into the simulation network. All kinds of information can be collected and utilized on a larger scale to promote optimal decision-making. Therefore, the safety, reliability, and efficiency of the power system operation are improved [17]. The next two subsections will discuss current co-simulation methods in detail.

2.2. Application Scenarios of Co-Simulation Platforms

The co-simulation of a CPPS aims at verifying the effectiveness of the control algorithm and security analysis under a CPPS environment. From the perspective of services, its application includes demand response, network monitoring, system optimization, wide area measurement system (WAMS) security, and supervisory control and data acquisition (SCADA) security analysis. Three main application scenarios are discussed as follows.

2.2.1. Wide-Area Security Monitoring

The current physical security theory and information security theory are integrated in a unified CPPS framework where the network attributes, equipment statuses, and exterior environments are taken into consideration to evaluate the safety, interoperability, and controllability of the wide area system. A general electric power and communication synchronizing simulator called EPOCHS, developed by a research team at Cornell University, has been utilized to simulate the agent-based special protection process and verify the impact of network delay on the real-time protection action [18]. The research team at Virginia Tech built a global event-driven simulator called global event-driven co-simulation (GECO) [19]. Wide area backup distance protection scenarios were simulated to prove that the communication delay between the agents satisfied the power protection requirements. Overall, this kind of application is usually used to explore the influencing factors, cascading effects, and optimization methods of wide area security and stability from the perspective of complex dependent networks.

2.2.2. Network Control

Accuracy and timeliness are required from the control algorithm of power system. However, the traditional control process often ignores the influence of coupling cyber-physical features on the control effect, which cannot guarantee expected control goals. Instead, the co-simulation platform can be utilized to verify the impact and feedback of various networking attributes on the control algorithm [20]. A typical case is POWERNET, which was developed with Modelica and NS2 by a research team at the Case Western Reserve University [21]. The originally isolated power network and communication network were interoperated through the convergence layer. On this foundation, the system performance evaluation index was established by considering the network topologies, control targets, communication performance, and other factors, thus verifying the influence of different system attributes on the control effect of a closed-loop system. Overall, the optimal control strategy aiming at the interference mechanism between the power and communication domains was the focus in this kind of application [22].

2.2.3. Demand Response

Under the complex operation and full state awareness of CPPS, an assorted demand response theory is required to ensure the stability of the power grid. The research team at Ghent University developed an integration platform based on MATLAB and OMNET++ where an intelligent charging algorithm of electric vehicles was put forward to reduce the peak load, minimize the energy costs, and promote renewable energy [23]. A research team at Ohio State University developed a real-time co-simulation platform based on RT-LAB and OPNET where a micro-grid system with distributed generation, load, energy storage, and control devices was built [24]. In the islanded mode and grid-connected mode, corresponding demand response algorithms considering the communication influence were utilized to achieve the balance of energy production, supply, and sale. Overall, this kind of application is used to analyze the optimal load response algorithm from the perspective of equipment response, network condition, and multi-agent interaction to ensure high-quality and uninterrupted power for users.
By taking a large number of computing devices, sensing devices and information devices into consideration, current research is aimed at revealing the external characteristics and internal relationships of a large complex system.

2.3. Control Modes of Co-Simulation Platforms

Various kinds of software with different simulation characteristics are utilized to realize partial functions of CPPS respectively. Therefore, a simultaneous solution is required to unite the distributed simulation process in a common framework. According to the location and implementation mode of control units, the co-simulation framework is divided into the following two types.

2.3.1. Master–Slave Type

Between two simulators, one is selected as the main simulator, which is responsible for the realization of the control and synchronization logic, and leads the whole co-simulation process. A typical case is POWERNET, where the power model is simulated by Modelica, and the information model is simulated by NS2 [25]. The simulation is driven by the main simulator NS2, which determines the startup and pause of the simulation process, and guides the transmission of status data and control instructions to Modelica. Other examples where this method is adopted include GECO and VPNET [26,27]. Overall, this type of platform is simple and reliable, though low in efficiency due to the serial operation. Although this kind of scheme does not need to deal with the problem of time synchronization, it cannot solve the complex continuous dynamic modeling of a differential-algebraic equation (DAE) system and the accurate simulation of electromechanical characteristics.

2.3.2. Distributed Type

Each simulator is only responsible for its simulation function, while the interaction control and time synchronization between both simulators are in the charge of the third-party software [28]. A typical case is MPNET, which is made up of MATLAB, OPNET, and a control station. There is a unified data interface and control center responsible for the collection, analysis, and transmission of the simulation information between both simulators. Moreover, it coordinates the simulation sequence and gives feedback to the control instructions. Other examples of use of this method include EPOCHS and GridSpice [29]. This kind of platform is more approximate to real-world situations when compared to the master–slave type, especially in the distributed system, where controllers can be divided into local and global types to specify the control loop. Through the rich component library and existing computing methods of current mature simulation tools, the comprehensiveness and accuracy of the whole system is maximized. Software interface, data exchange, and time synchronization are the key research contents of this kind of solution.
Current research focuses on the physical construction and link structure of the co-simulation platform. The basic physical structure of the proposed platform has been enlightened by current research, and the simulation requirements have been investigated by typical CPPS service applications. Therefore, the internal software simulation and external interactive function of the proposed platform were designed.

3. Establishment of CPPS Real-Time Hardware-in-the-Loop Co-Simulation Platform

In current digital co-simulation, the control module is usually developed by software in an independent host, transmitting digital control signals to other simulators through Ethernet. The advantages of digital simulation are the fast simulation speed, low cost, convenient parameter adjustment, and non-restricted system scale. However, it is short of the intuition of physical concepts. For equipment with complex structures and internal interrelationships, a mathematical model may be too difficult to establish. Therefore, a control module developed by physical devices was applied in the platform, forming a hardware-in-the-loop simulation. In addition to the digital power flow and information flow, the analog control flow can reflect real-world control properties. The mixed-signal platform can take advantage of both simulation types, ensuring the intuition, universality, flexibility, and integrity of the co-simulation. On the whole, the proposed co-simulation in our research possessed the following characteristics: distributed type, real-time, and hardware-in-the-loop.

3.1. Simulation Requirements and Overall Structure for the Platform

One of the most important features of a CPPS is that complete and detailed information can be obtained by means of advanced sensor and high-speed communication networks. This includes various types of measured data such as frequency and voltage collected by the phasor measurement unit (PMU) and remote terminal unit (RTU), and external data such as meteorological information and intelligent load information. Plenty of information is conveyed to the control center to support monitoring, regulation, and protection.
To investigate the interactive coupling characteristics between power flow and information flow, an accurate wide area load control case in the source–network–load system was put forward that can promote wide area protection effects. However, there is currently no related research on this kind of scheme. In a traditional power system, the source follows the change of load in one way. The source–network–load system is a flexible system where the power supply, transmission network, and intelligent load respond to and reserve each other. The status information of three layers is gathered to obtain the optimal control strategy, which requires fast and accurate awareness of multi-layer information. As shown in Figure 2, the type and value of load terminal information should be accurately and rapidly informed by the control layer. When a security risk occurs in the system, an optimal load shedding strategy is executed according to the priority of load to maintain the voltage and frequency stability of the grid. Therefore, this kind of power service demands that the power simulator can support the real-time simulation of a large scale network, and an information simulator can realize the physical and logical construction of control devices and a measurement terminal mapped to the power nodes. The communication network can support a special power communication protocol and real-time link simulation, which can transfer the load information and control instructions among the control center, control substation, and the terminal in a timely fashion as well as responding quickly to changes in the power grid situation.
Load information is gathered from the control terminals in the bottom layer to control centers in the top layer. According to the control strategy and algorithm, control instructions are generated by the control center and are issued by the control substation. This typical multi-level stability control service goes through the process of data acquisition, transmission, processing, transmission, and execution.
For data processing procedures among multiple data transmissions, an independent control module is established in the platform, which receives and handles data from the information simulator and can return control instructions. As shown in Figure 3, a three-layer co-simulation platform was established, including a power system layer, communication network layer, and a control center layer. The power layer and communication layer were established by the digital simulators RT-LAB and OPNET, respectively, which are responsible for the real-time simulation of the power and communication environments. Meanwhile, the control center layer was established by hardware devices to simulate the control master station and control execution station, thus forming a closed control loop of the whole platform.

3.2. Modeling and Simulation of Power Physical System

The key to real-time power simulation is that the task can be decomposed by the distributing process and executed across a parallel infrastructure. Normal power system simulators are attached to a PC, which cannot satisfy the requirements of calculation speed. Considering the real-time requirements, there are two commercial specialized simulators to choose from: the Real-Time Digital Simulator (RTDS) (developed by RTDS Technologies, Winnipeg, MB, Canada) and RT-LAB (developed by OPAL-RT Technologies, Montréal, QC, Canada). In consideration of the relatively mature model library and cheap cost of RT-LAB, it was chosen as the real-time simulator of the power system.
Through full integration with MATLAB/Simulink (developed by MathWorks, Natick, MA, USA). RT-LAB is compatible with entire models of MATLAB/Simulink. Moreover, RT-LAB is equipped with several special model libraries like RT-events, RT-Drive, and ARTEMIS, which cover various power system situations including the electromagnetic transient simulation of a large-scale Alternating Current/Direct Current (AC/DC) power system, power grid planning and feasibility analysis, transient stability simulation of power system, and an integration test of flexible AC transmission systems (FACTs) and high voltage direct current transmission (HVDC) control systems.
RT-LAB provides the common models for interaction with exterior environments, which are as follows: the OpIPSocketCtrl module is responsible for data control, the OpAsyncRecv module is responsible for data reception, and the OpAsyncSend module is responsible for data sending. By employing these modules, RT-LAB can communicate with other simulators through the TCP/IP protocol.

3.3. Modeling and Simulation of Information Communication System

Mainstream information communication simulators can be divided into two types: commercial simulators represented by OPNET (developed by riverbed, San Francisco, CA, USA) and QualNet (developed by SCALABLE Network Technologies, Inc., Culver City, CA, USA), and open source simulators represented by NS2 and SSFNET. Generally, commercial simulators are expensive and relatively enclosed, while offering complex overall modeling support. In contrast, open-source simulators are freely available and are open source; however, their structure and function are simplified when compared with real-world situations. When it comes to the co-simulation of a CPPS, the following functions of communication network simulators are required: compatibility with hardware-in-the-loop, detailed modeling of the electric power communication network, and the real-time performance of the simulation. In consideration of these factors, the OPNET Modeler was chosen to model the information communication system in our research.
The OPNET Modeler is a discrete-event network simulator that analyzes and tests the performance of a communication network. Users can carry out high-fidelity modeling, scalable simulations, and detailed analysis through its three-layer modeling mechanism: network modeling, node modeling, and process modeling.
OPNET provides three ways to communicate with the exterior environment: high-level architecture (HLA), the external simulation access-application programming interface (ESA-API), and system-in-the-loop (SITL). Of these three methods, SITL is the most current and fastest way to map multiple physical network interfaces to different network addresses in the virtual network. Through this technology, OPNET and the exterior environment can be made into a unified entity. Therefore, SITL was chosen as the interface between OPNET and the other simulators.

3.4. Modeling and Simulation of Control Center

The co-simulation platform consisted of several independent simulation entities, which demanded different requirements in terms of of continuity, step accuracy, and driving mode. To make the information from one simulator compatible with that of another, it was necessary to apply a time synchronization strategy to ensure a unified simulation clock. For the hardware-in-the-loop simulation, the power and information devices were simulated by software to ensure the simulation speed and accessibility, while control devices were simulated by real-word devices to improve the simulation authenticity.
The physical control center was responsible for inhibiting the accident diffusion after fault. It was composed of the master station and the stability control devices. The master station was based on the ARM processor (developed by Acorn Co., Ltd., Cambridge, UK) running on a Linux system and developed in C language, which possesses extendibility and real-time performance. The master station is responsible for receiving the status information from the power grid and the control instructions from the stability control device, and dealing with the data processing, situational awareness, and synchronous interactive control. The master station kept monitoring the grid operation status through measurement units. After the fault, the master station compared fault type and location with the preset strategy table, selected the optimal strategy and sent the commands to the stability control devices. The master station consisted of four modules: (1) the protocol analysis module used for parsing the data packets from the measurement units and control devices; (2) the database module used for storing the real-time state of power grid; (3) the fault detection module used for detecting whether the system was faulty; and (4) the control module used for generating optimal control strategies after the fault. The stability control device was developed based on an embedded Linux system, which was responsible for receiving and implementing control commands from the master station into practice, and maintained the operation stability in the power system simulation. Therefore, the coordinated and consolidated control of distributed simulators could be reached.

3.5. Sequential Procedure and Control Logic of the Whole Platform

The key goals of the control loop were to realize the synchronization of different simulators, modules, or processes that participate in the co-simulation to ensure the timeliness and accuracy of message delivery, and achieve a combination of independent simulation and collaborative simulation according to demand. Therefore, the distributed simulation components could be coordinated in a unified environment with high interoperability and reusability.
The sequential procedure and control logic are shown in Figure 4 where the master station of the control center is the bridge that implements the control logic and time synchronization between both simulators. After receiving, analyzing, and handling data produced in the power model and communication model, the center generates control commands accordingly, and transfers them back to the power and communication environments. Power and information systems can be analyzed and controlled synchronously to meet the requirements of co-simulation.
Aiming at information acquisition and safety control service, the platform realizes the closed-loop data flow via two sets of communication networks where the blue line represents the data flow and the control flow between the power network and the master station system, and the red line represents the flow between the master station and the stability control device. In the wide area load control service researched in this paper, the most important feature in the system was its delay parameters. Therefore, the delay parameters of each part and their interactive influences were analyzed as shown in Figure 5. For a complete closed-loop data flow, the total delay can be expressed as follows.
Δ t d = Δ t n + Δ t s + Δ t p + Δ t i
where Δ t d is the total delay of the platform, namely the time delay from the moment when the fault happens, to the moment when the control device acts. It is made up of several parts including the inherent delay Δ t i , sampling delay Δ t s , processing delay Δ t p , and network transmission delay Δ t n .The inherent delay Δ t i is related to the hardware parameters and the operating time inside each device, which is a constant value independent of data size. The sampling delay Δ t s is the time delay from the moment when packets arrive at the device to the moment when packets are received, and is subject to uniform distribution from 0 to the sampling period. The processing delay Δ t p is the analyzing and processing time of data, which is related to the packet format and the device’s computing ability. Moreover, it shows a positive correlation with the sampling rate. With the increase in sampling rate, the queuing time will rise, and the processing delay will also increase accordingly. The network transmission delay Δ t n is related to the parameters and congestion degree of the communication lines, which is simulated in the OPNET communication network.
The measurement of inherent delay is described as follows. The other delay parameters are set to an ideal situation, and the time factor of simulation is set to 1 (i.e., equal to real-world time). Through a simple data sending and receiving process without data processing steps, a 120-s long simulation test was carried out as shown in Figure 6. The average of inherent delay was 0.588 ms with little jitter, which was much smaller than the transmission delay of the communication service. Therefore, the simulation error resulting from inherent delay was limited without affecting the simulation accuracy.

4. Application Scenarios and Platform Extensions

4.1. Case Study: Wide Area Intelligent Load Control

An intelligent load case was proposed to verify the effectiveness of the proposed control scheme and platform. As an ultra-high voltage direct current transmission (UHVDC) receiving system, when several AC/DC lines are out of order at the same time, a huge power deficiency will cause a serious frequency decline in the power system. Therefore, through the quick load shedding function of the system, some interruptible loads should be cut within 650 ms to help recover system stability.
In RT-LAB, a power system of four generators and 12 nodes was set up as shown in Figure 7, with a total load of 1446 MW. A short circuit fault caused a disconnection between both main lines, forming two isolated systems: districts A and B. Before the fault occurred, district B belonged to the receiving area, so the fault resulted in a power shortage and frequency decline, which required emergency control. N10 of district B contained 30 MW of intelligent interruptible load.
At the same time, the communication network between the control center and control subsystem was built in the OPNET. N8 was the control center, and was connected with the control platform through a SITL module, and N10 was the control substation, which was connected with RT-LAB by the other SITL module; the other control substations were connected with the background traffic generation modules to simulate the network data transmission. A 2M fiber channel was applied for the data transmission.
The implementation effects of the proposed CPPS real-time simulation platform were the focus in our research. The control strategy was as follows: the control center station sent the instructions to N10 when the frequency dropped to 49.6 Hz, which required 20 MW of intelligent load to be removed automatically.
To verify the simulation effectiveness, basic Environments 1 and 2 were set. Environment 1 represented the case without control strategies, and Environment 2 was the ideal situation without time delay. Moreover, two additional kinds of communication environments were set for the information channel in OPNET. Environment 3 was the normal state. Each substation sent measurement and status information to the control center at a relatively low frequency, while receiving regulation information from the control center. Environment 4 was the emergency state (e.g., frequency fall). The data communication between the substations and control center surged, resulting in a long queuing delay at the control center, which led to a lag in data upload and instructions. All scenes were simulated and compared, and the frequency results after the fault are shown in Figure 8.
Comparing the frequency curves of Environments 1 and 2, it was derived that the wide area intelligent load control strategy could remarkably alleviate the frequency decrease after faults, and increase the minimum frequency from 49.13 Hz to 49.53 Hz. Environments 3 and 4 were compared with Environment 2, which showed that the time transmission delay affected the action time of the control strategies. Due to the different link attributes and data rates of the communication links, Environments 3 and 4 caused a delay for 81.7 ms and 161.6 ms, respectively, and thus the minimum frequency dropped by 0.0112 Hz and 0.0243 Hz. Therefore, the proposed platform could accurately reflect the communication impact on the power service simulation results.

4.2. The Influence of Sampling Frequency on the Control Effect

To analyze the feature of partial delay, the whole time delay was resolved into intrinsic parts, and a variable-controlling approach was used to reveal the influence factors of each part. The factors of data sampling delay and network transmission delay were analyzed as follows:
The impact of sampling frequency on data sampling delay Δ t s : In the physical device, the average sampling delay was decided by sampling frequency. The sampling frequency was set as a variable, and the communication delay was set as a constant. Three different sampling frequencies were set in Environments 2, 3, and 4 at 50 Hz, 20 Hz, and 10 Hz, respectively. While Environment 1 was ideal without delay, Environment 5 presented the case without the control strategy. Environment 1 was compared with Environments 2, 3, and 4. Due to the decreasing frequency, the data transmission delay increased gradually, and the control execution time lagged behind. As shown in Figure 9, three different sampling frequencies caused a delay of 62.3 ms, 94.4 ms, and 144.7 ms, respectively, where the minimum frequency value was reduced by 0.0082 Hz, 0.0124 Hz, and 0.0191 Hz, respectively, when compared to the ideal situation.
The impact of sampling frequency on network transmission delay Δ t n : Due to the limited capacity of the communication network, when the sampling frequency became higher, the queuing delay in the data transmission process, packet loss ratio, and bit error ratio increased, leading to blockages in the communication network. Therefore, the overall delay increased.
As shown in Figure 10, two sets of network parameters were set: (1) the set where sampling frequency was 50 Hz (relatively low); and (2) the sampling set where frequency was 200 Hz (relatively high). Two sets of environment were simulated, and various sampling frequencies resulted in different delays. Compared to the ideal situation without delay, Environments 1 and 2 caused delays of 80 ms and 420 ms, respectively, and correspondingly the minimum frequency dropped by 0.02 Hz and 0.08 Hz, respectively.

4.3. The Importance and Extended Application Scenarios of Co-Simulation Platform

A CPPS increases the complexity and difficulty of the power system modeling process. Before the co-simulation method was proposed, researchers usually simplified the information process to analyze the performance of various services and applications. Through implanting the information module into power system software such as by adding a time-delay module in the measure loop and control loop, researchers could conduct CPPS analysis in a simple way. However, it is an approximate method without enough accuracy and reasonability for a particular CPPS service. Actually, the real-time delay is influenced by several factors such as packet formats, transmission rate, channel properties, and exterior environments, which cannot be reflected by the simplified simulation method. Moreover, real delay is influenced by the physical environment of a communication system, which presents a probability distribution instead of a fixed value. These are not reflected in the delay process of the traditional simulation. Instead, the co-simulation method provides a more intuitive and accurate way to reconstruct a CPPS environment. The time-delay attribute was the focus of this paper as a way to analyze how the communication environment influences the power system operation results. Actually, the influencing factor was not only in delay, but also included various attributes such as bit error and channel rotation, which are further research fields proposed by our team.
Besides the load control case analyzed in this paper, the proposed platform could also be applied to analyze other CPPS services such as the coordination control of distributed generation, the impact of communication failure on the security stability control, and cyber-attacks on the power system. The increasing integration of power service and information features pushes researchers to focus on the influence of information characteristics on power system control, analysis, and application.

5. Conclusions

The complex integration of power flow and information flow has presented challenges to the analysis of operational characteristics in CPPS. A hardware-in-the-loop co-simulation scheme of CPPS was put forward in this paper, and the effectiveness of the platform was demonstrated by a load control case. Through the formation and measurement of communication delay, the paper discusses the influence of real-time performance and reliability on the operation stability of CPPS, verifying that the platform has high processing capacity for data transmission and analysis performance. Moreover, the platform is applicable for multiple CPPS services such as coordination control and safety analysis.
The proposed platform possesses a distributed framework, which has a flexible structure and wide adaptability. Through block configuration utilizing its modular architecture, various kinds of simulation time scales and precision can be obtained in all distributed simulators. Moreover, through the integration of digital and hardware simulation, the advantages of both simulation types could be balanced to truly reflect the dynamic, static, and nonlinear characteristics of CPPS, and provide experimental support for the verification of the relevant CPPS theory.
With the large-scale access of distributed generation and micro-grid systems, the stability control of the power grid will be more complicated. To deeply utilize and improve the current platform, further research will be devoted to the following areas:
  • The power communication network modeling requires improvement. At the functional level, the IP network simulation should be established for the scheduling data network, the SDH/OTN network simulation should be established for the power transmission network, and the EPON/GPON simulation should be established for the distribution communication network.
  • Different information collection, transmission, and control processes of multi-CPPS services require research, and the real-time simulation mode needs to be analyzed according to the different precision and speed requirements of power system services.
  • The cyber-attack against the CPPS service, application, and safety operation requires analyzing. At the communication level, various attack behaviors (e.g., communication interruption, DOS attack, and fault data injection) can be simulated. At the power and control level, security systems can be deployed to detect and defend the potential attack behavior. Therefore, an attack–defense platform can be established to improve cyber-security in CPPS.

Acknowledgments

This work is supported by the National Natural Science Foundation of China (Grant No. 51577030), the Project of State Grid Corporation of China under Grant No. SGRIXTKJ [2016] 454 (Research on Architecture and Several Key Technologies for Grid Cyber Physical System), and the National Key Research and Development Program of China under Grant 2017YFB0903000 (Basic Theories and Methods of Analysis and Control of the Cyber Physical Systems for Power Grid).

Author Contributions

Yi Tang, Wei Tai, Zengji Liu, Mengya Li, Qi Wang, Yun Liang and Li Huang contributed in developing the ideas of this research. Yi Tang conceived and designed the experiments; Wei Tai analyzed the data and wrote the paper. Yun Liang and Li Huang provided guidance for practical engineering applications. All the authors read and approved the final manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Camarinha-Matos, L.M. Collaborative smart grids—A survey on trends. Renew. Sustain. Energy Rev. 2016, 65, 283–294. [Google Scholar] [CrossRef]
  2. Farhangi, H. The path of the smart grid. IEEE Power Energy Mag. 2010, 8, 18–28. [Google Scholar] [CrossRef]
  3. Güngör, V.C.; Sahin, D.; Kocak, T.; Ergüt, S.; Buccella, C.; Cecati, C.; Hancke, G.P. Smart grid technologies: Communication technologies and standards. IEEE Trans. Ind. Inform. 2011, 7, 529–539. [Google Scholar] [CrossRef]
  4. Fang, X.; Misra, S.; Xue, G.; Yang, D. Smart grid—The new and improved power grid: A Survey. IEEE Commun. Surv. Tutor. 2012, 14, 944–980. [Google Scholar] [CrossRef]
  5. Rajkumar, R.; Lee, I.; Sha, L.; Stankovic, J. Cyber-physical systems: The next computing revolution. In Proceedings of the 2010 47th ACM/IEEE Design Automation Conference (DAC), Anaheim, CA, USA, 13–18 June 2010; pp. 731–736. [Google Scholar] [CrossRef]
  6. Vojdani, A. Smart integration. IEEE Power Energy Mag. 2008, 6, 71–79. [Google Scholar] [CrossRef]
  7. Cao, Y.; Shi, X.; Li, Y.; Tan, Y.; Shahidehpour, M.; Shi, S. A simplified co-simulation model to investigate impacts of cyber-contingency on power system. IEEE Trans. Smart Grid 2017, 3053. [Google Scholar] [CrossRef]
  8. Tang, Y.; Li, F.; Wang, Q. Overview of the co-simulation methods for power and communication system. In Proceedings of the IEEE International Conference on Real-time Computing and Robotics (RCAR), Angkor Wat, Cambodia, 6–10 June 2016; pp. 94–98. [Google Scholar]
  9. Yu, X.; Xue, Y. Smart grids: A cyber-physical systems perspective. Proc. IEEE 2016, 104, 1058–1070. [Google Scholar] [CrossRef]
  10. Palensky, P.; van der Meer, A.; Lopez, C.; Joseph, A.; Pan, K. Applied cosimulation of intelligent power systems: Implementing hybrid simulators for complex power systems. IEEE Ind. Electron. Mag. 2017, 11, 6–21. [Google Scholar] [CrossRef]
  11. Mets, K.; Ojea, J.A.; Develder, C. Combining power and communication network simulation for cost-effective smart grid analysis. IEEE Commun. Surv. Tutor. 2014, 16, 1771–1796. [Google Scholar] [CrossRef]
  12. Georg, H.; Müller, S.C.; Dorsch, N.; Rehtanz, C.; Wietfeld, C. INSPIRE: Integrated co-simulation of power and ICT systems for real-time evaluation. In Proceedings of the 2013 IEEE International Conference on Smart Grid Communications (SmartGridComm), Vancouver, BC, Canada, 21–24 October 2013; Volume 2, pp. 576–581. [Google Scholar] [CrossRef]
  13. Bian, D.; Kuzlu, M.; Pipattanasomporn, M.; Rahman, S.; Wu, Y. Real-time co-simulation platform using OPAL-RT and OPNET for analyzing smart grid performance. In Proceedings of the 2015 IEEE Power & Energy Society General Meeting, Denver, CO, USA, 26–30 July 2015. [Google Scholar] [CrossRef]
  14. Bottura, R.; Borghetti, A.; Napolitano, F.; Nucci, C.A. lCT-power co-simulation platform for the analysis of communication-based volt/var optimization in distribution feeders. In Proceedings of the 2014 IEEE PES Innovative Smart Grid Technologies Conference (ISGT), Washington, DC, USA, 19–22 February 2014. [Google Scholar]
  15. Baran, M.; Sreenath, R.; Mahajan, N.R. Extending EMTDC/PSCAD for simulating agent-based distributed applications. IEEE Power Eng. Rev. 2002, 22, 52–54. [Google Scholar] [CrossRef]
  16. Wang, E.K.; Ye, Y.; Xu, X.; Yiu, S.M.; Hui, L.C. K.; Chow, K.P. Security issues and challenges for cyber physical system. In Proceedings of the Green Computing and Communications (GreenCom), 2010 IEEE/ACM Int’l Conference on & Int’l Conference on Cyber, Physical and Social Computing (CPSCom), Hangzhou, China, 18–20 December 2010; pp. 733–738. [Google Scholar] [CrossRef]
  17. Khaitan, S.K.; McCalley, J.D. Cyber physical system approach for design of power grids: A survey. In Proceedings of the 2013 IEEE Power and Energy Society General Meeting (PES), Vancouver, BC, Canada, 21–25 July 2013; pp. 1–5. [Google Scholar] [CrossRef]
  18. Hopkinson, K.; Wang, X.; Giovanini, R.; Thorp, J.; Birman, K.; Coury, D. EPOCHS: A platform for agent-based electric power and communication simulation built from commercial off-the-shelf components. IEEE Trans. Power Syst. 2006, 21, 548–558. [Google Scholar] [CrossRef]
  19. Lin, H.; Veda, S.S.; Shukla, S.S.; Mili, L.; Thorp, J. GECO: Global event-driven co-simulation framework for interconnected power system and communication network. IEEE Trans. Smart Grid 2012, 3, 1444–1456. [Google Scholar] [CrossRef]
  20. Zhu, K.; Chenine, M.; Nordström, L. ICT Architecture impact on wide area monitoring and control systems’ reliability. IEEE Trans. Power Deliv. 2011, 26, 2801–2808. [Google Scholar] [CrossRef]
  21. Liberatore, V.; Al-Hammouri, A. Smart grid communication and co-simulation. In Proceedings of the IEEE 2011 EnergyTech, Cleveland, OH, USA, 25–26 May 2011; pp. 1–5. [Google Scholar] [CrossRef]
  22. Armendariz, M.; Chenine, M.; Nordstrom, L.; Al-Hammouri, A. A co-simulation platform for medium/low voltage monitoring and control applications. In Proceedings of the 2014 IEEE PES Innovative Smart Grid Technologies Conference (ISGT), Washington, DC, USA, 19–22 February 2014; doi:10. [Google Scholar]
  23. Mets, K.; Verschueren, T.; Develder, C.; Vandoorn, T.L.; Vandevelde, L. Integrated simulation of power and communication networks for smart grid applications. In Proceedings of the 2011 IEEE 16th International Workshop on Computer Aided Modeling and Design of Communication Links and Networks (CAMAD), Kyoto, Japan, 10–11 June 2011; pp. 1–6. [Google Scholar] [CrossRef]
  24. Guo, F.; Herrera, L.; Murawski, R.; Inoa, E.; Wang, C.L.; Beauchamp, P.; Ekici, E.; Wang, J. Comprehensive real-time simulation of the smart grid. IEEE Trans. Ind. Appl. 2013, 49, 899–908. [Google Scholar] [CrossRef]
  25. Al-hammouri, A.; Branicky, M.S.; Al-hammouri, A.; Liberatore, V.; Al-omari, H.; Al-qudah, Z. Demo abstract : A co-simulation platform for actuator networks demo abstract. In Proceedings of the 2007 ACM Conference on Embedded Networked Sensor Systems, Sydney, Australia, 6–9 November 2007; pp. 1–3. [Google Scholar]
  26. Deng, Yi.; Lin, H.; Shukla, S. Co-simulating power systems and communication network for accurate modeling and simulation of PMU based wide area measurement systems using a global event scheduling technique. In Proceedings of the 2013 Workshop on Modeling and Simulation of Cyber-Physical Energy Systems (MSCPES), Berkeley, CA, USA, 20 May 2013; p. 6. [Google Scholar]
  27. Li, W.; Monti, A.; Luo, M.; Dougal, R.A. VPNET: A co-simulation framework for analyzing communication channel effects on power systems. In Proceedings of the 2011 IEEE Electric Ship Technologies Symposium (ESTS), Alexandria, VA, USA, 10–13 April 2011; pp. 143–149. [Google Scholar] [CrossRef]
  28. Wang, Q.; Tai, W.; Tang, Y.; Wang, D. Architecture and Application of Real-time Co-simulation Platform for Cyber-physical Power System. In Proceedings of the 7th Annual IEEE Int. Conf. on CYBER Technology in Automation, Control, and Intelligent Systems (IEEE-CYBER 2017), Honolulu, HI, USA, 31 July–4 April 2017. [Google Scholar]
  29. Anderson, K.; Du, J.; Narayan, A.; Gamal, A. El GridSpice: A distributed simulation platform for the smart grid. In Proceedings of the 2013 Workshop on Modeling and Simulation of Cyber-Physical Energy Systems (MSCPES), Berkeley, CA, USA, 20 May 2013; Volume 10, pp. 1–5. [Google Scholar] [CrossRef]
Figure 1. Overall structure of cyber-physical power system (CPPS).
Figure 1. Overall structure of cyber-physical power system (CPPS).
Applsci 07 01279 g001
Figure 2. Overall structure of wide area load control.
Figure 2. Overall structure of wide area load control.
Applsci 07 01279 g002
Figure 3. Three-layer design of the CPPS real-time co-simulation platform. ARM: advanced RISC machines.
Figure 3. Three-layer design of the CPPS real-time co-simulation platform. ARM: advanced RISC machines.
Applsci 07 01279 g003
Figure 4. Framework of CPPS real-time hardware-in-the-loop co-simulation platform.
Figure 4. Framework of CPPS real-time hardware-in-the-loop co-simulation platform.
Applsci 07 01279 g004
Figure 5. Time synchronization process.
Figure 5. Time synchronization process.
Applsci 07 01279 g005
Figure 6. Inherent delay of the co-simulation platform.
Figure 6. Inherent delay of the co-simulation platform.
Applsci 07 01279 g006
Figure 7. Model of a 4-bus power system with its corresponding communication system.
Figure 7. Model of a 4-bus power system with its corresponding communication system.
Applsci 07 01279 g007
Figure 8. Time-delay comparison among different environments.
Figure 8. Time-delay comparison among different environments.
Applsci 07 01279 g008
Figure 9. Data sampling delay comparison at different sampling frequencies.
Figure 9. Data sampling delay comparison at different sampling frequencies.
Applsci 07 01279 g009
Figure 10. Network delay comparison at different sampling frequencies.
Figure 10. Network delay comparison at different sampling frequencies.
Applsci 07 01279 g010

Share and Cite

MDPI and ACS Style

Tang, Y.; Tai, W.; Liu, Z.; Li, M.; Wang, Q.; Liang, Y.; Huang, L. A Hardware-in-the-Loop Based Co-Simulation Platform of Cyber-Physical Power Systems for Wide Area Protection Applications. Appl. Sci. 2017, 7, 1279. https://doi.org/10.3390/app7121279

AMA Style

Tang Y, Tai W, Liu Z, Li M, Wang Q, Liang Y, Huang L. A Hardware-in-the-Loop Based Co-Simulation Platform of Cyber-Physical Power Systems for Wide Area Protection Applications. Applied Sciences. 2017; 7(12):1279. https://doi.org/10.3390/app7121279

Chicago/Turabian Style

Tang, Yi, Wei Tai, Zengji Liu, Mengya Li, Qi Wang, Yun Liang, and Li Huang. 2017. "A Hardware-in-the-Loop Based Co-Simulation Platform of Cyber-Physical Power Systems for Wide Area Protection Applications" Applied Sciences 7, no. 12: 1279. https://doi.org/10.3390/app7121279

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop