Читать книгу Cyber-physical Systems - Pedro H. J. Nardelli - Страница 13
1.2 Need for a General Theory
ОглавлениеThe idea of having a general theory is, roughly speaking, to characterize in a nonsubjective manner a very well‐defined symbolic object that incorporates all the constitutive aspects of a class of real‐world objects and therefrom obtain new knowledge by both symbolic manipulation and experimental tests. This generalization opens the path for moving beyond know‐how‐style of knowledge toward abstract, scientific conceptualizations, which are essential to assess existing objects, design new ones, and define their fundamental limits.
Example 1.1 Chocolate cake. You would like to prepare the chocolate cake you ate in your childhood, whose recipe you found in the Internet. This instructs you how to make it. If you follow the instructions, you will have the cake you wish but without knowing why that specific combination of elements and the processes of mixing and cooking can produce such a cake. If you decide to investigate the recipe, you will find that different elements are compatible for chemical reasons, and, after processing then in a specific way, such a combination will have the desired flavor and structural characteristic. Based on this abstraction, you can now (i) understand the reasons why the recipe works, (ii) propose modifications to the recipe to make the cake fluffier or moister, and (iii) create a vegan version of the cake by finding replacement for milk, butter, and eggs.
This example serves as a very simplified illustration of the difference between technical knowledge (know‐how) and scientific knowledge. We are going to discuss sciences and scientific practice in more detail when pinpointing the philosophical position taken throughout this book. At this point, though, we should return to our main concern: the need for a general theory that conceptualizes CPSs. Like the particular chocolate cake, the existence of smart grids or cities, or even fully automated production lines neither precludes nor requires a general theory. Actually, their existence, the challenges in their particular deployments, and their specific operation can be seen as the necessary raw material for the scientific theory that would build the knowledge of CPSs as a symbolic (general, abstract) object. This theory would provide the theoretical tools for orienting researchers, academics, and practitioners with objective knowledge to analyze, design, and intervene in particular (practical) realizations of this symbolic object called CPS.
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.