FUZZY INFERENCE. Siti Zaiton Mohd Hashim, PhD

Similar documents
Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference Case study Summary

Introduction 3 Fuzzy Inference. Aleksandar Rakić Contents

FUZZY INFERENCE SYSTEMS

ARTIFICIAL INTELLIGENCE. Uncertainty: fuzzy systems

FUZZY LOGIC TECHNIQUES. on random processes. In such situations, fuzzy logic exhibits immense potential for

MODELING FOR RESIDUAL STRESS, SURFACE ROUGHNESS AND TOOL WEAR USING AN ADAPTIVE NEURO FUZZY INFERENCE SYSTEM

CHAPTER 5 FUZZY LOGIC CONTROL

7. Decision Making

Why Fuzzy Fuzzy Logic and Sets Fuzzy Reasoning. DKS - Module 7. Why fuzzy thinking?

Dinner for Two, Reprise

Dra. Ma. del Pilar Gómez Gil Primavera 2014

Chapter 7 Fuzzy Logic Controller

CHAPTER 4 FREQUENCY STABILIZATION USING FUZZY LOGIC CONTROLLER

Lecture notes. Com Page 1

CHAPTER 6 SOLUTION TO NETWORK TRAFFIC PROBLEM IN MIGRATING PARALLEL CRAWLERS USING FUZZY LOGIC

Introduction to Fuzzy Logic and Fuzzy Systems Adel Nadjaran Toosi

Fuzzy Reasoning. Outline

Advanced Inference in Fuzzy Systems by Rule Base Compression

Fuzzy Systems (1/2) Francesco Masulli

Fuzzy rule-based decision making model for classification of aquaculture farms

Fuzzy Expert Systems Lecture 8 (Fuzzy Systems)

What is all the Fuzz about?

Fuzzy if-then rules fuzzy database modeling

Lotfi Zadeh (professor at UC Berkeley) wrote his original paper on fuzzy set theory. In various occasions, this is what he said

Introduction 2 Fuzzy Sets & Fuzzy Rules. Aleksandar Rakić Contents

fuzzylite a fuzzy logic control library in C++

CHAPTER 3 FUZZY INFERENCE SYSTEM

SOLUTION: 1. First define the temperature range, e.g. [0 0,40 0 ].

Speed regulation in fan rotation using fuzzy inference system

A Software Tool: Type-2 Fuzzy Logic Toolbox

CHAPTER 4 FUZZY LOGIC, K-MEANS, FUZZY C-MEANS AND BAYESIAN METHODS

Fuzzy Logic Controller

Development of a Generic and Configurable Fuzzy Logic Systems Library for Real-Time Control Applications using an Object-oriented Approach

CHAPTER 3 ADAPTIVE NEURO-FUZZY INFERENCE SYSTEM

Fuzzy If-Then Rules. Fuzzy If-Then Rules. Adnan Yazıcı

Types of Expert System: Comparative Study

What is all the Fuzz about?

Figure 2-1: Membership Functions for the Set of All Numbers (N = Negative, P = Positive, L = Large, M = Medium, S = Small)

Selection of Defuzzification Method to Obtain Crisp Value for Representing Uncertain Data in a Modified Sweep Algorithm

FUZZY SYSTEM FOR PLC

CHAPTER 3 FUZZY RULE BASED MODEL FOR FAULT DIAGNOSIS

Chapter 4 Fuzzy Logic

Exercise Solution: A Fuzzy Controller for the Pole Balancing Problem

* The terms used for grading are: - bad - good

Fuzzy logic controllers

A Brief Idea on Fuzzy and Crisp Sets

Florida State University Libraries

Aircraft Landing Control Using Fuzzy Logic and Neural Networks

Fuzzy Networks for Complex Systems. Alexander Gegov University of Portsmouth, UK

Neural Networks Lesson 9 - Fuzzy Logic

ARTIFICIAL INTELLIGENCE - FUZZY LOGIC SYSTEMS

CPS331 Lecture: Fuzzy Logic last revised October 11, Objectives: 1. To introduce fuzzy logic as a way of handling imprecise information

