Название: Cyber-physical Systems
Автор: Pedro H. J. Nardelli
Издательство: John Wiley & Sons Limited
Жанр: Личные финансы
isbn: 9781119785187
isbn:
Without advancing too much too soon, let us run a thought experiment to mimic a specific function of smart meters as part of the smart electricity grid – one of the most well‐known examples of CPS. Consider the following situation: the price of electricity in a household is defined every hour and the smart meter has access to this information. The smart meter also works as a home energy management system, turning on and off some specific loads or appliances that have flexibility in their usage as, for instance, the washing machine or the charging of an electric vehicle (EV). If there is no smartness in the system, whenever the machine is turned on or the EV is plugged in, they will draw electric energy from the grid. With the smart meter deciding when the flexible load will turn on or off based on the price, the system is expected to become smart overall: not only flexible loads could be turned on when there is a low price (leading to lower costs to the households) but this would also help the grid operation by flattening the electricity demand curve (which has peaks and valleys of consumption ideally reflected by the price).
This seems too good to be true, and it indeed is! The trick is the following. The electricity price is a universal signal so that all smart meters see the same value. By facing the same price, the smart meters will tend to switch on (and then off) the loads at the same time, creating a collective behavior that would probably lead to unexpected new peaks and valleys in demand that cannot be predicted by the price (which actually reflects past behaviors, and not instantaneous ones). The adage the whole is more than the sum of its parts then acquires a new form: the smartness of the smart meters can potentially yield a stupid grid [2]. This outcome is surprising since individually everything is working as expected, but the system‐level dynamic is totally undesirable. How to explain this?
The smart grid, as we have seen before, is considered a CPS where physical processes related to energy supply and demand are reflected in the cyber domain by a price signal that serves as the basis for the decisions of smart meters, which then modify the physical process of electricity demand by turning on appliances. However, the smart meters described above are designed to operate considering the grid dynamics as given so that they individually react to the price signal assuming that they cannot affect the electricity demand at the system level. If several of such smart meters operate in the grid by reacting to the same price signals, they will tend to have the same decisions and, consequently, coordinate their actions, leading to the undesirable and unexpected aggregate behavior. This is a byproduct of a segmented way of conceptualizing CPSs, which overestimates the smartness of devices working individually while underestimating the physical and logical (cyber) interrelations that constitute the smartness of the CPS.
Figure 1.2 illustrates this fact. The electricity hourly price is determined from the expected electricity demand following the indication of arrow (a). The smart meters would lead to a smart grid if the spikes in consumption would be flattened, as indicated by arrow (b). However, due to the unexpected collective effect of reactions to the hourly price, the realized demand has more spikes than before, creating a stupid grid. This is pointed by arrow (c).
Figure 1.2 Operation of smart meters that react to hourly electricity price. Arrow (a) indicates that the hourly price is a function of the expected electricity demand. Arrow (b) represents the planned outcome of demand response, namely decreasing spikes. Arrow (c) shows the realized demand as an aggregate response to price signals, leading to more spikes.
At all events, coordination and organization of elements working together are old problems under established disciplines like systems engineering and operational research. However, those disciplines are fundamentally based on centralized decision‐making and optimal operating points; this is usually called a top‐down approach. In CPSs, there is an internal awareness and a possibility of distributed or decentralized decision‐making based on local data and (predefined or learned) rules co‐existing with hierarchical processes. Hence, CPSs cannot be properly characterized without explicit definition of how data are processed, distributed, and utilized for informed decisions and then actions. A general (scientific) theory needs to be built upon the facts that CPSs have internal communication–computation structures with specific topologies that result in internal actions based on potentially heterogeneous decision‐making processes that internally modify the system dynamics. Some of these topics have been historically discussed within control and information theories, as well as cybernetics.
1.3 Historical Highlights: Control Theory, Information Theory, and Cybernetics
Control theory refers to the body of knowledge involving automatic mechanisms capable of self‐regulating the behavior of systems. Artifacts dating back to thousands of years indicate the key idea behind feedback control loop. The oldest example is probably the water clock where inflow and outflow of water is used to measure time utilizing a flow regulator, whose function is [3]: “(…) to keep the water level in a tank at a constant depth. This constant depth yielded a constant flow of water through a tube at the bottom of the tank which filled a second tank at a constant rate. The level of water in the second tank thus depended on time elapsed.” Other devices based on the same principle have also been found throughout history. With the industrial revolution in the 1700s, different types of regulators and governors have appeared as part of the unprecedented technological development. It was desirable for the new set of machinery like windmills, furnaces, and steam engines to be controlled automatically. Hence, more and more solutions based on feedback and self‐regulation started to be developed. At that point, the development was of a practical nature, by trial‐and‐error. In a groundbreaking work by J. C. Maxwell (also the “father” of electromagnetism) from 1868 [4], the first step to generalize feedback control as a scientific theory was taken. Maxwell analyzed systems that employ governors by linearized differential equations to establish the necessary conditions for stability based on the system's characteristic equation. This level of generalization that states fundamental (mathematical) conditions that apply to all existing and potentially future objects of the same kind (i.e. feedback control systems) is the heart of the scientific endeavor of control theory.
A similar path can be also seen with information theory. Data acquisition, processing, transmission, and reception are biological facts, not only in humans but in other animals. Without the trouble to define what information is now, it is clear that different human societies have come up with different ways of sending informative data from one point to another. From spoken language to books, from smoke signals to pigeons, data can be transferred in space and time, always facing the possibility of error. With the radical changes brought by the industrial revolution, quicker data transmission across longer distances was desired [5]. The first telegraphs appeared in the early 1800s; the first transatlantic telegraph dates to 1866. By the end of the 19th century, the first communication networks were deployed in the United States. Interestingly enough, the development of communications networks depended on amplifiers and the use of feedback control, which have been studied in control theory.
Even with a great technological development of communication networks, mainly carried out within the Bell Labs, transmission errors had always been considered inevitable. Most solutions were focusing on how to decrease the chances of such events, also in a sort of highly complex trial‐and‐error fashion. In 1948, in one edition of The Bell System Technical Journal, C. E. Shannon published one amazing piece of work stating in a fully mathematical manner the fundamental limits of communication systems utilizing a newly proposed definition of information based on entropy; some more details will come later in Chapter СКАЧАТЬ