Fuzzy logic : principles and applications

Similar documents
ME 534. Mechanical Engineering University of Gaziantep. Dr. A. Tolga Bozdana Assistant Professor

What Is Fuzzy Logic?

A Hybrid Approach For Air Conditioning Control System With Fuzzy Logic Controller

This time: Fuzzy Logic and Fuzzy Inference

2010/07/12. Content. Fuzzy? Oxford Dictionary: blurred, indistinct, confused, imprecisely defined

Uncertain System Control: An Engineering Approach

This time: Fuzzy Logic and Fuzzy Inference

Performance Of Power System Stabilizerusing Fuzzy Logic Controller

Fuzzy Logic and Computing with Words. Ning Xiong. School of Innovation, Design, and Engineering Mälardalen University. Motivations

Fuzzy Systems. Introduction

RamchandraBhosale, Bindu R (Electrical Department, Fr.CRIT,Navi Mumbai,India)

CHAPTER V TYPE 2 FUZZY LOGIC CONTROLLERS

FUZZY CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL

Fuzzy Systems. Introduction

CONTROL SYSTEMS, ROBOTICS AND AUTOMATION Vol. XVII - Analysis and Stability of Fuzzy Systems - Ralf Mikut and Georg Bretthauer

3- DOF Scara type Robot Manipulator using Mamdani Based Fuzzy Controller

OUTLINE. Introduction History and basic concepts. Fuzzy sets and fuzzy logic. Fuzzy clustering. Fuzzy inference. Fuzzy systems. Application examples

Handling Uncertainty using FUZZY LOGIC

Fuzzy Logic. An introduction. Universitat Politécnica de Catalunya. Departament de Teoria del Senyal i Comunicacions.

CHAPTER 4 FUZZY AND NEURAL NETWORK FOR SR MOTOR

A Powerful way to analyze and control a complex system

Reduced Size Rule Set Based Fuzzy Logic Dual Input Power System Stabilizer

Fuzzy Control Systems Process of Fuzzy Control

Intelligent Systems and Control Prof. Laxmidhar Behera Indian Institute of Technology, Kanpur

FUZZY LOGIC CONTROL of SRM 1 KIRAN SRIVASTAVA, 2 B.K.SINGH 1 RajKumar Goel Institute of Technology, Ghaziabad 2 B.T.K.I.T.

ABSTRACT I. INTRODUCTION II. FUZZY MODEL SRUCTURE

CHAPTER 5 FUZZY LOGIC FOR ATTITUDE CONTROL

DIRECT TORQUE CONTROL OF THREE PHASE INDUCTION MOTOR USING FUZZY LOGIC

FUZZY CONTROL. Main bibliography

Islamic University of Gaza Electrical Engineering Department EELE 6306 Fuzzy Logic Control System Med term Exam October 30, 2011

Hamidreza Rashidy Kanan. Electrical Engineering Department, Bu-Ali Sina University

Evaluation of Maximum Power Point Controllers in Photovoltaic System

Application of Fuzzy Logic and Uncertainties Measurement in Environmental Information Systems

Index Terms Magnetic Levitation System, Interval type-2 fuzzy logic controller, Self tuning type-2 fuzzy controller.

EXCITATION CONTROL OF SYNCHRONOUS GENERATOR USING A FUZZY LOGIC BASED BACKSTEPPING APPROACH

FUZZY LOGIC CONTROL Vs. CONVENTIONAL PID CONTROL OF AN INVERTED PENDULUM ROBOT

Design of Decentralized Fuzzy Controllers for Quadruple tank Process

Knowledge-Based Control Systems (SC42050) Lecture 3: Knowledge based fuzzy control

is implemented by a fuzzy relation R i and is defined as

Direct Torque Control of Three Phase Induction Motor Using Fuzzy Logic

Design and Analysis of Speed Control Using Hybrid PID-Fuzzy Controller for Induction Motors

Neural Networks & Fuzzy Logic. Introduction

Revision: Fuzzy logic

MODELING AND SIMULATION OF ROTOR FLUX OBSERVER BASED INDIRECT VECTOR CONTROL OF INDUCTION MOTOR DRIVE USING FUZZY LOGIC CONTROL

International Journal of Emerging Technology and Advanced Engineering Website: (ISSN , Volume 2, Issue 5, May 2012)

Type-2 Fuzzy Logic Control of Continuous Stirred Tank Reactor

