$               This information is provided by the
$                       Aptronix FuzzyNet
$                 http://www.aptronix.com/fuzzynet 
$                  email fuzzynet@aptronix.com 
$               Aptronix may also be reached by phone
$                       at 408-261-1898 or
$                       FAX at 408-490-2729
$
$
$ FILENAME:	temp/temp3.fil
$ DATE: 	09/18/1992
$ UPDATE:	09/23/1992

$ Temperature Controller : Three inputs, two outputs
$ 	INPUT(S):	Error, Var(iationOf)_Error, Pressure
$ 	OUTPUT(S):	Var(iationOf)_Heater, Var(iationOf)_Cooling(Valve)

$ FIU HEADER

fiu tvfi (min max) *8;

$ DEFINITION OF INPUT VARIABLE(S)

invar Error " " : -1.0 () 1.0 [
	P_Large     (@0.6,  0,  @1.0,  1),
	P_Medium    (@0.3,  0,  @0.6,  1,  @1.0,  0),
	P_Small     (@0.0,  0,  @0.3,  1,  @0.6,  0),
	Zero        (@-0.3, 0,  @0.0,  1,  @0.3,  0),
	N_Small     (@-0.6, 0,  @-0.3, 1,  @0.0,  0),
	N_Medium    (@-1.0, 0,  @-0.6, 1,  @-0.3, 0),
	N_Large     (@-1.0, 1,  @-0.6, 0)
	]; 

invar Var_Error " " : -1.0 () 1.0 [
	P_Large     (@0.6,  0,  @1.0,  1),
	P_Medium    (@0.3,  0,  @0.6,  1,  @1.0,  0),
	P_Small     (@0.0,  0,  @0.3,  1,  @0.6,  0),
	Zero        (@-0.3, 0,  @0.0,  1,  @0.3,  0),
	N_Small     (@-0.6, 0,  @-0.3, 1,  @0.0,  0),
	N_Medium    (@-1.0, 0,  @-0.6, 1,  @-0.3, 0),
	N_Large     (@-1.0, 1,  @-0.6, 0)
	]; 

invar Pressure " " : 0.0 () 1.0 [
	Large	(@0.5, 0, @1.0, 1),
	Medium	(@0.0, 0, @0.5, 1, @1.0, 0),
	Small	(@0.0, 1, @0.5, 0)
	];

$ DEFINITION OF OUTPUT VARIABLE(S)

outvar Var_Heater " " : -1.0 () 1.0 * (
	P_Large      = 0.8,      
	P_Medium     = 0.4,
	P_Small      = 0.2,
	Zero         = 0.0,
	N_Small      = -0.2,
	N_Medium     = -0.4,
	N_Large      = -0.8
    );

outvar Var_Cooling " " : -1.0 () 1.0 * (
	P_Large      = 0.8,      
	P_Medium     = 0.4,
	P_Small      = 0.2,
	Zero         = 0.0,
	N_Small      = -0.2,
	N_Medium     = -0.4,
	N_Large      = -0.8
    );


$ RULES

if Error is P_Large and Var_Error is N_Large   	and Pressure is Large	then Var_Heater  is Zero;
if Error is P_Large and Var_Error is N_Large	and Pressure is Large	then Var_Cooling is N_Small;
if Error is P_Large and Var_Error is N_Medium	and Pressure is Large	then Var_Heater  is P_Small;
if Error is P_Large and Var_Error is N_Medium	and Pressure is Large	then Var_Cooling is N_Medium;
if Error is P_Large and Var_Error is N_Small	and Pressure is Large	then Var_Heater  is P_Medium;
if Error is P_Large and Var_Error is N_Small	and Pressure is Large	then Var_Cooling is N_Large;

