Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dynamicity Management in Systems of Systems

Similar presentations


Presentation on theme: "Dynamicity Management in Systems of Systems"— Presentation transcript:

1 Dynamicity Management in Systems of Systems
Sara Bouchenak INSA Lyon, in collaboration with Université de Grenoble Alpes

2 Outline Overview of dynamicity management
Example of dynamicity management for electrical vehicle system Analytic approach Machine learning approach Feedback control approach References AMADEOS EU Project Dynamicity in SoS

3 SoS Dynamicity SoS (System of Systems) dynamicity refers to short-term changes in an SoS Changes in an SoS occur in response to changing environmental or operational parameters of the CSs (Constituent Systems) of an SoS Changes may have effects such as SoS adaptation, emergent phenomena, etc. AMADEOS EU Project Dynamicity in SoS

4 Overview of dynamicity management
MAPE-K architecture AMADEOS EU Project Dynamicity in SoS

5 Overview of dynamicity management (2)
Close loop control involving a CS and a MAPE block AMADEOS EU Project Dynamicity in SoS

6 Overview of dynamicity management (3)
Control and feedback parameters in MAPE-based control loops AMADEOS EU Project Dynamicity in SoS

7 Outline Overview of dynamicity management
Example of dynamicity management for electrical vehicle system Analytic approach Machine learning approach Feedback control approach References AMADEOS EU Project Dynamicity in SoS

8 Example of dynamicity management for electrical vehicle system
Simplified functional diagram for an electrical vehicle charging station AMADEOS EU Project Dynamicity in SoS

9 Example of dynamicity management for electrical vehicle system (2)
Example: an SoS that is an Electrical Vehicle Charging System, and a CS that is an Electrical Vehicle Charging Point Y(t): a state vector specifying the charging current, maximum allowed power phasor variations, and last kWh price When an Electric Vehicle (EV) is connected to the CP, the State includes, among other functions, a metering function which could generate the monitoring vector μ(t) as a sequence of messages at regular time intervals, containing instantaneous measurements of the current drawn by the EV, and the maximum available current for that CP X(t): the remaining charging time as estimated by the EV ε(t): a sequence of asynchronous messages containing a new value for the kWhprice, and a new maximum power rating for the CP A Charging Station has N Charging Points a total charging capacity Q, a maximum charging rateI¬max AMADEOS EU Project Dynamicity in SoS

10 Example of dynamicity management for electrical vehicle system (3)
Pricing function by the CSO, for user i: Possible price adaptation as a function of requested charging time and available charging rate AMADEOS EU Project Dynamicity in SoS

11 Outline Overview of dynamicity management
Example of dynamicity management for electrical vehicle system Analytic approach Machine learning approach Feedback control approach References AMADEOS EU Project Dynamicity in SoS

12 Analytic approach When the CPSoS behaves according to a known model expressed analytically, the control can be defined in terms of this model. An optimal control problem with infinite time horizon attempts to maximize some cost or benefit function. A potential objective function for the optimal control problem could attempt the simultaneous optimisation of the following aspects: minimizing the agreed charging time for the already started charging operations maximizing the price for the new charging contract The control parameters are the individual charge unit prices and the charging currents for each user. The constraints are the total current for the CSO, the maximum current of each CP, and the committed charging time for the already started charging actions. AMADEOS EU Project Dynamicity in SoS

13 Analytic approach (2) The first term of the objective function defines how the charging current for user I can be increased after the charging action for user j ends. This can be done for instance, proportionally: Whenever a new request comes at a time ti_start after the adjustment of the charging rates, the new charging current must be maximised by reducing the current for the still running charge operations, down to the limit that would still allow the completion of the charging within the remaining time according to the original contract for user i: where ti_start and ti_end are the starting and ending times of the charging operation for user i. AMADEOS EU Project Dynamicity in SoS

14 Analytic approach (3) Previous equations can be used for defining different control approaches, such as: Optimal (Stochastic) Control with infinite time horizon [4], Linear Quadratic Controls [5], etc. [4] B. Kappen, Stochastic optimal control theory - Lecture Notes, Radboud University Nijmegen, 2012 [5] P. Y. Li, Advanced Control System Design, Ch. 6 - Lecture Notes, University of Minnesota, 2012. AMADEOS EU Project Dynamicity in SoS

15 Outline Overview of dynamicity management
Example of dynamicity management for electrical vehicle system Analytic approach Machine learning approach Feedback control approach References AMADEOS EU Project Dynamicity in SoS