INTELLIGENT CONTROL OF DYNAMIC SYSTEMS USING TYPE-2 FUZZY LOGIC AND STABILITY ISSUES

COMPARISON OF DAMPING PERFORMANCE OF CONVENTIONAL AND NEURO FUZZY BASED POWER SYSTEM STABILIZERS APPLIED IN MULTI MACHINE POWER SYSTEMS

Simulation Results of a Switched Reluctance Motor Based on Finite Element Method and Fuzzy Logic Control

FUZZY LOGIC CONTROL DESIGN FOR ELECTRICAL MACHINES

CHAPTER 7 MODELING AND CONTROL OF SPHERICAL TANK LEVEL PROCESS 7.1 INTRODUCTION

DESIGN OF POWER SYSTEM STABILIZER USING FUZZY BASED SLIDING MODE CONTROL TECHNIQUE

Models for Inexact Reasoning. Fuzzy Logic Lesson 8 Fuzzy Controllers. Master in Computational Logic Department of Artificial Intelligence

Fuzzy Compensation for Nonlinear Friction in a Hard Drive

Available online at ScienceDirect. Procedia Technology 25 (2016 )

Adaptive fuzzy observer and robust controller for a 2-DOF robot arm Sangeetha Bindiganavile Nagesh

Synthesis of Nonlinear Control of Switching Topologies of Buck-Boost Converter Using Fuzzy Logic on Field Programmable Gate Array (FPGA)

Fuzzy Logic Controller

EEE 8005 Student Directed Learning (SDL) Industrial Automation Fuzzy Logic

Lecture 06. (Fuzzy Inference System)

What is Fuzzy Logic? Fuzzy logic is a tool for embedding human knowledge (experience, expertise, heuristics) Fuzzy Logic

Design On-Line Tunable Gain Artificial Nonlinear Controller

EFFECT OF VARYING CONTROLLER PARAMETERS ON THE PERFORMANCE OF A FUZZY LOGIC CONTROL SYSTEM

General-Purpose Fuzzy Controller for DC/DC Converters

Design and Implementation of PI and PIFL Controllers for Continuous Stirred Tank Reactor System

CHAPTER 5 FREQUENCY STABILIZATION USING SUPERVISORY EXPERT FUZZY CONTROLLER

Fuzzy Logic. By Clifton F. Cobb

The Problem. Sustainability is an abstract concept that cannot be directly measured.

FUZZY CONTROL OF CHAOS

Switched Reluctance Machine Modeling Applied on a MRAC Scheme

Variable Sampling Effect for BLDC Motors using Fuzzy PI Controller

FUZZY CONTROL OF CHAOS

Intuitionistic Fuzzy Logic Control for Washing Machines

What is fuzzy? A dictionary definition. And so what is a Fuzzy Set? events. a not clear Set? 1. Of or resembling fuzz.

Rule-Based Fuzzy Model

A FUZZY NEURAL NETWORK MODEL FOR FORECASTING STOCK PRICE

USE OF FUZZY LOGIC TO INVESTIGATE WEATHER PARAMETER IMPACT ON ELECTRICAL LOAD BASED ON SHORT TERM FORECASTING

Fuzzy Systems. Fuzzy Control

Circuit Implementation of a Variable Universe Adaptive Fuzzy Logic Controller. Weiwei Shan

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING. MSc SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2015/2016

SPEED CONTROL OF DC MOTOR ON LOAD USING FUZZY LOGIC CONTROLLER (A CASE STUDY OF EMERGENCY LUBE OIL PUMP MOTOR OF H25 HITACHI TURBINE GENERATOR)

Institute for Advanced Management Systems Research Department of Information Technologies Åbo Akademi University. Fuzzy Logic Controllers - Tutorial

Fuzzy Logic Control for Half Car Suspension System Using Matlab

Fuzzy Applications 10/2/2001. Feedback Control Systems FLC. Engine-Boiler FLC. Engine-Boiler FLC. Engine-Boiler FLC. Page 1

PERFORMANCE ENHANCEMENT OF DIRECT TORQUE CONTROL OF INDUCTION MOTOR USING FUZZY LOGIC

OPTIMAL CAPACITOR PLACEMENT USING FUZZY LOGIC

Algorithms for Increasing of the Effectiveness of the Making Decisions by Intelligent Fuzzy Systems