if Error is P_Large and Var_Error is N_Large   	and Pressure is Medium	then Var_Heater  is P_Small;
if Error is P_Large and Var_Error is N_Large	and Pressure is Medium	then Var_Cooling is N_Small;
if Error is P_Large and Var_Error is N_Medium	and Pressure is Medium	then Var_Heater  is P_Medium;
if Error is P_Large and Var_Error is N_Medium	and Pressure is Medium	then Var_Cooling is N_Medium;
if Error is P_Large and Var_Error is N_Small	and Pressure is Medium	then Var_Heater  is P_Large;
if Error is P_Large and Var_Error is N_Small	and Pressure is Medium	then Var_Cooling is N_Large;

if Error is P_Large and Var_Error is N_Large   	and Pressure is Small	then Var_Heater  is P_Medium;
if Error is P_Large and Var_Error is N_Large	and Pressure is Small	then Var_Cooling is N_Small;
if Error is P_Large and Var_Error is N_Medium	and Pressure is Small	then Var_Heater  is P_Large;
if Error is P_Large and Var_Error is N_Medium	and Pressure is Small	then Var_Cooling is N_Medium;
if Error is P_Large and Var_Error is N_Small	and Pressure is Small	then Var_Heater  is P_Large;
if Error is P_Large and Var_Error is N_Small	and Pressure is Small	then Var_Cooling is N_Large;


if Error is P_Medium and Var_Error is N_Large   and Pressure is Large	then Var_Heater  is N_Small;
if Error is P_Medium and Var_Error is N_Large	and Pressure is Large	then Var_Cooling is Zero;
if Error is P_Medium and Var_Error is N_Medium	and Pressure is Large	then Var_Heater  is Zero;
if Error is P_Medium and Var_Error is N_Medium	and Pressure is Large	then Var_Cooling is Zero;
if Error is P_Medium and Var_Error is N_Small	and Pressure is Large	then Var_Heater  is P_Small;
if Error is P_Medium and Var_Error is N_Small	and Pressure is Large	then Var_Cooling is N_Medium;

if Error is P_Medium and Var_Error is N_Large   and Pressure is Medium	then Var_Heater  is Zero;
if Error is P_Medium and Var_Error is N_Large	and Pressure is Medium	then Var_Cooling is Zero;
if Error is P_Medium and Var_Error is N_Medium	and Pressure is Medium	then Var_Heater  is P_Small;
if Error is P_Medium and Var_Error is N_Medium	and Pressure is Medium	then Var_Cooling is Zero;
if Error is P_Medium and Var_Error is N_Small	and Pressure is Medium	then Var_Heater  is P_Medium;
if Error is P_Medium and Var_Error is N_Small	and Pressure is Medium	then Var_Cooling is N_Medium;

if Error is P_Medium and Var_Error is N_Large   and Pressure is Small	then Var_Heater  is P_Small;
if Error is P_Medium and Var_Error is N_Large	and Pressure is Small	then Var_Cooling is Zero;
if Error is P_Medium and Var_Error is N_Medium	and Pressure is Small	then Var_Heater  is P_Medium;
if Error is P_Medium and Var_Error is N_Medium	and Pressure is Small	then Var_Cooling is Zero;
if Error is P_Medium and Var_Error is N_Small	and Pressure is Small	then Var_Heater  is P_Large;
if Error is P_Medium and Var_Error is N_Small	and Pressure is Small	then Var_Cooling is N_Medium;


if Error is P_Small and Var_Error is N_Large   	and Pressure is Large	then Var_Heater  is N_Medium;
if Error is P_Small and Var_Error is N_Large	and Pressure is Large	then Var_Cooling is Zero;
if Error is P_Small and Var_Error is N_Medium	and Pressure is Large	then Var_Heater  is N_Medium;
if Error is P_Small and Var_Error is N_Medium	and Pressure is Large	then Var_Cooling is Zero;
if Error is P_Small and Var_Error is N_Small	and Pressure is Large	then Var_Heater  is N_Small;
if Error is P_Small and Var_Error is N_Small	and Pressure is Large	then Var_Cooling is Zero;

