IEEE Power & Energy Magazine - March/April 2020 - 65

The server and clients provide only channels
for communications, while it is left to the modules
to specify the data formats for data exchange.
connections and exchange data generically, or more specifically, for
✔✔ connecting to a data server at a specified address
✔✔ querying the names of modules connected to the same
server
✔✔ broadcasting or sending data to specified clients
✔✔ querying data availability and synchronizing data.
In particular, the exchanged data in the LTB have
been divided into parameter and time-stamped data, on
which different streaming approaches have been applied.
Parameter data include the device parameters in the
loaded test system as well as the parameters for algorithms in modules. Time-stamped data are the values for
the variables a module produces for a certain simulation
time. Typically, parameter data are requested a limited
number of times, whereas the time-stamped data are produced continuously. Therefore, the downstream module
(the data consumer) is allowed to initiate the query of
parameter data on demand, and the upstream module (the
data producer) is allowed to initiate time-stamped data
streaming when available.
The LTB provides a handshake mechanism for requesting time-stamped variables. Before the simulation starts,
downstream modules are required to identify themselves to
the upstream modules, which will then respond with the list
of variables it can provide during the runtime. The downstream modules will respond with the indices of the variables they need to complete the handshake. During the simulation, the upstream modules will send the requested data to
its downstream modules in an array that has the requested
order accompanied by a time stamp.
The workflow summarized in Table 1 is applied to integrate the decoupled modules for systematic simulation.
Compared with a typical power system simulator, the LTB
requires additional steps to initiate the data server and the
modules in sequence. The initialization step consists of
three substeps:
1)	 self-initialization of modules for internal states
2)	 querying parameters provided by the upstream module
3)	 handshaking with the upstream module for variables.
When the initialization is completed, the simulator runs the computation, outputs data, and progresses
the simulation time. Modules will also enter the stage of
active calculation and data exchange once the data arrives.
The program execution will automatically exit if the predefined simulation time is reached or an exception occurs
in any module.
march/april 2020	

A Demonstration Case Study
This section showcases studies for wide-area, closed-loop
control on the LTB. Data streaming from the modules is
visualized in a web-based tool called LTB-Web, which renders plots and animations in the user's browser. LTB-Web
provides a systemic overview of the base electrical quantities, including voltage magnitude, voltage phasors, and
frequency, on top of a geographic view. It also provides
the reload and replay function for comparing recorded test
cases and observing the control differences simultaneously.
The controller developed and tested is a wide-area damping controller (WADC) for damping interarea oscillations.
The controller utilizes the measurements for computing additional reactive power control signals for actuators, which are
wind generators in this case study. In the event of actuator
failure or unavailability, the control allocator can dynamically reallocate the control signal to the remaining controllers. The block diagram for the feedback loop with measurement-based control allocation is depicted in Figure 5.

Effectiveness of the Wide-Area
Damping Controller
The WADC has been integrated and tested as a MATLAB
module in the Western Electricity Coordinating Council
(WECC) test system, using ePHASORsim and the custom
OpalAPIControl Python interface. The test system is a modified WECC 181-bus system to include a high wind penetration rate (20% by energy). The system consists of 31 conventional generators with a total capacity of 48.49 GW and
table 1. The execution workflow for module
integration in the LTB.
1: Start the data server process.
2: Start the module processes.
3: Initialization
  a)  Begin the module self-initialization.
  b)  Query parameters from the upstream modules.
  c)  Perform handshake with the upstream modules.
4: Start the simulation.
  a)  The simulator calculates numerical integration.
  b)  The simulator and modules exchange data for each step.
  c) The simulator progresses the simulation time at wallclock speed.
5: Exit when
  a)  the end of simulation is reached or an exception occurs.
ieee power & energy magazine 	

65



IEEE Power & Energy Magazine - March/April 2020

Table of Contents for the Digital Edition of IEEE Power & Energy Magazine - March/April 2020