FUZZY TRAFFIC SIGNAL CONTROL AND A NEW INFERENCE METHOD! MAXIMAL FUZZY SIMILARITY

Design of an Intelligent Controller for Armature Controlled DC Motor using Fuzzy Logic Technique

1. Brief History of Intelligent Control Systems Design Technology

A Study on Performance of Fuzzy And Fuzyy Model Reference Learning Pss In Presence of Interaction Between Lfc and avr Loops

DESIGN OF A HIERARCHICAL FUZZY LOGIC PSS FOR A MULTI-MACHINE POWER SYSTEM

Financial Informatics IX: Fuzzy Sets

Adaptive Fuzzy Logic Power Filter for Nonlinear Systems

Weighted Fuzzy Time Series Model for Load Forecasting

System Performance Ratings of High Speed Nano Devices Using Fuzzy Logic

Financial Informatics XI: Fuzzy Rule-based Systems

Modeling and Simulation of Indirect Field Oriented Control of Three Phase Induction Motor using Fuzzy Logic Controller

3. DIFFERENT MODEL TYPES

APPLICATION OF AIR HEATER AND COOLER USING FUZZY LOGIC CONTROL SYSTEM

Transcription:

École d été Franco Roumaine Commande Avancée des Systèmes & Nouvelles Technologies Informatiques CA NTI 2015 Fuzzy logic : principles and applications Dr. Ing. Professor-Researcher Co-responsable of ESEA field : Energy, Electrical and Automated Systems Member of Electric Networks Team (L2EP) Graduate School of Engineering, Lille (HEI-Lille, France) 1

What is Fuzzy Logic? Fuzzy Logic A computational paradigm that is based on how humans think Fuzzy Logic looks at the world in imprecise terms, in much the same way that our brain takes in information (e.g. temperature is hot, speed is slow), then responds with precise actions. The human brain can reason with uncertainties, vagueness, and judgments. Computers can only manipulate precise valuations. Fuzzy logic is an attempt to combine the two techniques. Fuzzy a misnomer, has resulted in the mistaken suspicion that FL is somehow less exact than traditional logic 2 2

Fuzzy logic What is Fuzzy Logic? FL is in fact, a precise problem-solving methodology. It is able to simultaneously handle numerical data and linguistic knowledge. A technique that facilitates the control of a complicated system without knowledge of its mathematical description. Fuzzy logic differs from classical logic in that statements are no longer black or white, true or false, on or off. In traditional logic an object takes on a value of either zero or one. In fuzzy logic, a statement can assume any real value between 0 and 1, representing the degree to which an element belongs to a given set. 3

History of Fuzzy Logic Fuzzy Logic Professor Lotfi A. Zadeh http://www.cs.berkeley.edu/~zadeh/ In 1965, Lotfi A. Zadeh of the University of California at Berkeley published "Fuzzy Sets," which laid out the mathematics of fuzzy set theory and, by extension, fuzzy logic. Zadeh had observed that conventional computer logic couldn't manipulate data that represented subjective or vague ideas, so he created fuzzy logic to allow computers to determine the distinctions among data with shades of gray, similar to the process of human reasoning. Source: August 30, 2004 (Computerworld) http://www.computerworld.com/news/2004/story/0,11280,95282,00.html 4 4

Task 1 1) What is the principle of fuzzy logic? Explain the distinction between it and classical logic. Fuzzy logic is a concept of certain degree. Boolean logic is a subset of fuzzy logic. Fuzzy logic is a form of many-valued logic which deals with reasoning that is approximate rather than fixed and exact. Compared to traditional binary sets (where variables may take on true or false values), fuzzy logic variables may have a truth value that ranges in degree between 0 and 1. 2) What is the main difference between the probability and fuzzy logic? Probability is ADDITIVE, means all its values must add up to one. This is main difference between fuzzy logic and probability. Although both probability and fuzzy logic contain values between the range of 1 and 0, fuzzy logic tells the extent of a specific member function, whereas probability gives the frequency, hence all values of its set must add up to one. 5

Task 1 3) What is the reasons that fuzzy logic has rapidly become one of the most successful technology for developing sophisticated control systems? Fuzzy logic is conceptually easy to understand. Fuzzy logic is flexible. Fuzzy logic is tolerant of imprecise data. Fuzzy logic can model nonlinear functions of arbitrary complexity. Fuzzy logic can be built on top of the experience of experts. Fuzzy logic can be blended with conventional control techniques. Fuzzy logic is based on natural language. 6