if Error is P_Small and Var_Error is N_Large   	and Pressure is Medium	then Var_Heater  is N_Small;
if Error is P_Small and Var_Error is N_Large	and Pressure is Medium	then Var_Cooling is Zero;
if Error is P_Small and Var_Error is N_Medium	and Pressure is Medium	then Var_Heater  is N_Small;
if Error is P_Small and Var_Error is N_Medium	and Pressure is Medium	then Var_Cooling is Zero;
if Error is P_Small and Var_Error is N_Small	and Pressure is Medium	then Var_Heater  is Zero;
if Error is P_Small and Var_Error is N_Small	and Pressure is Medium	then Var_Cooling is Zero;

if Error is P_Small and Var_Error is N_Large   	and Pressure is Small	then Var_Heater  is Zero;
if Error is P_Small and Var_Error is N_Large	and Pressure is Small	then Var_Cooling is Zero;
if Error is P_Small and Var_Error is N_Medium	and Pressure is Small	then Var_Heater  is Zero;
if Error is P_Small and Var_Error is N_Medium	and Pressure is Small	then Var_Cooling is Zero;
if Error is P_Small and Var_Error is N_Small	and Pressure is Small	then Var_Heater  is P_Small;
if Error is P_Small and Var_Error is N_Small	and Pressure is Small	then Var_Cooling is Zero;


if Error is Zero and Var_Error is N_Large   	and Pressure is Large	then Var_Heater  is N_Large;
if Error is Zero and Var_Error is N_Large	and Pressure is Large	then Var_Cooling is P_Medium;
if Error is Zero and Var_Error is N_Medium	and Pressure is Large	then Var_Heater  is N_Medium;
if Error is Zero and Var_Error is N_Medium	and Pressure is Large	then Var_Cooling is P_Small;
if Error is Zero and Var_Error is N_Small	and Pressure is Large	then Var_Heater  is N_Medium;
if Error is Zero and Var_Error is N_Small	and Pressure is Large	then Var_Cooling is Zero;

if Error is Zero and Var_Error is N_Large   	and Pressure is Medium	then Var_Heater  is N_Medium;
if Error is Zero and Var_Error is N_Large	and Pressure is Medium	then Var_Cooling is P_Medium;
if Error is Zero and Var_Error is N_Medium	and Pressure is Medium	then Var_Heater  is N_Small;
if Error is Zero and Var_Error is N_Medium	and Pressure is Medium	then Var_Cooling is P_Small;
if Error is Zero and Var_Error is N_Small	and Pressure is Medium	then Var_Heater  is N_Small;
if Error is Zero and Var_Error is N_Small	and Pressure is Medium	then Var_Cooling is Zero;

if Error is Zero and Var_Error is N_Large   	and Pressure is Small	then Var_Heater  is N_Small;
if Error is Zero and Var_Error is N_Large	and Pressure is Small	then Var_Cooling is P_Medium;
if Error is Zero and Var_Error is N_Medium	and Pressure is Small	then Var_Heater  is Zero;
if Error is Zero and Var_Error is N_Medium	and Pressure is Small	then Var_Cooling is P_Small;
if Error is Zero and Var_Error is N_Small	and Pressure is Small	then Var_Heater  is Zero;
if Error is Zero and Var_Error is N_Small	and Pressure is Small	then Var_Cooling is Zero;


if Error is N_Small and Var_Error is N_Large   	and Pressure is Large	then Var_Heater  is N_Large;
if Error is N_Small and Var_Error is N_Large	and Pressure is Large	then Var_Cooling is P_Large;
if Error is N_Small and Var_Error is N_Medium	and Pressure is Large 	then Var_Heater  is N_Medium;
if Error is N_Small and Var_Error is N_Medium	and Pressure is Large 	then Var_Cooling is P_Medium;
if Error is N_Small and Var_Error is N_Small	and Pressure is Large 	then Var_Heater  is N_Small;
if Error is N_Small and Var_Error is N_Small	and Pressure is Large 	then Var_Cooling is P_Medium;