Study of Fuzzy Set Theory and Its Applications

Fuzzy Systems Handbook

Fuzzy Based Decision System for Gate Limiter of Hydro Power Plant

Machine Learning & Statistical Models

ANFIS: ADAPTIVE-NETWORK-BASED FUZZY INFERENCE SYSTEMS (J.S.R. Jang 1993,1995) bell x; a, b, c = 1 a

Projecting Safety Measures in Fireworks Factories in Sivakasi using Fuzzy based Approach

CHAPTER - 3 FUZZY SET THEORY AND MULTI CRITERIA DECISION MAKING

REASONING UNDER UNCERTAINTY: FUZZY LOGIC

Background Fuzzy control enables noncontrol-specialists. A fuzzy controller works with verbal rules rather than mathematical relationships.

Reference Variables Generation Using a Fuzzy Trajectory Controller for PM Tubular Linear Synchronous Motor Drive

Fuzzy Reasoning. Linguistic Variables

GEOG 5113 Special Topics in GIScience. Why is Classical set theory restricted? Contradiction & Excluded Middle. Fuzzy Set Theory in GIScience

In the Name of God. Lecture 17: ANFIS Adaptive Network-Based Fuzzy Inference System

CHAPTER 3 INTELLIGENT FUZZY LOGIC CONTROLLER

Rainfall prediction using fuzzy logic

Unit V. Neural Fuzzy System

Approximate Reasoning with Fuzzy Booleans

FUZZY SYSTEMS: Basics using MATLAB Fuzzy Toolbox. Heikki N. Koivo

Introduction to Fuzzy Logic. IJCAI2018 Tutorial

The Application of the Fuzzy Theory in the Design of Intelligent Building Control of Water Tank

Exploring Gaussian and Triangular Primary Membership Functions in Non-Stationary Fuzzy Sets

CHAPTER 3 A FAST K-MODES CLUSTERING ALGORITHM TO WAREHOUSE VERY LARGE HETEROGENEOUS MEDICAL DATABASES

Using Fuzzy Expert System for Solving Fuzzy System Dynamics Models

CHAPTER 4 MAINTENANCE STRATEGY SELECTION USING TOPSIS AND FUZZY TOPSIS

The Travelling Salesman Problem. in Fuzzy Membership Functions 1. Abstract

Fuzzy Logic: Human-like decision making

Identification of Vehicle Class and Speed for Mixed Sensor Technology using Fuzzy- Neural & Genetic Algorithm : A Design Approach

Defect Depth Estimation Using Neuro-Fuzzy System in TNDE by Akbar Darabi and Xavier Maldague

Reservoir Operation Modelling with Fuzzy Logic

INTERNATIONAL JOURNAL OF COMPUTER ENGINEERING & TECHNOLOGY (IJCET)

Fuzzy system theory originates from fuzzy sets, which were proposed by Professor L.A.

Inducing Fuzzy Decision Trees in Non-Deterministic Domains using CHAID

PARAMETRIC OPTIMIZATION OF RPT- FUSED DEPOSITION MODELING USING FUZZY LOGIC CONTROL ALGORITHM

Fuzzy Set, Fuzzy Logic, and its Applications