Task 1 4) When not to use fuzzy logic? When a simpler solution already exists. 5) Give at least 3 famous applications of fuzzy logic. Nissan fuzzy automatic transmission, fuzzy anti-skid braking system CSK, Hitachi Hand-writing Recognition Sony - Hand-printed character recognition Ricoh, Hitachi Voice recognition. 7

Fuzzy Set Theory Fuzzy Logic Explained Is a man whose height is 5 11-1/2 average or tall? A fuzzy system might say that he is partly medium and partly tall. Boolean representation Fuzzy representation In fuzzy terms, the height of the man would be classified within a range of [0, 1] as average to a degree of 0.6, and tall to a degree of 0.4. http://blog.peltarion.com/2006/10/25/fuzzy-math-part-1-the-theory/

Fuzzy Inference Process What are the steps involved in creating a Fuzzy Control System? 9

Fuzzy Inference Process Fuzzy Inference Process e.g. theta Fuzzification Rule Evaluation e.g. force Defuzzification Fuzzification: Translate input into truth values Rule Evaluation: Compute output truth values Defuzzification: Transfer truth values into output 10

Summary of Steps 1. determining a set of fuzzy rules 2. fuzzifying the inputs using the input membership functions, 3. combining the fuzzified inputs according to the fuzzy rules to establish a rule strength, 4. finding the consequence of the rule by combining the rule strength and the output membership function (if it s a mamdani FIS), 5. combining the consequences to get an output distribution, and 6. defuzzifying the output distribution (this step applies only if a crisp output (class) is needed). 11

Fuzzy Inference Fuzzy inference is the process of formulating the mapping from a given input to an output using fuzzy logic. The mapping then provides a basis from which decisions can be made, or patterns discerned. The process of fuzzy inference involves : Membership Functions, Logical Operations, and If- Then Rules. 12

Mamdani Inference System Two input, two rule Mamdani FIS with crisp inputs IF Rule Strength THEN and x o y o and Input Distribution Output Distribution X o Y o Fuzzy rules are a collection of linguistic statements that describe how the FIS should make a decision regarding classifying an input or controlling an output. 13

Mamdani FIS Mamdani-type inference, expects the output membership functions to be fuzzy sets. After the aggregation process, there is a fuzzy set for each output variable that needs defuzzification. http://www.mathworks.com/access/helpdesk/help/toolbox/fuzzy/index.html?/access/helpdesk/help/toolbox/fuzzy/bp78l6_- 1.html&http://www.mathworks.com/cgibin/texis/webinator/search/?db=MSS&prox=page&rorder=750&rprox=750&rdfreq=500&rwfreq=500&rlead=250&sufs=0&order=r&is_summa ry_on=1&resultcount=10&query=fuzzy+logic&submitbuttonname=search 14

Mamdani FIS Mamdani-type inference, expects the output membership functions to be fuzzy sets. After the aggregation process, there is a fuzzy set for each output variable that needs defuzzification. http://www.mathworks.com/access/helpdesk/help/toolbox/fuzzy/index.html?/access/helpdesk/help/toolbox/fuzzy/bp78l6_- 1.html&http://www.mathworks.com/cgibin/texis/webinator/search/?db=MSS&prox=page&rorder=750&rprox=750&rdfreq=500&rwfreq=500&rlead=250&sufs=0&order=r&is_summa ry_on=1&resultcount=10&query=fuzzy+logic&submitbuttonname=search 15

Mamdani FIS 16

Mamdani FIS 17

Flow of Fuzzy Inference In this figure, the flow proceeds up from the inputs in the lower left, then across each row, or rule, and then down the rule outputs to finish in the lower right. This compact flow shows everything at once, from linguistic variable fuzzification all the way through defuzzification of the aggregate output. 18

Sugeno FIS Sugeno FIS is similar to the Mamdani method in many respects. The first two parts of the fuzzy inference process, fuzzifying the inputs and applying the fuzzy operator, are exactly the same. The main difference between Mamdani and Sugeno is that the Sugeno output membership functions are either linear or constant. A typical rule in a Sugeno fuzzy model has the form: If Input 1 = x and Input 2 = y, then Output is z = ax + by + c For a zero-order Sugeno model, the output level z is a constant (a=b =0). 19