if Error is N_Small and Var_Error is N_Large   	and Pressure is Medium	then Var_Heater  is N_Large;
if Error is N_Small and Var_Error is N_Large	and Pressure is Medium	then Var_Cooling is P_Medium;
if Error is N_Small and Var_Error is N_Medium	and Pressure is Medium 	then Var_Heater  is N_Medium;
if Error is N_Small and Var_Error is N_Medium	and Pressure is Medium 	then Var_Cooling is P_Small;
if Error is N_Small and Var_Error is N_Small	and Pressure is Medium 	then Var_Heater  is N_Small;
if Error is N_Small and Var_Error is N_Small	and Pressure is Medium 	then Var_Cooling is P_Small;

if Error is N_Small and Var_Error is N_Large   	and Pressure is Small	then Var_Heater  is N_Medium;
if Error is N_Small and Var_Error is N_Large	and Pressure is Small	then Var_Cooling is P_Medium;
if Error is N_Small and Var_Error is N_Medium	and Pressure is Small 	then Var_Heater  is N_Small;
if Error is N_Small and Var_Error is N_Medium	and Pressure is Small 	then Var_Cooling is P_Small;
if Error is N_Small and Var_Error is N_Small	and Pressure is Small 	then Var_Heater  is Zero;
if Error is N_Small and Var_Error is N_Small	and Pressure is Small 	then Var_Cooling is P_Small;


if Error is N_Medium and Var_Error is N_Large   and Pressure is Large 	then Var_Heater  is N_Large;
if Error is N_Medium and Var_Error is N_Large	and Pressure is Large 	then Var_Cooling is P_Large;
if Error is N_Medium and Var_Error is N_Medium	and Pressure is Large 	then Var_Heater  is N_Large;
if Error is N_Medium and Var_Error is N_Medium	and Pressure is Large 	then Var_Cooling is P_Large;
if Error is N_Medium and Var_Error is N_Small	and Pressure is Large 	then Var_Heater  is N_Large;
if Error is N_Medium and Var_Error is N_Small	and Pressure is Large 	then Var_Cooling is P_Medium;

if Error is N_Medium and Var_Error is N_Large   and Pressure is Medium 	then Var_Heater  is N_Large;
if Error is N_Medium and Var_Error is N_Large	and Pressure is Medium 	then Var_Cooling is P_Large;
if Error is N_Medium and Var_Error is N_Medium	and Pressure is Medium 	then Var_Heater  is N_Large;
if Error is N_Medium and Var_Error is N_Medium	and Pressure is Medium 	then Var_Cooling is P_Medium;
if Error is N_Medium and Var_Error is N_Small	and Pressure is Medium 	then Var_Heater  is N_Medium;
if Error is N_Medium and Var_Error is N_Small	and Pressure is Medium 	then Var_Cooling is P_Medium;

if Error is N_Medium and Var_Error is N_Large   and Pressure is Small 	then Var_Heater  is N_Medium;
if Error is N_Medium and Var_Error is N_Large	and Pressure is Small 	then Var_Cooling is P_Large;
if Error is N_Medium and Var_Error is N_Medium	and Pressure is Small 	then Var_Heater  is N_Medium;
if Error is N_Medium and Var_Error is N_Medium	and Pressure is Small 	then Var_Cooling is P_Medium;
if Error is N_Medium and Var_Error is N_Small	and Pressure is Small 	then Var_Heater  is N_Small;
if Error is N_Medium and Var_Error is N_Small	and Pressure is Small 	then Var_Cooling is P_Medium;


if Error is N_Large and Var_Error is N_Large   	and Pressure is Large 	then Var_Heater  is N_Large;
if Error is N_Large and Var_Error is N_Large	and Pressure is Large 	then Var_Cooling is P_Large;
if Error is N_Large and Var_Error is N_Medium	and Pressure is Large 	then Var_Heater  is N_Large;
if Error is N_Large and Var_Error is N_Medium	and Pressure is Large 	then Var_Cooling is P_Large;
if Error is N_Large and Var_Error is N_Small	and Pressure is Large 	then Var_Heater  is N_Large;
if Error is N_Large and Var_Error is N_Small	and Pressure is Large 	then Var_Cooling is P_Large;

