Fuzzy logic rule operator (is any) in air quality monitor and decision making algorithm

2 views (last 30 days)
Hello there,
I am doing a fuzzy logic decision-making algorithm based on set of parameters
Input parameters:
- Temperature [freezing, cold, cool, comfortable, warm, hot, sweltering] cases = 7
- Humidity [too_dry, average, too_moist] cases =3
- Air quality index [good, fair, moderate, poor, very_poor] cases = 5
I have the crisp and fuzzy sets for each input parameter.
Output parameters:
- AC
- Heater
- Humidifier
- Window
one of the fuzzy logic conditiosn sets is as follows:
////////////////////////////////////////
Conditions set B:
IF in_aq (is good) & out_aq (is not good) /* window is closed*/
& in _temp (is warm/hot/sweltering) & out _temp (is any)
& in_humidity (is any) & out_humidity (is any)
THEN ac ON ELSE OFF
//////////////////////////////////////////////
The first line of the conditions set is easy to implement using the not operator, but where (is any) implied it means the condition will be listed as 3x4x4x3 =144 times.
is there any way to implemt the (is any) in different method to avoid the duplication?

Answers (0)

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!