Final Exam. Controller, F. Expert Sys.., Solving F. Ineq.} {Hopefield, SVM, Comptetive Learning,

A framework for fuzzy models of multiple-criteria evaluation

Приложение на Теорията на Размитата Логика при Моделирането на Бизнес Процеси и Вземане на Управленски Решения

Fuzzy Logic - A powerful new technology

Figure-12 Membership Grades of x o in the Sets A and B: μ A (x o ) =0.75 and μb(xo) =0.25

Learning of Type-2 Fuzzy Logic Systems using Simulated Annealing

A Proposition for using Mathematical Models Based on a Fuzzy System with Application

LAN Modeling in Rural Areas Based on Variable Metrics Using Fuzzy Logic

CT79 SOFT COMPUTING ALCCS-FEB 2014

Data Fusion for Magnetic Sensor Based on Fuzzy Logic Theory

Fuzzy Logic. Sourabh Kothari. Asst. Prof. Department of Electrical Engg. Presentation By

Using Fuzzy Logic to Improve Cache Replacement Decisions

Why Fuzzy? Definitions Bit of History Component of a fuzzy system Fuzzy Applications Fuzzy Sets Fuzzy Boundaries Fuzzy Representation

Computational Intelligence Lecture 12:Linguistic Variables and Fuzzy Rules

Transcription:

FUZZY INFERENCE Siti Zaiton Mohd Hashim, PhD

Fuzzy Inference Introduction Mamdani-style inference Sugeno-style inference Building a fuzzy expert system 9/29/20 2

Introduction Fuzzy inference is the process of formulating the mapping from a given input to an output using fuzzy theory of fuzzy sets. The process of fuzzy inference: membership functions, fuzzy logic operators, and fuzzy if-then rules. Two known types of fuzzy inference systems (in the Fuzzy Logic Toolbox): Mamdani-type Sugeno-type. 9/29/20 3

Introduction Fuzzy inference systems have been successfully applied in fields: automatic control, data classification, decision analysis, expert systems, and computer vision. 9/29/20 4

Introduction Because of its multidisciplinary nature, fuzzy inference systems are associated with a number of names: fuzzy-rule-based systems, fuzzy expert systems, fuzzy modeling, fuzzy associative memory, fuzzy logic controllers, and simply (and ambiguously) fuzzy systems. 9/29/20 5

Mamdani s Fuzzy Inference Mamdani's fuzzy inference method is the most commonly seen fuzzy methodology and was among the first control systems built using fuzzy set theory. It was proposed in 975 by Ebrahim Mamdani [Mam75] as an attempt to control a steam engine and boiler combination by synthesizing a set of linguistic control rules obtained from experienced human operators. Mamdani's effort was based on Lotfi Zadeh's 973 paper on fuzzy algorithms for complex systems and decision processes [Zad73]. 9/29/20 6

Mamdani s Fuzzy Inference Mamdani-type inference process is performed in four steps:. Fuzzification of the input and output variables 2. Fuzzy logical operations 3. Implication method 4. Aggregation 5. Defuzzification Mamdani-type inference expects the output membership functions to be fuzzy sets. 9/29/20 7

Sample problem We examine a simple two-input one-output output problem that includes three rules: Rule: Rule: IF x is A3 IF project_funding is adequate OR y is B OR project_staffing is small THEN z is C THEN risk is low Rule: 2 IF x is A2 AND y is B2 THEN z is C2 Rule: 2 IF project_funding is marginal AND project_staffing is large THEN risk is normal Rule: 3 IF x is A THEN z is C3 Rule: 3 IF project_funding is inadequate THEN risk is high 9/29/20 8

Fuzzification The first step is to take the crisp inputs, x and y (project funding and project staffing), and determine the degree to which these inputs belong to each of the appropriate fuzzy sets. Crisp Input x Crisp Input y 0.5 0 A A2 A3 x X 0.7 0. 0 (x = A) = 0.5 (y = B) = 0. (x = A2) = (y = B2) = 0.7 B y B2 Y 9/29/20 9

Fuzzy logical operation / Rule evaluation After fuzzification, we know the degree to which each part of the antecedent has been satisfied for each rule. If the antecedent of a given rule has more than one part, the fuzzy operator is applied to obtain one number that represents the result of the antecedent for that rule. This number will then be applied to the output function. The input to the fuzzy operator is two or more membership values from fuzzified input variables. The output is a single truth value. 9/29/20 0

Fuzzy logical operation As an example, take the fuzzified inputs, (x=a) 0.5, (x=a2) =, (y=b) = 0. and (y=b2) = 0.7, and apply them to the antecedents of the fuzzy rules. ) = If a given fuzzy rule has multiple antecedents, the fuzzy operator (AND or OR) is used to obtain a single number that represents the result of the antecedent evaluation. This number (the truth value) is then applied to the consequent membership function. 9/29/20