if Error is N_Large and Var_Error is N_Large   	and Pressure is Medium 	then Var_Heater  is N_Large;
if Error is N_Large and Var_Error is N_Large	and Pressure is Medium 	then Var_Cooling is P_Large;
if Error is N_Large and Var_Error is N_Medium	and Pressure is Medium 	then Var_Heater  is N_Large;
if Error is N_Large and Var_Error is N_Medium	and Pressure is Medium 	then Var_Cooling is P_Large;
if Error is N_Large and Var_Error is N_Small	and Pressure is Medium 	then Var_Heater  is N_Large;
if Error is N_Large and Var_Error is N_Small	and Pressure is Medium 	then Var_Cooling is P_Large;

if Error is N_Large and Var_Error is N_Large   	and Pressure is Small 	then Var_Heater  is N_Medium;
if Error is N_Large and Var_Error is N_Large	and Pressure is Small 	then Var_Cooling is P_Large;
if Error is N_Large and Var_Error is N_Medium	and Pressure is Small 	then Var_Heater  is N_Medium;
if Error is N_Large and Var_Error is N_Medium	and Pressure is Small 	then Var_Cooling is P_Large;
if Error is N_Large and Var_Error is N_Small	and Pressure is Small 	then Var_Heater  is N_Medium;
if Error is N_Large and Var_Error is N_Small	and Pressure is Small 	then Var_Cooling is P_Large;


if Error is N_Large and Var_Error is P_Large   	and Pressure is Large 	then Var_Heater  is N_Medium;
if Error is N_Large and Var_Error is P_Large	and Pressure is Large 	then Var_Cooling is P_Small;
if Error is N_Large and Var_Error is P_Medium	and Pressure is Large 	then Var_Heater  is N_Large;
if Error is N_Large and Var_Error is P_Medium	and Pressure is Large 	then Var_Cooling is P_Medium;
if Error is N_Large and Var_Error is P_Small	and Pressure is Large 	then Var_Heater  is N_Large;
if Error is N_Large and Var_Error is P_Small	and Pressure is Large 	then Var_Cooling is P_Large;

if Error is N_Large and Var_Error is P_Large   	and Pressure is Medium 	then Var_Heater  is N_Small;
if Error is N_Large and Var_Error is P_Large	and Pressure is Medium 	then Var_Cooling is P_Small;
if Error is N_Large and Var_Error is P_Medium	and Pressure is Medium 	then Var_Heater  is N_Medium;
if Error is N_Large and Var_Error is P_Medium	and Pressure is Medium 	then Var_Cooling is P_Medium;
if Error is N_Large and Var_Error is P_Small	and Pressure is Medium 	then Var_Heater  is N_Large;
if Error is N_Large and Var_Error is P_Small	and Pressure is Medium 	then Var_Cooling is P_Large;

if Error is N_Large and Var_Error is P_Large   	and Pressure is Small 	then Var_Heater  is Zero;
if Error is N_Large and Var_Error is P_Large	and Pressure is Small 	then Var_Cooling is P_Small;
if Error is N_Large and Var_Error is P_Medium	and Pressure is Small 	then Var_Heater  is N_Small;
if Error is N_Large and Var_Error is P_Medium	and Pressure is Small 	then Var_Cooling is P_Medium;
if Error is N_Large and Var_Error is P_Small	and Pressure is Small 	then Var_Heater  is N_Medium;
if Error is N_Large and Var_Error is P_Small	and Pressure is Small 	then Var_Cooling is P_Large;


if Error is N_Medium and Var_Error is P_Large   and Pressure is Large 	then Var_Heater  is N_Medium;
if Error is N_Medium and Var_Error is P_Large	and Pressure is Large 	then Var_Cooling is Zero;
if Error is N_Medium and Var_Error is P_Medium	and Pressure is Large 	then Var_Heater  is N_Large;
if Error is N_Medium and Var_Error is P_Medium	and Pressure is Large 	then Var_Cooling is Zero;
if Error is N_Medium and Var_Error is P_Small	and Pressure is Large 	then Var_Heater  is N_Large;
if Error is N_Medium and Var_Error is P_Small	and Pressure is Large 	then Var_Cooling is P_Small;