Sugeno FIS 20

FIS: Sugeno vs. Mamdani Advantages of the Sugeno Method It is computationally efficient. It can be used to model any inference system in which the output membership functions are either linear or constant. It works well with linear techniques (e.g., PID control). It works well with optimization and adaptive techniques. It has guaranteed continuity of the output surface. It is well suited to mathematical analysis. Advantages of the Mamdani Method It is intuitive. It has widespread acceptance. It is well suited to human input. 21

Task 2 What is the sequence of steps taken in designing a fuzzy logic controller? Following is the sequence for the designing a fuzzy logic machine: Fuzzification->Rule Evaluation->Defuzzification when designing a fuzzy logic, we first have to define the fuzzy sets and make appropriate member function. The rule evaluation comes in which matches the sets to its corresponding rules. 22

Task 3 : example of control The objective of this case study is to perform the speed control of a separately excited DC motor (figure 1) using fuzzy logic controller (FLC). The controller will be designed based on the expert knowledge of the system. For the proposed dc motor case, we recommend 7 fuzzy rules for fuzzy logic controller. 23

Task 3 : example of control Taking field flux as and Back EMF Constant as K φ. Equation for back emf of motor will be: Torque: E b = K φ ω T m = K φ I a ω is the angular velocity (speed) and friction in rotor of motor is very small (can be neglected) so Bm = 0. Armature Time Constant: 24

Task 3 : example of control 1) Plot the block diagram of separately excited dc motor based on Laplace transformations of the motor s armature voltage and balance torque. Fig.2 Block diagram of separately excited dc motor 25

Task 3 : example of control 2) Define the required fuzzy controller inputs and outputs. Then complete this diagram: Fig. 3: General structure of the fuzzy controller. 26

Task 3 : example of control 3) Deduce the structure of the fuzzy logic controller with closed loop (synopsis of all system with fuzzy controller). Fig.4 Model of system using fuzzy logic controller 27

Task 3 : example of control 4) Represent membership functions for inputs and output variables. Input 1 range: [-1 1] Input 2 range: [- 1 1] Output range: [-30 30]. 28

Task 3 : example of control 4) Represent membership functions for inputs and output variables. Input 1 range: [-1 1] Input 2 range: [- 1 1] Output range: [-30 30]. 29

Task 3 : example of control 5) Enunciate the 7 if-then rules necessary for separately excited dc motor speed control. - If (ERROR is VAL_BASSE) then (CONTROL is AUGMENTER_BEAUCOUP) - If (ERROR is VAL_Elevée) then (CONTROL is DIMINUER_BEAUCOUP) - If (ERROR is VAL_CTE) and (VARIATION is E_ELEVEE_NEGATIVE) then (CONTROL is DIMUNIER_PEU) - If (ERROR is VAL_CTE) and (VARIATION is ERROR_ELEVEE_POSITIVE) then (CONTROL is AUGMENTER_PEU) - If (ERROR is VAL_CTE) and (CAMBIO is ERROR_ELEVEE_POSITIVE) then (CONTROL is AUGMENTER_PEU) - If (ERROR is VAL_MED_BASSE) then (CONTROL is AUGMENTER_PEU) - If (ERROR is VAL_CTE) then (CONTROL is TENIR) 6) What is the inference system type used here? Is there another type? MANDANI. YES SUGENO METHOD. 30

Task 3 : example of control 7) What is the contribution (benefits) of fuzzy logic in comparison with a conventional PID controller for these case study? The fuzzy logic approach has minimum overshoot, minimum transient and steady state parameters, which shows more effectiveness and efficiency of FLC than conventional PID controller. 31

Task 4 : Fuzzy logic applied to energy management You are given 3 slides taken from a power point presentation done by a PhD student from HEI L2EP in ELECTRIMACS conference (Spain 2014). Well understand the problematic and the objectives then respond to the question. 32

Task 4 : Fuzzy logic applied to energy management 33

Task 4 : Fuzzy logic applied to energy management 34

Task 4 : Fuzzy logic applied to energy management Question: Complete this table for work specifications (problem analysis): 35

Task 4 : Fuzzy logic applied to energy management 36

