1#Code automatically generated with fuzzylite 6.0.
2
3[System]
4Name='SimpleDimmerChained'
5Type='mamdani'
6Version=6.0
7NumInputs=1
8NumOutputs=2
9NumRules=6
10AndMethod='min'
11OrMethod='max'
12ImpMethod='min'
13AggMethod='max'
14DefuzzMethod='centroid'
15
16[Input1]
17Name='Ambient'
18Range=[0.000 1.000]
19NumMFs=3
20MF1='DARK':'trimf',[0.000 0.250 0.500]
21MF2='MEDIUM':'trimf',[0.250 0.500 0.750]
22MF3='BRIGHT':'trimf',[0.500 0.750 1.000]
23
24[Output1]
25Name='Power'
26Range=[0.000 1.000]
27NumMFs=3
28MF1='LOW':'trimf',[0.000 0.250 0.500]
29MF2='MEDIUM':'trimf',[0.250 0.500 0.750]
30MF3='HIGH':'trimf',[0.500 0.750 1.000]
31
32[Output2]
33Name='InversePower'
34Range=[0.000 1.000]
35NumMFs=3
36MF1='LOW':'cosinemf',[0.200 0.500]
37MF2='MEDIUM':'cosinemf',[0.500 0.500]
38MF3='HIGH':'cosinemf',[0.800 0.500]
39
40[Rules]
411.000 , 3.000 0.000 (1.000) : 1
422.000 , 2.000 0.000 (1.000) : 1
433.000 , 1.000 0.000 (1.000) : 1
440.000 , 0.000 3.000 (1.000) : 1
450.000 , 0.000 2.000 (1.000) : 1
460.000 , 0.000 1.000 (1.000) : 1
47