Fuzzy logical operation To evaluate the disjunction of the rule antecedents, we use the OR fuzzy operation.. Typically, fuzzy expert systems make use of the classical fuzzy operation union: A B (x) = max [ A (x), B (x)] Similarly, in order to evaluate the conjunction of the rule antecedents, we apply the AND fuzzy operation intersection: A B (x) = min [ A (x), B (x)] 9/29/20 2

Mamdani-style RULE EVALUATION A3 B 0. 0.0 OR 0. (max) 0 x X 0 y Y 0 Rule : A2 0 x X Rule 2: IF x is A3 (0.0) OR y is B (0.) THEN z is C (0.) 0.7 B2 0 y Y AND (min) IF x is A2 () AND y is B2 (0.7) THEN z is C2 () 0 C C C2 C2 C3 Z C3 Z A 0.5 0.5 C C2 C3 0 x X 0 Rule 3: IF x is A (0.5) THEN z is C3 (0.5) Z 9/29/20 3

Implication method Implication method is the process to determine the output of each fuzzy rule s consequent Before applying the implication method, we must take care of the rule's weight. Every rule has a weight (a number between 0 and ), which is applied to the number given by the antecedent. Generally this weight is (as it is for this example) and so it has no effect at all on the implication process. From time to time you may want to weight one rule relative to the others by changing its weight value to something other than. 9/29/20 4

Implication method Implication method is the process of reshaping the consequent part of each fuzzy rules. The consequent is reshaped using a function associated with the antecedent (a single number). Before applying the implication method, we must take care of the rule's weight. Every rule has a weight (a number between 0 and ), which is applied to the number given by the antecedent. Generally this weight is (as it is for this example) and so it has no effect at all on the implication process. 9/29/20 5

Implication method A consequent is a fuzzy set represented by a membership function, which weights appropriately the linguistic characteristics that are attributed to it. The implication process is implemented for each rule : The input : a single number given by the antecedent The output : fuzzy set. Two built-in methods are supported: min (minimum), which truncates the output fuzzy set prod (product), which scales the output fuzzy set. 9/29/20 6

Clipping membership functions Now the result of the antecedent evaluation can be applied to the membership function of the consequent. The most common method of correlating the rule consequent with the truth value of the rule antecedent is to cut the consequent membership function at the level of the antecedent truth. This method is called clipping.. Since the top of the membership function is sliced, the clipped fuzzy set loses some information. However, clipping is still often preferred because it involves less complex and faster mathematics, and generates an aggregated output surface that is easier to defuzzify. 9/29/20 7

Scaling membership functions While clipping is a frequently used method, scaling offers a better approach for preserving the original shape of the fuzzy set. The original membership function of the rule consequent is adjusted by multiplying ing all its membership degrees by the truth value of the rule antecedent. This method, which generally loses less information, can be very useful in fuzzy expert systems. (i.e. *(x=0), *(y=30))== 2,6 9/29/20 8

Clipped and scaled membership functions Degree of Membership.0 Degree of Membership.0 C2 C2 0.0 Z 0.0 Z 9/29/20 9

Aggregation of the rule outputs Aggregation is the process of unification of the outputs of all rules. We take the membership functions of all rule consequents previously clipped or scaled and combine them into a single fuzzy set. The input of the aggregation process is the list of clipped or scaled consequent membership functions, and the output is one fuzzy set for each output variable. 9/29/20 20

Aggregation of the rule outputs 0. 0 C z is C (0.) Z 0 C2 z is C2 () Z 0.5 0 C3 z is C3 (0.5) Z 0.5 0. 0 Z 9/29/20 2

Defuzzification The last step in the fuzzy inference process is defuzzification. Fuzziness helps us to evaluate the rules, but the final output of a fuzzy system has to be a crisp number. The input for the defuzzification process is the aggregate output fuzzy set and the output is a single number. 9/29/20 22

Defuzzification method: COG There are several defuzzification methods, but probably the most popular one is the centroid technique.. It finds the point where a vertical line would slice the aggregate set into two equal masses. Mathematically this centre of gravity (COG) can be expressed as: COG b a b a A A x x x dx dx 9/29/20 23