if Error is N_Medium and Var_Error is P_Large   and Pressure is Medium 	then Var_Heater  is N_Small;
if Error is N_Medium and Var_Error is P_Large	and Pressure is Medium 	then Var_Cooling is Zero;
if Error is N_Medium and Var_Error is P_Medium	and Pressure is Medium 	then Var_Heater  is N_Medium;
if Error is N_Medium and Var_Error is P_Medium	and Pressure is Medium 	then Var_Cooling is Zero;
if Error is N_Medium and Var_Error is P_Small	and Pressure is Medium 	then Var_Heater  is N_Medium;
if Error is N_Medium and Var_Error is P_Small	and Pressure is Medium 	then Var_Cooling is P_Small;

if Error is N_Medium and Var_Error is P_Large   and Pressure is Small 	then Var_Heater  is Zero;
if Error is N_Medium and Var_Error is P_Large	and Pressure is Small 	then Var_Cooling is Zero;
if Error is N_Medium and Var_Error is P_Medium	and Pressure is Small 	then Var_Heater  is N_Small;
if Error is N_Medium and Var_Error is P_Medium	and Pressure is Small 	then Var_Cooling is Zero;
if Error is N_Medium and Var_Error is P_Small	and Pressure is Small 	then Var_Heater  is N_Small;
if Error is N_Medium and Var_Error is P_Small	and Pressure is Small 	then Var_Cooling is P_Small;


if Error is N_Small and Var_Error is P_Large   	and Pressure is Large 	then Var_Heater  is Zero;
if Error is N_Small and Var_Error is P_Large	and Pressure is Large 	then Var_Cooling is Zero;
if Error is N_Small and Var_Error is P_Medium	and Pressure is Large 	then Var_Heater  is N_Small;
if Error is N_Small and Var_Error is P_Medium	and Pressure is Large 	then Var_Cooling is Zero;
if Error is N_Small and Var_Error is P_Small	and Pressure is Large 	then Var_Heater  is N_Medium;
if Error is N_Small and Var_Error is P_Small	and Pressure is Large 	then Var_Cooling is Zero;

if Error is N_Small and Var_Error is P_Large   	and Pressure is Medium 	then Var_Heater  is P_Small;
if Error is N_Small and Var_Error is P_Large	and Pressure is Medium 	then Var_Cooling is Zero;
if Error is N_Small and Var_Error is P_Medium	and Pressure is Medium 	then Var_Heater  is Zero;
if Error is N_Small and Var_Error is P_Medium	and Pressure is Medium 	then Var_Cooling is Zero;
if Error is N_Small and Var_Error is P_Small	and Pressure is Medium 	then Var_Heater  is N_Small;
if Error is N_Small and Var_Error is P_Small	and Pressure is Medium 	then Var_Cooling is Zero;

if Error is N_Small and Var_Error is P_Large   	and Pressure is Small 	then Var_Heater  is P_Medium;
if Error is N_Small and Var_Error is P_Large	and Pressure is Small 	then Var_Cooling is Zero;
if Error is N_Small and Var_Error is P_Medium	and Pressure is Small 	then Var_Heater  is P_Small;
if Error is N_Small and Var_Error is P_Medium	and Pressure is Small 	then Var_Cooling is Zero;
if Error is N_Small and Var_Error is P_Small	and Pressure is Small 	then Var_Heater  is Zero;
if Error is N_Small and Var_Error is P_Small	and Pressure is Small 	then Var_Cooling is Zero;


if Error is Zero and Var_Error is P_Large   	and Pressure is Large 	then Var_Heater  is P_Medium;
if Error is Zero and Var_Error is P_Large	and Pressure is Large 	then Var_Cooling is N_Small;
if Error is Zero and Var_Error is P_Medium	and Pressure is Large 	then Var_Heater  is P_Small;
if Error is Zero and Var_Error is P_Medium	and Pressure is Large 	then Var_Cooling is N_Small;
if Error is Zero and Var_Error is P_Small	and Pressure is Large 	then Var_Heater  is Zero;
if Error is Zero and Var_Error is P_Small	and Pressure is Large 	then Var_Cooling is N_Small;

