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

2 ビュー (過去 30 日間)
Abdulrahman Odhah
Abdulrahman Odhah 2021 年 9 月 9 日
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?

回答 (0 件)

カテゴリ

Help Center および File ExchangeFuzzy Logic Toolbox についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by