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

  Define impact of educational and drug prevention programs

Research Paper on Impact of Educational and Drug Prevention Programs, Community Policing, Specific Deterrence and Rehabilitation on Future of Justice Programs

  What are your independent and dependent variables

What are your independent and dependent variables? How do you operationally define your independent and dependent variables?

  Analyze genetic heritability

Discuss some of the advantages and disadvantages in using twins to analyze genetic heritability. Why might it be useful for future twin studies to separate out monozygotic (identical) from dizygotic (fraternal) twins

  Are sexual predators genetically programmed

Are Sexual Predators Genetically Programmed? The following hypothetical is based on an actual case and court proceeding although some of the details have been.

  Discuss why communicating the good news is helpful

Most change involves good news and bad news. Can you offer the class some reasons why communicating the good news is helpful

  Have you incorporated the information related to technology

Have you incorporated the information related to technology, corrections, and any theories or policies related to the issue you are researching?

  Dicuss your personal definition of nursing

Which philosophy/conceptual framework/theory/middle-range theory describes nursing in the way you think about it?

  KIT203 ICT Professional Practices and Project Management

KIT203 ICT Professional Practices and Project Management Assignment Help and Solution - University of Tasmania, Australia - Assessment Writing Service

  Freedom and Equality - Is there equality without freedom

Discussion Question - Freedom and Equality - Is there equality without freedom? Does true freedom exist? Respond INDIVIDUALLY AND INDEPENDENTLY to the questions

  MAR023-6 Thriving in a Competitive Global Context Assignment

MAR023-6 Thriving in a Competitive Global Context Assignment Help and Solution, Majan University College - Assessment Writing Service

  Proposed projects and the expected benefits

What do we call the comparison of costs of a proposed projects and the expected benefits from the same project?

  How does this impact the strategic management

Compare and contrast approval/payment from the Patient Protection and Affordable Care Act (PPACA), commercial insurance, and the traditional Medicare program (not a Medicare health maintenance organization [HMO]) available to these types of facili..

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