if Error is Zero and Var_Error is P_Large   	and Pressure is Medium 	then Var_Heater  is P_Large;
if Error is Zero and Var_Error is P_Large	and Pressure is Medium 	then Var_Cooling is N_Small;
if Error is Zero and Var_Error is P_Medium	and Pressure is Medium 	then Var_Heater  is P_Medium;
if Error is Zero and Var_Error is P_Medium	and Pressure is Medium 	then Var_Cooling is N_Small;
if Error is Zero and Var_Error is P_Small	and Pressure is Medium 	then Var_Heater  is P_Small;
if Error is Zero and Var_Error is P_Small	and Pressure is Medium 	then Var_Cooling is N_Small;

if Error is Zero and Var_Error is P_Large   	and Pressure is Small 	then Var_Heater  is P_Large;
if Error is Zero and Var_Error is P_Large	and Pressure is Small 	then Var_Cooling is N_Medium;
if Error is Zero and Var_Error is P_Medium	and Pressure is Small 	then Var_Heater  is P_Large;
if Error is Zero and Var_Error is P_Medium	and Pressure is Small 	then Var_Cooling is N_Small;
if Error is Zero and Var_Error is P_Small	and Pressure is Small 	then Var_Heater  is P_Medium;
if Error is Zero and Var_Error is P_Small	and Pressure is Small 	then Var_Cooling is N_Small;


if Error is P_Small and Var_Error is P_Large   	and Pressure is Large 	then Var_Heater  is P_Medium;
if Error is P_Small and Var_Error is P_Large	and Pressure is Large 	then Var_Cooling is N_Medium;
if Error is P_Small and Var_Error is P_Medium	and Pressure is Large 	then Var_Heater  is P_Small;
if Error is P_Small and Var_Error is P_Medium	and Pressure is Large 	then Var_Cooling is N_Medium;
if Error is P_Small and Var_Error is P_Small	and Pressure is Large 	then Var_Heater  is P_Small;
if Error is P_Small and Var_Error is P_Small	and Pressure is Large 	then Var_Cooling is N_Small;

if Error is P_Small and Var_Error is P_Large   	and Pressure is Medium 	then Var_Heater  is P_Large;
if Error is P_Small and Var_Error is P_Large	and Pressure is Medium 	then Var_Cooling is N_Medium;
if Error is P_Small and Var_Error is P_Medium	and Pressure is Medium 	then Var_Heater  is P_Medium;
if Error is P_Small and Var_Error is P_Medium	and Pressure is Medium 	then Var_Cooling is N_Medium;
if Error is P_Small and Var_Error is P_Small	and Pressure is Medium 	then Var_Heater  is P_Medium;
if Error is P_Small and Var_Error is P_Small	and Pressure is Medium 	then Var_Cooling is N_Small;

if Error is P_Small and Var_Error is P_Large   	and Pressure is Small 	then Var_Heater  is P_Large;
if Error is P_Small and Var_Error is P_Large	and Pressure is Small 	then Var_Cooling is N_Large;
if Error is P_Small and Var_Error is P_Medium	and Pressure is Small 	then Var_Heater  is P_Large;
if Error is P_Small and Var_Error is P_Medium	and Pressure is Small 	then Var_Cooling is N_Medium;
if Error is P_Small and Var_Error is P_Small	and Pressure is Small 	then Var_Heater  is P_Large;
if Error is P_Small and Var_Error is P_Small	and Pressure is Small 	then Var_Cooling is N_Small;


if Error is P_Medium and Var_Error is P_Large   and Pressure is Large 	then Var_Heater  is P_Medium;
if Error is P_Medium and Var_Error is P_Large	and Pressure is Large 	then Var_Cooling is N_Large;
if Error is P_Medium and Var_Error is P_Medium	and Pressure is Large 	then Var_Heater  is P_Medium;
if Error is P_Medium and Var_Error is P_Medium	and Pressure is Large 	then Var_Cooling is N_Medium;
if Error is P_Medium and Var_Error is P_Small	and Pressure is Large 	then Var_Heater  is P_Small;
if Error is P_Medium and Var_Error is P_Small	and Pressure is Large 	then Var_Cooling is N_Medium;

if Error is P_Medium and Var_Error is P_Large   and Pressure is Medium 	then Var_Heater  is P_Large;
if Error is P_Medium and Var_Error is P_Large	and Pressure is Medium 	then Var_Cooling is N_Large;
if Error is P_Medium and Var_Error is P_Medium	and Pressure is Medium 	then Var_Heater  is P_Large;
if Error is P_Medium and Var_Error is P_Medium	and Pressure is Medium 	then Var_Cooling is N_Medium;
if Error is P_Medium and Var_Error is P_Small	and Pressure is Medium 	then Var_Heater  is P_Medium;
if Error is P_Medium and Var_Error is P_Small	and Pressure is Medium 	then Var_Cooling is N_Medium;

if Error is P_Medium and Var_Error is P_Large   and Pressure is Small 	then Var_Heater  is P_Large;
if Error is P_Medium and Var_Error is P_Large	and Pressure is Small 	then Var_Cooling is N_Large;
if Error is P_Medium and Var_Error is P_Medium	and Pressure is Small 	then Var_Heater  is P_Large;
if Error is P_Medium and Var_Error is P_Medium	and Pressure is Small 	then Var_Cooling is N_Large;
if Error is P_Medium and Var_Error is P_Small	and Pressure is Small 	then Var_Heater  is P_Large;
if Error is P_Medium and Var_Error is P_Small	and Pressure is Small 	then Var_Cooling is N_Medium;


if Error is P_Large and Var_Error is P_Large   	and Pressure is Large 	then Var_Heater  is P_Medium;
if Error is P_Large and Var_Error is P_Large	and Pressure is Large 	then Var_Cooling is N_Large;
if Error is P_Large and Var_Error is P_Medium	and Pressure is Large 	then Var_Heater  is P_Medium;
if Error is P_Large and Var_Error is P_Medium	and Pressure is Large 	then Var_Cooling is N_Large;
if Error is P_Large and Var_Error is P_Small	and Pressure is Large 	then Var_Heater  is P_Medium;
if Error is P_Large and Var_Error is P_Small	and Pressure is Large 	then Var_Cooling is N_Large;

if Error is P_Large and Var_Error is P_Large   	and Pressure is Medium 	then Var_Heater  is P_Large;
if Error is P_Large and Var_Error is P_Large	and Pressure is Medium 	then Var_Cooling is N_Large;
if Error is P_Large and Var_Error is P_Medium	and Pressure is Medium 	then Var_Heater  is P_Large;
if Error is P_Large and Var_Error is P_Medium	and Pressure is Medium 	then Var_Cooling is N_Large;
if Error is P_Large and Var_Error is P_Small	and Pressure is Medium 	then Var_Heater  is P_Large;
if Error is P_Large and Var_Error is P_Small	and Pressure is Medium 	then Var_Cooling is N_Large;

if Error is P_Large and Var_Error is P_Large   	and Pressure is Small 	then Var_Heater  is P_Large;
if Error is P_Large and Var_Error is P_Large	and Pressure is Small 	then Var_Cooling is N_Large;
if Error is P_Large and Var_Error is P_Medium	and Pressure is Small 	then Var_Heater  is P_Large;
if Error is P_Large and Var_Error is P_Medium	and Pressure is Small 	then Var_Cooling is N_Large;
if Error is P_Large and Var_Error is P_Small	and Pressure is Small 	then Var_Heater  is P_Large;
if Error is P_Large and Var_Error is P_Small	and Pressure is Small 	then Var_Cooling is N_Large

end