Centre of gravity (COG): Centroid defuzzification method finds a point representing the centre of gravity of the fuzzy set, A, on the interval, ab. A reasonable estimate can be obtained by calculating it over a sample of points. ( x ).0 0.8 0.6 A 0.4 0.0 50 a 60 70 80 90 200 b 20 X 9/29/20 24

Centre of gravity (COG): COG (0 0 20) 0. (30 40 50 60) (70 80 90 00) 0.5 0. 0. 0. 0.5 0.5 0.5 0.5 67.4 Degree of Membership.0 0.8 0.6 0.4 0.0 0 0 20 30 40 50 60 70 80 90 00 67.4 Z 9/29/20 25

Sugeno fuzzy inference Mamdani-style inference, as we have just seen, requires us to find the centroid of a two-dimensional shape by integrating across a continuously varying function. In general, this process is not computationally efficient. Michio Sugeno suggested to use a single spike, a singleton,, as the membership function of the rule consequent. A singleton,, or more precisely a fuzzy singleton,, is a fuzzy set with a membership function that is unity at a single particular point on the universe of discourse and zero everywhere else. 9/29/20 26

Sugeno fuzzy inference Sugeno-style fuzzy inference is very similar to the Mamdani method. Sugeno changed only a rule consequent. Instead of a fuzzy set, he used a mathematical function of the input variable. The format of the Sugeno-style fuzzy rule is IF x is A AND y is B THEN z is f (x, y) where x, y and z are linguistic variables; A and B are fuzzy sets on universe of discourses X and Y, respectively; and f (x, y) ) is a mathematical function. 9/29/20 27

Sugeno fuzzy inference The most commonly used zero-order order Sugeno fuzzy model applies fuzzy rules in the following form: IF x is A AND y is B THEN z is k where k is a constant. In this case, the output of each fuzzy rule is constant. All consequent membership functions are represented by singleton spikes. 9/29/20 28

Sugeno-style rule evaluation A3 B 0. 0.0 OR 0. (max) 0 x X 0 y Y 0 Rule : IF x is A3 (0.0) A2 0 x X Rule 2: OR y is B (0.) THEN z is k (0.) 0.7 B2 0 y Y AND (min) IF x is A2 () AND y is B2 (0.7) THEN z is k2 () 0 k k2 Z Z A 0.5 0.5 0 x X 0 Rule 3: IF x is A (0.5) THEN z is k3 (0.5) k3 Z 9/29/20 29

Sugeno-style aggregation of the rule outputs 0.5 0.5 0. 0. 0 k Z 0 k2 Z 0 k3 Z 0 k k2 k3 z is k (0.) z is k2 () z is k3 (0.5) Z 9/29/20 30

Weighted average (WA): WA ( k) k ( k2) k2 ( k3) k3 ( k) ( k2) ( k3) 0. 20 50 0.5 80 0. 0.5 65 Sugeno-style defuzzification 0 z Z Crisp Output z 9/29/20 3

How to make a decision on which method to apply Mamdani or Sugeno? Mamdani method is widely accepted for capturing expert knowledge. It allows us to describe the expertise in more intuitive, more human-like manner. However, Mamdani-type fuzzy inference entails a substantial computational burden. On the other hand, Sugeno method is computationally effective and works well with optimisation and adaptive techniques, which makes it very attractive in control problems, particularly for dynamic nonlinear systems. 9/29/20 32

EXERCISE: Building a fuzzy expert system case study(use fuzzy toolbox) A service centre keeps spare parts and repairs failed ones. A customer brings a failed item and receives a spare of the same type. Failed parts are repaired, placed on the shelf, and thus become spares. The objective here is to advise a manager of the service centre on certain decision policies to keep the customers satisfied. 9/29/20 33

Process of developing an fuzzy expert system. Specify the problem and define linguistic variables. 2. Determine fuzzy sets (for fuzzification process). 3. Elicit and construct fuzzy rules. 4. Encode the fuzzy sets, fuzzy rules and procedures to perform fuzzy inference into the expert system. 5. Evaluate and tune the system. 9/29/20 34

Step : Specify the problem and define linguistic variables There are four main linguistic variables: average waiting time (mean delay) m,, repair utilisation factor of the service centre,, number of servers s, and initial number of spare parts n. Input~ m,s and p Output~n 9/29/20 35

Linguistic variables and their ranges Linguistic Variable: Mean Delay, m Linguistic Value Notation Numerical Range (normalised) Very Short Short Medium VS S M [0, 0.3] [0., 0.5] [0.4, 0.7] Linguistic Variable: Number of Servers, s Linguistic Value Notation Numerical Range (normalised) S [0, 0.35] M [0.30, 0.70] L [0.60, ] Small Medium Large Linguistic Variable: Repair Utilisation Factor, Linguistic Value Notation Numerical Range L [0, 0.6] M [0.4, 0.8] H [0.6, ] Low Medium High Linguistic Variable: Number of Spares, n Linguistic Value Notation Numerical Range (normalised) Very Small Small Rather Small Medium Rather Large Large Very Large VS S RS M RL L VL [0, 0.30] [0, 0.40] [5, 0.45] [0.30, 0.70] [0.55, 0.75] [0.60, ] [0.70, ] 9/29/20 36

Step 2: Determine fuzzy sets Fuzzy sets can have a variety of shapes. However, a triangle or a trapezoid can often provide an adequate representation of the expert knowledge, and at the same time, significantly simplifies the process of computation. 9/29/20 37

Fuzzy sets of Mean Delay m Degree of Membership.0 0.8 VS S M 0.6 0.4 0.0 0 0. 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Mean Delay (normalised) 9/29/20 38

Fuzzy sets of Number of Servers s Degree of Membership.0 0.8 S M L 0.6 0.4 0.0 0 0. 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Number of Servers (normalised) 9/29/20 39

Fuzzy sets of Repair Utilisation Factor Degree of Membership.0 0.8 L M H 0.6 0.4 0.0 0 0. 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Repair Utilisation Factor 9/29/20 40

Fuzzy sets of Number of Spares n Degree of Membership.0 0.8 VS S RS M RL L VL 0.6 0.4 0.0 0 0. 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Number of Spares (normalised) 9/29/20 4

Step 3: Elicit and construct fuzzy rules To accomplish this task, we might ask the expert to describe how the problem can be solved using the fuzzy linguistic variables defined previously. Required knowledge also can be collected from other sources such as books, computer databases, flow diagrams and observed human behaviour. 9/29/20 42

The square FAM representation s L M S VS M RL RS S S VL L M VS S M m 9/29/20 43

The rule table Rule m s n Rule m s n Rule m s n VS S L VS 0 VS S M S 9 VS S H VL 2 S S L VS S S M VS 20 S S H L 3 M S L VS 2 M S M VS 2 M S H M 4 VS M L VS 3 VS M M RS 22 VS M H M 5 S M L VS 4 S M M S 23 S M H M 6 M M L VS 5 M M M VS 24 M M H S 7 VS L L S 6 VS L M M 25 VS L H RL 8 S L L S 7 S L M RS 26 S L H M 9 M L L VS 8 M L M S 27 M L H RS 9/29/20 44

Rule Base. If (utilisation_factor is L) then (number_of_spares is S) 2. If (utilisation_factor is M) then (number_of_spares is M) 3. If (utilisation_factor is H) then (number_of_spares is L) 4. If (mean_delay is VS) and (number_of_servers is S) then (number_of_spares is VL) 5. If (mean_delay is S) and (number_of_servers is S) then (number_of_spares is L) 6. If (mean_delay is M) and (number_of_servers is S) then (number_of_spares is M) 7. If (mean_delay is VS) and (number_of_servers is M) then (number_of_spares is RL) 8. If (mean_delay is S) and (number_of_servers is M) then (number_of_spares is RS) 9. If (mean_delay is M) and (number_of_servers is M) then (number_of_spares is S) 0.If (mean_delay is VS) and (number_of_servers is L) then (number_of_spares is M).If (mean_delay is S) and (number_of_servers is L) then (number_of_spares is S) 2.If (mean_delay is M) and (number_of_servers is L) then (number_of_spares is VS) 9/29/20 45

