COIT20277 Introduction to Artificial Intelligence Assignment

Assignment Help Other Subject
Reference no: EM132655022

COIT20277 Introduction to Artificial Intelligence - Central Queensland University

Assignment - Fuzzy Sets

Objectives
• Model and design solution to the given problem applying fuzzy system concepts
• Develop source code and implement designed solution
• Follow use of good programming practice/techniques
• Test software implementations to ensure correctness of the model and algorithm
• Provide suggestions to enhance the model using one or more computational intelligence techniques

Assessment Task
In this assignment, you are required to write a Java Application that implements a water distribution controlled by a fuzzy controller. You will be using the given input details and guidance on use of fuzzy membership functions to model, design and build your application for the fuzzy controller.

The Problem
Fresh water should be pumped from a reservoir to the water distribution system (WDS) maintaining the pressure at an optimum level to avoid waste of energy. Variable speed drives (VSD) are used for the pumps where the speed can be controlled by changing the frequency to adjust the water pressure. Inputs from pressure transducers and frequency of the motor pump have been used to control the speed of the pump by changing the frequency. The fuzzy controller output is the change in frequency (δF).

B. Modelling
1. You can use the following guidelines in your modelling.

2. There are two sets of inputs as shown Table 1 and you should use two fuzzy sets for these.
a) Frequency of actuation of the motor-pump set (FR) which is used to vary the speed and hence flow rate. This has 4 levels of Frequency ranges F1 - F4
b) Water pressure (PR) measured in the most unfavourable point of the system

3. The output is the change in frequency (δF)

4. You will develop the fuzzy controller that have two input variables with the following linguistic values and fuzzy membership specifications.

The Fuzzy Rule Base shown in Table 5 above can be written in words as given below.
Rule 1: if pressure is "low" and frequency is "F1" then change in frequency is "positive high".
Rule 2: if pressure is "low" and frequency is "F2" then change in frequency is "positive medium".
Rule 3: if pressure is "low" and frequency is "F3" then change in frequency is "positive high".
Rule 4: if pressure is "low" and frequency is "F4" then change in frequency is "positive medium".
Rule 5: if pressure is "optimum" and frequency is "F2" then change in frequency is "zero". Rule 6: if pressure is "optimum" and frequency is "F3" then change in frequency is "zero ". Rule 7: if pressure is "optimum" and frequency is "F4" then change in frequency is "zero".
Rule 8: if pressure is "high" and frequency is "F4" then change in frequency is "negative medium".

Rule 9: if pressure is "very high" and frequency is "F4" then change in frequency is "negative medium".

D. Programming
You are required to write a Java Application that implements a fuzzy controller which will perform fuzzification for the pressure and frequency measurements of each input set given in Table 1, fire the fuzzy rules, and then perform defuzzification to obtain a final value for the change in frequency, δF.

You can use the following class descriptions as a guideline for your design.

1. FuzzyMember class
This should store:
start point, endpoint, membership type.
This should have a fuzzy member method which takes an input and converts it to fuzzified (normalised) value. You need appropriate membership functions such as leftTriangle, rightTriangle and Triangle as required.
You should also modify the toString() method to display output properly.

2. FuzzyVariable class
This class stores the fuzzy sets corresponding to a particular type of input or output. For example, if you have three different fuzzy members F1, F2, and F3 related to frequency, then a FuzzyVariable frequency will store all the three members. You can use an ArrayList of FuzzyMembers.

3. FuzzyRule class
This class stores the variables required to construct a rule and these include: Linguistic variables for input and output
Fuzzified output and defuzzified outcome, if multiple rules are not fired at the same time.

4. Controller class
This class creates the objects of pressure, frequency, and change in frequency δF using the FuzzyVariable and FuzzyMember classes. This also creates the RuleSet, an ArrayList of FuzzyRule and stores the given rules.

5. ControllerTest class
This class is for testing your controller using the inputs given by fuzzifying the inputs, firing the rules, and then defuzzifying the outcome. The firing of rules involves applying the min operator for implementing ‘and'. The intersection method in the FuzzyMember class can be used.
The output generated by firing the rule gives the ‘y' axis value. The defuzzification is required to convert that to the x-axis value which is the required output. Please refer to Figure 1 which shows the representation of δF with a fuzzified out and actual output.

E. Source Code
You will write and submit source code in java for the implementation of the application. As you can see many of the classes and methods can be coded following the generic pattern given in examples in Weeks 9 and 10.
You can build your application using the TextPad Editor, NetBeans, or any other suitable IDE for software development.
Example output of the fuzzy controller for some of the inputs given for testing is as given below. (the output formatting can be more user friendly).
FuzzyRule{pressure(7.000)=Low:0.444 frequency(2.300)=F2: 1.000
fuzzified outcome= 0.444, deltaF =positive medium, 0.156}
FuzzyRule{pressure(14.000)=optimum:1.000 frequency(3.500)=F3: 1.000
fuzzified outcome= 1.000, deltaF =zero, 0.000}
FuzzyRule{pressure(11.000) = Low: 0.667 frequency(5.400) = F4: 1.000 fuzzified outcome=0.667,deltaF =positive medium, 0.133},
FuzzyRule{pressure(21.000) = High: 0.875 frequency(4.400) = F4:
1.000 fuzzified outcome=0.875,deltaF=negative Medium,-0.088}
FuzzyRule{pressure(31.000)=very High: 0.900 frequency(5.700) = F4:
1.000 fuzzified outcome= 0.900,deltaF =negative Medium,-0.090},
FuzzyRule{pressure(45.000)=very High: 1.000 frequency(5.800) = F4:
fuzzified outcome= 1.000,deltaF=negative Medium, -0.100}

Report
As part of the assessment you should submit a report that contains the UML class diagrams for the classes and diagrams representing fuzzy membership functions for the variables (Pressure, and Frequency) based on the given specifications. Your report should also contain an explanation of the intersection (Min), Union (Max), and defuzzification operations of the fuzzy sets.

Attachment:- Computational Intelligence.rar

Reference no: EM132655022

Questions Cloud

What was the overhead rate per machine hour : The company uses machine hours to attach overhead to each terminal. If overhead amounted to $10,000,000 in 2013, what was the overhead rate per machine hour?
Predict the deepwater horizon disaster : BP had a group-wide corporate system to evaluate risk, introduced by Hayward. Why did this not predict the Deepwater Horizon disaster?
Identify the rights you would allow them to exercise : Prisoners have sometimes been described as having suffered civil death once imprisoned. This means they have lost almost all their civil rights as prisoners.
Complete cash disbursement budget and cash budget : Using the Excel template, complete the sales budget, cash receipt budget, purchase budget, cash disbursement budget and cash budget.
COIT20277 Introduction to Artificial Intelligence Assignment : COIT20277 Introduction to Artificial Intelligence Assignment Help and Solution, Central Queensland University - Assessment Writing Service
What is the basis for gaining and keeping power at valve : What is the basis for gaining and keeping power at Valve versus a bureaucratic organization? Specifically, explain how one gets and keeps power
Determine what is the value of the total conversion cost : Determine What is the value of the total cost of production? Show your work. What is the value of the total conversion cost? Show your work
Discuss the elements of voluntary manslaughter : Discuss the elements of Voluntary Manslaughter and the concept of adequate provocation. Provide an example or scenario which demonstrates the incorporation.
What is meant by outsourcing the hit functions : What is meant by outsourcing the HIT functions and what are its advantages and disadvantages?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd