[System]
Name='sisdas_rizal'
Type='mamdani'
Version=2.0
NumInputs=2
NumOutputs=1
NumRules=9
AndMethod='min'
OrMethod='max'
ImpMethod='min'
AggMethod='max'
DefuzzMethod='centroid'

[Input1]
Name='gas_input'
Range=[0 1000]
NumMFs=3
MF1='no_leak':'trapmf',[0 0 100 300]
MF2='bocor_sedang':'trimf',[100 300 800]
MF3='bocor_tinggi':'trapmf',[300 800 1000 1000]

[Input2]
Name='temperature_input'
Range=[20 30]
NumMFs=3
MF1='dingin':'trapmf',[20 20 22.5 25]
MF2='hangat':'trimf',[22.5 25 27.5]
MF3='panas':'trapmf',[25 27.5 30.42 33.75]

[Output1]
Name='pwm_fan_ouput'
Range=[0 255]
NumMFs=3
MF1='putaran_rendah':'trapmf',[0 0 55 127.5]
MF2='putaran_sedang':'trimf',[90 127.5 170]
MF3='putaran_cepat':'trapmf',[127.5 200 255 255]

[Rules]
1 1, 1 (1) : 1
1 2, 2 (1) : 1
1 3, 3 (1) : 1
2 1, 2 (1) : 1
2 2, 2 (1) : 1
2 3, 3 (1) : 1
3 1, 3 (1) : 1
3 2, 3 (1) : 1
3 3, 3 (1) : 1