Task 4 : Fuzzy logic applied to energy management DESIGN OF THE SUPERVISION STRATEGY Methodology for HRPS energy management STEP 1 Work specifications STEP 4 Determination of the membership functions STEP 2 Design of the supervisor STEP 3 Chart representation of operating modes - Functional graphs - STEP 5 Chart representation of fuzzy operating modes - Operational graphs - STEP 6 Determination of the fuzzy rules STEP 7 Determination of indicators to measure the achievement of objectives 37

Task 4 : Fuzzy logic applied to energy management DESIGN OF THE SUPERVISION STRATEGY Methodology for HRPS energy management STEP 1 Work specifications Objectives Constraints Means of actions Predictive mode LONGT TERM Reducing energy bill (regarding short-term trades) Trains consumption predictions RES forecast Electricity market fluctuations Storage power (P sto-ref-lgt ) (Predictive reference power) Fuzzy Logic energy management SHORT TERM Limitation of subscribed power exceeding Favoring local RES consumption Ensuring storage system availability Subscribed power Storage limits RES availability Storage power (P sto-ref-sht ) (Predictive mode adjustment) 38

Task 4 : Fuzzy logic applied to energy management DESIGN OF THE SUPERVISION STRATEGY Methodology for HRPS energy management STEP 2 Design of the supervisor P train_predictive P RES_forecast Electricity cost Predictive mode Long-term To limit exceeding subscribed power To ensure the storage availability To favor local RES consumption P sto_ref_lgt P grid P subscribed P train P RES To reduce the electricity bill + - ΔP excess K 1 SOC ΔP local + - K 2 K 3 FL energy management K 5 P sto_ref_sht the grid power excess amount the power difference between train consumption and RES production HRPS supervision K 4 K 1, K 2, K 3, K 4, K 5 = normalisation gains 39

Task 4 : Fuzzy logic applied to energy management DESIGN OF THE SUPERVISION STRATEGY Methodology for HRPS energy management STEP 3 Chart representation of operating modes - Functional graphs - STEP 4 Determination of the membership functions Inputs: ΔP local (Negative-Big, Zero, Positive-Big) SOC (Small, Medium, Big) ΔP excess (Negative-Big, Zero, Positive-Big) P sto-ref-lgt (Negative-Big, Zero, Positive-Big) Output: P sto-ref-sht (Negative-Big, Zero, Positive-Big) Plocal SOC Pexcess Psto-ref-lgt Psto-ref-sht 3. To ensure storage charging when near the lowest level of saturation N2 1 0.5 Negative-Big Storage level is Small Storage level is Medium 1. To limit exceeding grid power by load shedding 2. To favor the RES local consumption N1 Storage level is Big Storage level is Medium Zero 3. To ensure storage discharging when near the highest level of saturation N3 Positive-Big 0-1 -0.8-0.6-0.4-0.2 0 0.2 0.4 0.6 0.8 1 Plocal 1 0.5 Small Medium Big 0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 SOC 1 Negative-Big Zero Positive-Big 0.5 0-1 -0.8-0.6-0.4-0.2 0 0.2 0.4 0.6 0.8 1 Pexcess 1 0.5 Negative-Big Zero Positive-Big 0-1 -0.8-0.6-0.4-0.2 0 0.2 0.4 0.6 0.8 1 Psto-ref-lgt 1 0.5 Neg-Big Neg-Med Zero Pos-Med Pos-Big 0-1 -0.8-0.6-0.4-0.2 0 0.2 0.4 0.6 0.8 1 Psto-ref-sht 40

Task 4 : Fuzzy logic applied to energy management DESIGN OF THE SUPERVISION STRATEGY Methodology for HRPS energy management STEP 5 Chart representation of fuzzy operating modes - Operational graphs - P sto_ref_lgt is NB P sto_ref_sht is Z P sto_ref_sht is PM P sto_ref_lgt is PB P sto_ref_sht is PB SOC is M & ΔP excess is PB ΔP local is PB or Z P sto_ref_lgt is Z P sto_ref_lgt is Z N1.11 P sto_ref_lgt is Z P sto_ref_lgt is Z ΔP local is NB P sto_ref_lgt is NB P sto_ref_sht is NB P sto_ref_sht is NM P sto_ref_lgt is PB P sto_ref_sht is Z N1.12 N1.1 from 81 possible cases, only 30 fuzzy necessary rules STEP 6 Determination of the fuzzy rules If SOC is M and ΔP excess_p.u. is NB (P grid <P subscribed ) and ΔP local_p.u. is PB (P train >P RES ) and P sto-ref-lgt_p.u. is NB (to charge) then P sto-ref-sht_p.u. is NB (charge reference) Mode Inputs Output N1.11 N1.12 SOC ΔP local ΔP excess P sto-ref-lgt P sto-ref-sht M not NB PB PB Z M not NB PB Z PB M not NB PB PB PB M NB PB NB NB M NB PB Z NM M NB PB PB Z 41