16 Machine learning approach
In case when the dynamic behaviour of the CPSoS is unknown, or cannot be expressed analytically, data-driven techniques can be used for obtaining an implicit “encoding” of system behaviour. Such an encoding should be able to predict the outputs the system will generate for a given input and contextual parameters. If we consider the predictive or supervised machine learning approach the goal is to learn a mapping from input values X to an output value y based on a set of input-output pairs called a training set. The mapping can be represented as a function fΘ, with a set of parameters Θ, that can be used, given an unseen before pattern Xi, to predict yi, i.e. yi=fΘ(Xi). fΘ can be, in fact, a simple linear function (regression), but generally is a complex algorithm that maps inputs to output values. AMADEOS EU Project Dynamicity in SoS

17 Machine learning approach (2)
The goal of machine learning is to find the set of parameters Θ of a chosen model based on a training data set D using a learning algorithm. If the parameters Θ are properly learned then we will be able to estimate the class label ûi based on certain unseen input values xj ∉ D, where in the majority of the cases. Artificial Neural Networks (ANN) implement a machine learning technique inspired by a simplified model of the working of the brain. The elementary operations in an ANN are weighted summations of the inputs to obtain an output value. Different output values are obtained by summing the same input with different weights. This way, an input vector is mapped to an output vector. AMADEOS EU Project Dynamicity in SoS

18 Outline Overview of dynamicity management
Example of dynamicity management for electrical vehicle system Analytic approach Machine learning approach Feedback control approach References AMADEOS EU Project Dynamicity in SoS

19 Feedback control approach
In the following, we consider a SoS in which one of the CSs is a computing cluster used to run compute-intensive and/or data-intensive business logic of the cyber-physical system. We consider a CS that is a MapReduce cluster that consists of sub-CSs represented by N nodes. A MapReduce workload is defined as the number of concurrent clients (C) that are sending requests to the central controller. Admission control is a classical technique to prevent server thrashing. It consists of limiting the maximum number of clients (MC) that are allowed to concurrently send requests to the central controller. MapReduce is a popular programming model and execution environment for developing and executing distributed data-intensive and compute-intensive applications AMADEOS EU Project Dynamicity in SoS

20 Feedback control approach (2)
The performance of MapReduce systems can be measured as the average time (Rt) needed to process a request in a certain time window. Low client response time is a desirable as it reflects a reactive system. Availability (Av) refers to the accessibility of the system to users. MapReduce is available if the user requests are accepted at the time of their submission. Availability is measured as the ratio of accepted MapReduce client requests to the total number of requests, during a period of time. Furthermore, the service cost is a linear function of the MapReduce cluster size (N), and can be inferred directly from N. AMADEOS EU Project Dynamicity in SoS

21 Feedback control approach (3)
Impact of workload on MapReduce performance and availability with #Nodes=20, #MC=10 AMADEOS EU Project Dynamicity in SoS

22 Feedback control approach (4)
Impact of cluster size on MapReduce performance and availability with #Clients=10, #MC=5 AMADEOS EU Project Dynamicity in SoS

23 Feedback control approach (5)
Impact of admission control on MapReduce performance and availability with #Nodes=20, #Clients=10 AMADEOS EU Project Dynamicity in SoS

24 System model inputs and outputs
Model & Control System model inputs and outputs The control architecture AMADEOS EU Project Dynamicity in SoS

25 References B. Kappen, Stochastic optimal control theory - Lecture Notes, Radboud University Nijmegen, 2012. P. Y. Li, Advanced Control System Design, Ch. 6 - Lecture Notes, University of Minnesota, S. E. Dreyfus, "Artificial neural networks, back propagation, and the Kelley-Bryson gradient procedure," Journal of Guidance, Control, and Dynamics, vol. 13, no. 5, pp , S. Theodoridis, Machine Learning. A Bayesian Optimisation Perspective, Elsevier, 2015. J. D. a. S. Ghemawat, "MapReduce: Simplified Data Processing on Large Clusters," in USENIX Symp. on Operating Systems Design and Implementation (OSDI), 2004. X. L. a. W. T. K. Wang, "Predator; An experience guided config- uration optimizer for Hadoop MapReduce," in IEEE 4th International Conference on Cloud Computing Technology and Science (CloudCom), Taipei, Taiwan, 2012. M. Berekmeri, D. Serrano, S. Bouchenak, N. Marchand, B. Robu. Feedback Autonomic Provisioning for Guaranteeing Performance in MapReduce Systems. IEEE Transactions on Cloud Computing, 2016. AMADEOS EU Project Dynamicity in SoS


Download ppt "Dynamicity Management in Systems of Systems"

Similar presentations


Ads by Google