Cube FAM of Rule Base 2 s L M S VS VS VS VS VS VS S S VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS S M m M H L s L M RS S s L M S RL M RS M M S VL L M VS S M m H M RS S VS s L S S VS S S VS VS VS S M m M M VS VS VS S VS VS VS VS S M m L 9/29/20 46

Step 4: Encode the fuzzy sets, fuzzy rules and procedures to perform fuzzy inference into the expert system To accomplish this task, we may choose one of two options: to build our system using a programming language such as C/C++ or Pascal, or to apply a fuzzy logic development tool such as MATLAB Fuzzy Logic Toolbox or Fuzzy Knowledge Builder. 9/29/20 47

Step 5: Evaluate and tune the system The last, and the most laborious, task is to evaluate and tune the system. We want to see whether our fuzzy system meets the requirements specified at the beginning. Several test situations depend on the mean delay, number of servers and repair utilisation factor. The Fuzzy Logic Toolbox can generate surface to help us analyse the system s performance. 9/29/20 48

Three-dimensional plots for Rule Base 0.6 number_of_spares 0.5 0.4 0.3 0 0.4 mean_delay 0.6 0 0.8 0.6 0.4 number_of_servers 9/29/20 49

Three-dimensional plots for Rule Base 0.6 number_of_spares 0.5 0.4 0.3 0 0.4 mean_delay 0.6 0 0.8 0.6 0.4 utilisation_factor 9/29/20 50

Three-dimensional plots for Rule Base 2 0.35 number_of_spares 0.3 5 0.5 0 0.4 mean_delay 0.6 0 0.8 0.6 0.4 number_of_servers 9/29/20 5

Three-dimensional plots for Rule Base 2 0.5 number_of_spares 0.4 0.3 0 0.4 mean_delay 0.6 0 0.8 0.6 0.4 utilisation_factor 9/29/20 52

However, even now, the expert might not be satisfied with the system performance. To improve the system performance, we may use additional sets Rather Small and Rather Large on the universe of discourse Number of Servers, and then extend the rule base. 9/29/20 53

Modified fuzzy sets of Number of Servers s Degree of Membership.0 0.8 S RS M RL L 0.6 0.4 0.0 0 0. 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Number of Servers (normalised) 9/29/20 54

Cube FAM of Rule Base 3 s L RL M RS S VS VS VS VS VS VS S S VS VS VS VS VS VS VS S S VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS VS M H L VS S M m s L RL M M RS S M RS S RS S VS s L RL M RS S L M RS RL M RS M M S VL RL RS VL L M VS S M m H s RS S VS VS L RL M S S VS S S VS VS VS VS S S VS VS VS S M m M RS VS VS VS S VS VS VS VS S M m L 9/29/20 55

Three-dimensional plots for Rule Base 3 0.35 number_of_spares 0.3 5 0.5 0 0.4 mean_delay 0.6 0 0.8 0.6 0.4 number_of_servers 9/29/20 56

Three-dimensional plots for Rule Base 3 0.5 number_of_spares 0.4 0.3 0 0.4 mean_delay 0.6 0 0.4 0.6 utilisation_factor 0.8 9/29/20 57

Tuning fuzzy systems. Review model input and output variables, and if required redefine their ranges. 2. Review the fuzzy sets, and if required define additional sets on the universe of discourse. The use of wide fuzzy sets may cause the fuzzy system to perform roughly. 3. Provide sufficient overlap between neighbouring sets. It is suggested that triangle-to-triangle and trapezoid-to-triangle triangle fuzzy sets should overlap between 25% to 50% of their bases. 9/29/20 58

4. Review the existing rules, and if required add new rules to the rule base. 5. Examine the rule base for opportunities to write hedge rules to capture the pathological behaviour of the system. 6. Adjust the rule execution weights. Most fuzzy logic tools allow control of the importance of rules by changing a weight multiplier. 7. Revise shapes of the fuzzy sets. In most cases, fuzzy systems are highly tolerant of a shape approximation. 9/29/20 59