Task 4 : Fuzzy logic applied to energy management DESIGN OF THE SUPERVISION STRATEGY Methodology for HRPS energy management STEP 7 Determination of indicators to measure the achievement of objectives Economic indicator (monthly component of the exceeding subscribed power) CMDPS P excess P t T grid k P t x X subscribed t P 2 excess ( x) five tariff time periods T α=0.3584 /kw k t (%) is a power coefficient for each time tariff period t X t represents the index set x belonging to each time class t). Energy indicator (ratio between the locally consumed energy of RES and the produced one) I RES (%) E RES E E RES _ noncons RES 100 42

Task 4 : Fuzzy logic applied to energy management Predictive mode storage reference power Power(p.u.) P train_predictive P RES_forecast Electricity cost Predictive mode Long-term To limit exceeding subscribed power To ensure the storage availability To favor local RES consumption HRPS supervision P sto_ref_lgt P ΔP excess grid + - K1 P subscribed SOC P train P RES To reduce the electricity bill K2 ΔP local + - K3 K4 FL energy management K5 P sto_ref_sht K 1, K 2, K 3, K 4, K 5 = normalisation gains Production and consumption profiles 1 0.8 0.6 0.4 0.2 Power(p.u.) price(p.u.) 0.1 0 Psto-ref-lgt -0.1 0 1 2 3 4 5 6 7 1 0.5 electricity price 0 0 1 2 3 4 Weekday 5 6 7 Ptrain Ppv Pwind Depends on electricity price in short term trades Storage system: C sto = 5000 kwh P sto-max = 1MW η charge =90%, η discharge =90% SOC min, SOC max time response constant (τ=0.5s) 0 0 1 2 3 4 5 6 7 Weekday 43

Task 4 : Fuzzy logic applied to energy management Case 3: storage power adjustment Power(p.u.) SOC(%) 1 0.5 Psubsribed Pgrid 0 0 2 4 6 8 10 12 14 16 18 20 22 0 2 4 6 8 10 12 14 16 18 20 22 1 SOC 0.5 0 0 2 4 6 8 10 12 14 16 18 20 22 0 2 4 6 8 10 12 14 16 18 20 22 0.05 Power(p.u.) 0 Psto-ref-lgt -0.05 Psto 0 2 4 6 8 10 12 14 16 18 20 22 0 2 4 6 8 10 12 14 16 18 20 22 time(hours) adjustment of P sto-ref-lgt reference power the subscribed power is reduced thanks to RES local consumption and storage management storage system charges when RES exceed train consumption and when economic interesting 44

Task 4 : Fuzzy logic applied to energy management SIMULATION RESULTS & CASE STUDIES Comparison of different supervision cases Subscribed power is reduced five times in HRPS supervision Study case CMDPS I RES Reference case 5338 0% Case 1 (Predictive mode) 1024 96,5% Case 2 (FLEM strategy) 1036 95,5% well performance of FLEM strategy compared to predictive mode results Case 3 (Adjustment) 942 96,9% RES is locally consumed almost in totality 45

References This first theoric part is extracted from : Fuzzy logic Massey University course. http://www.massey.ac.nz/~nhreyes/massey/159741/lectures/lec201 2-3-159741-FuzzyLogic-v.2.pdf Petronela Pankovits; Dhaker Abbes; Christophe Saudemont; Othman Moumniabdou; Julien Pouget; Benoit Robyns, «Energy Management Multi-Criteria Design for Hybrid Railway Power Substations,», 11th International Conference on Modeling and Simulation of Electric Machines, Converters and Systems (ELECTRIMACS 2014). Umesh Kumar Bansal and Rakesh Narvey, «Speed Control of DC Motor Using Fuzzy PID Controller», Advance in Electronic and Electric Engineering. ISSN 2231-1297, Volume 3, Number 9 (2013), pp. 1209-1220, Research India Publications. 46

Thank you for your attention!