Contents
IEEE Power & Energy Magazine - March/April 2020 - Contents
IEEE Power & Energy Magazine - March/April 2020 - Cover2
IEEE Power & Energy Magazine - March/April 2020 - 1
IEEE Power & Energy Magazine - March/April 2020 - 2
IEEE Power & Energy Magazine - March/April 2020 - 3
IEEE Power & Energy Magazine - March/April 2020 - 4
IEEE Power & Energy Magazine - March/April 2020 - 5
IEEE Power & Energy Magazine - March/April 2020 - 6
IEEE Power & Energy Magazine - March/April 2020 - 7
IEEE Power & Energy Magazine - March/April 2020 - 8
IEEE Power & Energy Magazine - March/April 2020 - 9
IEEE Power & Energy Magazine - March/April 2020 - 10
IEEE Power & Energy Magazine - March/April 2020 - 11
IEEE Power & Energy Magazine - March/April 2020 - 12
IEEE Power & Energy Magazine - March/April 2020 - 13
IEEE Power & Energy Magazine - March/April 2020 - 14
IEEE Power & Energy Magazine - March/April 2020 - 15
IEEE Power & Energy Magazine - March/April 2020 - 16
IEEE Power & Energy Magazine - March/April 2020 - 17
IEEE Power & Energy Magazine - March/April 2020 - 18
IEEE Power & Energy Magazine - March/April 2020 - 19
IEEE Power & Energy Magazine - March/April 2020 - 20
IEEE Power & Energy Magazine - March/April 2020 - 21
IEEE Power & Energy Magazine - March/April 2020 - 22
IEEE Power & Energy Magazine - March/April 2020 - 23
IEEE Power & Energy Magazine - March/April 2020 - 24
IEEE Power & Energy Magazine - March/April 2020 - 25
IEEE Power & Energy Magazine - March/April 2020 - 26
IEEE Power & Energy Magazine - March/April 2020 - 27
IEEE Power & Energy Magazine - March/April 2020 - 28
IEEE Power & Energy Magazine - March/April 2020 - 29
IEEE Power & Energy Magazine - March/April 2020 - 30
IEEE Power & Energy Magazine - March/April 2020 - 31
IEEE Power & Energy Magazine - March/April 2020 - 32
IEEE Power & Energy Magazine - March/April 2020 - 33
IEEE Power & Energy Magazine - March/April 2020 - 34
IEEE Power & Energy Magazine - March/April 2020 - 35
IEEE Power & Energy Magazine - March/April 2020 - 36
IEEE Power & Energy Magazine - March/April 2020 - 37
IEEE Power & Energy Magazine - March/April 2020 - 38
IEEE Power & Energy Magazine - March/April 2020 - 39
IEEE Power & Energy Magazine - March/April 2020 - 40
IEEE Power & Energy Magazine - March/April 2020 - 41
IEEE Power & Energy Magazine - March/April 2020 - 42
IEEE Power & Energy Magazine - March/April 2020 - 43
IEEE Power & Energy Magazine - March/April 2020 - 44
IEEE Power & Energy Magazine - March/April 2020 - 45
IEEE Power & Energy Magazine - March/April 2020 - 46
IEEE Power & Energy Magazine - March/April 2020 - 47
IEEE Power & Energy Magazine - March/April 2020 - 48
IEEE Power & Energy Magazine - March/April 2020 - 49
IEEE Power & Energy Magazine - March/April 2020 - 50
IEEE Power & Energy Magazine - March/April 2020 - 51
IEEE Power & Energy Magazine - March/April 2020 - 52
IEEE Power & Energy Magazine - March/April 2020 - 53
IEEE Power & Energy Magazine - March/April 2020 - 54
IEEE Power & Energy Magazine - March/April 2020 - 55
IEEE Power & Energy Magazine - March/April 2020 - 56
IEEE Power & Energy Magazine - March/April 2020 - 57
IEEE Power & Energy Magazine - March/April 2020 - 58
IEEE Power & Energy Magazine - March/April 2020 - 59
IEEE Power & Energy Magazine - March/April 2020 - 60
IEEE Power & Energy Magazine - March/April 2020 - 61
IEEE Power & Energy Magazine - March/April 2020 - 62
IEEE Power & Energy Magazine - March/April 2020 - 63
IEEE Power & Energy Magazine - March/April 2020 - 64
IEEE Power & Energy Magazine - March/April 2020 - 65
IEEE Power & Energy Magazine - March/April 2020 - 66
IEEE Power & Energy Magazine - March/April 2020 - 67
IEEE Power & Energy Magazine - March/April 2020 - 68
IEEE Power & Energy Magazine - March/April 2020 - 69
IEEE Power & Energy Magazine - March/April 2020 - 70
IEEE Power & Energy Magazine - March/April 2020 - 71
IEEE Power & Energy Magazine - March/April 2020 - 72
IEEE Power & Energy Magazine - March/April 2020 - 73
IEEE Power & Energy Magazine - March/April 2020 - 74
IEEE Power & Energy Magazine - March/April 2020 - 75
IEEE Power & Energy Magazine - March/April 2020 - 76
IEEE Power & Energy Magazine - March/April 2020 - 77
IEEE Power & Energy Magazine - March/April 2020 - 78
IEEE Power & Energy Magazine - March/April 2020 - 79
IEEE Power & Energy Magazine - March/April 2020 - 80
IEEE Power & Energy Magazine - March/April 2020 - 81
IEEE Power & Energy Magazine - March/April 2020 - 82
IEEE Power & Energy Magazine - March/April 2020 - 83
IEEE Power & Energy Magazine - March/April 2020 - 84
IEEE Power & Energy Magazine - March/April 2020 - 85
IEEE Power & Energy Magazine - March/April 2020 - 86
IEEE Power & Energy Magazine - March/April 2020 - 87
IEEE Power & Energy Magazine - March/April 2020 - 88
IEEE Power & Energy Magazine - March/April 2020 - 89
IEEE Power & Energy Magazine - March/April 2020 - 90
IEEE Power & Energy Magazine - March/April 2020 - 91
IEEE Power & Energy Magazine - March/April 2020 - 92
IEEE Power & Energy Magazine - March/April 2020 - 93
IEEE Power & Energy Magazine - March/April 2020 - 94
IEEE Power & Energy Magazine - March/April 2020 - 95
IEEE Power & Energy Magazine - March/April 2020 - 96
IEEE Power & Energy Magazine - March/April 2020 - Cover3
IEEE Power & Energy Magazine - March/April 2020 - Cover4
https://www.nxtbook.com/nxtbooks/pes/powerenergy_091020
https://www.nxtbook.com/nxtbooks/pes/powerenergy_070820
https://www.nxtbook.com/nxtbooks/pes/powerenergy_050620
https://www.nxtbook.com/nxtbooks/pes/powerenergy_030420
https://www.nxtbook.com/nxtbooks/pes/powerenergy_010220
https://www.nxtbook.com/nxtbooks/pes/powerenergy_111219
https://www.nxtbook.com/nxtbooks/pes/powerenergy_091019
https://www.nxtbook.com/nxtbooks/pes/powerenergy_070819
https://www.nxtbook.com/nxtbooks/pes/powerenergy_050619
https://www.nxtbook.com/nxtbooks/pes/powerenergy_030419
https://www.nxtbook.com/nxtbooks/pes/powerenergy_010219
https://www.nxtbook.com/nxtbooks/pes/powerenergy_111218
https://www.nxtbook.com/nxtbooks/pes/powerenergy_091018
https://www.nxtbook.com/nxtbooks/pes/powerenergy_070818
https://www.nxtbook.com/nxtbooks/pes/powerenergy_050618
https://www.nxtbook.com/nxtbooks/pes/powerenergy_030418
https://www.nxtbook.com/nxtbooks/pes/powerenergy_010218
https://www.nxtbook.com/nxtbooks/pes/powerenergy_111217
https://www.nxtbook.com/nxtbooks/pes/powerenergy_091017
https://www.nxtbook.com/nxtbooks/pes/powerenergy_070817
https://www.nxtbook.com/nxtbooks/pes/powerenergy_050617
https://www.nxtbook.com/nxtbooks/pes/powerenergy_030417
https://www.nxtbook.com/nxtbooks/pes/powerenergy_010217
https://www.nxtbook.com/nxtbooks/pes/powerenergy_111216
https://www.nxtbook.com/nxtbooks/pes/powerenergy_091016
https://www.nxtbook.com/nxtbooks/pes/powerenergy_070816
https://www.nxtbook.com/nxtbooks/pes/powerenergy_050616
https://www.nxtbook.com/nxtbooks/pes/powerenergy_030416
https://www.nxtbook.com/nxtbooks/pes/powerenergy_010216
https://www.nxtbook.com/nxtbooks/ieee/powerenergy_010216
https://www.nxtbook.com/nxtbooks/pes/powerenergy_111215
https://www.nxtbook.com/nxtbooks/pes/powerenergy_091015
https://www.nxtbook.com/nxtbooks/pes/powerenergy_070815
https://www.nxtbook.com/nxtbooks/pes/powerenergy_050615
https://www.nxtbook.com/nxtbooks/pes/powerenergy_030415
https://www.nxtbook.com/nxtbooks/pes/powerenergy_010215
https://www.nxtbook.com/nxtbooks/pes/powerenergy_111214
https://www.nxtbook.com/nxtbooks/pes/powerenergy_091014
https://www.nxtbook.com/nxtbooks/pes/powerenergy_070814
https://www.nxtbook.com/nxtbooks/pes/powerenergy_050614
https://www.nxtbook.com/nxtbooks/pes/powerenergy_030414
https://www.nxtbook.com/nxtbooks/pes/powerenergy_010214
https://www.nxtbookmedia.com