AchillesP
05-30-2008, 06:15 PM
Hello Simmers,
Actually I have finished the logic of window heat. Here it is.
Open the default pmsys737.lgc and find those lines below.
WindowHeatSLOn = (WindowHeatSL or (Testheat = 2)) and transbus1
WindowHeatSROn = (WindowHeatSR or (Testheat = 2)) and transbus1
WindowHeatFLOn = (WindowHeatFL or (Testheat = 2)) and transbus2
WindowHeatFROn = (WindowHeatFR or (Testheat = 2)) and transbus2
WindowOverHeatSL = (testheat = 0) [.2]
WindowOverHeatFL = (testheat = 0) [.2]
WindowOverHeatSR = (testheat = 0) [.2]
WindowOverHeatFR = (testheat = 0) [.2]
Make all those lines unable using // like below
//WindowOverHeatSL = (testheat = 0) [.2]
Insert my below logic
//WINDOW HEAT (Start)
WindowHeatSLC1 = WindowHeatSL [150]
WindowHeatFLC1 = WindowHeatFL [120]
WindowHeatFRC1 = WindowHeatFR [120]
WindowHeatSRC1 = WindowHeatSR [150]
WindowHeatSLOnC1 = ((DayTime = 1) and (fsTAT > 32) and (fsRainType = 0))
WindowHeatFLOnC1 = ((DayTime = 1) and (fsTAT > 30) and (fsRainType = 0))
WindowHeatFROnC1 = ((DayTime = 1) and (fsTAT > 30) and (fsRainType = 0))
WindowHeatSROnC1 = ((DayTime = 1) and (fsTAT > 32) and (fsRainType = 0))
WindowOverHeatSL = ((testheat = 0) [.2]) or ((DayTime = 1) and (fsTAT > 32) and (fsRainType = 0) and (WindowHeatSLC1))
WindowOverHeatFL = ((testheat = 0) [.2]) or ((DayTime = 1) and (fsTAT > 30) and (fsRainType = 0) and (WindowHeatFLC1))
WindowOverHeatFR = ((testheat = 0) [.2]) or ((DayTime = 1) and (fsTAT > 30) and (fsRainType = 0) and (WindowHeatFRC1))
WindowOverHeatSR = ((testheat = 0) [.2]) or ((DayTime = 1) and (fsTAT > 32) and (fsRainType = 0) and (WindowHeatSRC1))
WindowHeatSLOn = ((WindowHeatSL or (Testheat = 2)) and transbus1) or (WindowHeatSLOnC1))
WindowHeatFLOn = ((WindowHeatFL or (Testheat = 2)) and transbus2) or (WindowHeatFLOnC1))
WindowHeatFROn = ((WindowHeatFR or (Testheat = 2)) and transbus2) or (WindowHeatFROnC1))
WindowHeatSROn = ((WindowHeatSR or (Testheat = 2)) and transbus1) or (WindowHeatSROnC1))
//WINDOW HEAT (End)
Find the line sixpackantiice = (fspitot = 0) or (testheat=0) and make it as below
sixpackantiice = (fspitot = 0) or (testheat=0) or WindowOverHeatSL or WindowOverHeatFL or WindowOverHeatFR or WindowOverHeatSR
And a short description what this does.
If it is summer and it is day and there is no rain and the tat is more than 30 Celcius, the on indicators comes on. If you open the switch an overheat will come. The overheat goes off after 3 minutes if you close the switch or if the tat is below 30 celcius (Means taxi with hi speed or in the air)
Hope you enjoy.
Achilles
Actually I have finished the logic of window heat. Here it is.
Open the default pmsys737.lgc and find those lines below.
WindowHeatSLOn = (WindowHeatSL or (Testheat = 2)) and transbus1
WindowHeatSROn = (WindowHeatSR or (Testheat = 2)) and transbus1
WindowHeatFLOn = (WindowHeatFL or (Testheat = 2)) and transbus2
WindowHeatFROn = (WindowHeatFR or (Testheat = 2)) and transbus2
WindowOverHeatSL = (testheat = 0) [.2]
WindowOverHeatFL = (testheat = 0) [.2]
WindowOverHeatSR = (testheat = 0) [.2]
WindowOverHeatFR = (testheat = 0) [.2]
Make all those lines unable using // like below
//WindowOverHeatSL = (testheat = 0) [.2]
Insert my below logic
//WINDOW HEAT (Start)
WindowHeatSLC1 = WindowHeatSL [150]
WindowHeatFLC1 = WindowHeatFL [120]
WindowHeatFRC1 = WindowHeatFR [120]
WindowHeatSRC1 = WindowHeatSR [150]
WindowHeatSLOnC1 = ((DayTime = 1) and (fsTAT > 32) and (fsRainType = 0))
WindowHeatFLOnC1 = ((DayTime = 1) and (fsTAT > 30) and (fsRainType = 0))
WindowHeatFROnC1 = ((DayTime = 1) and (fsTAT > 30) and (fsRainType = 0))
WindowHeatSROnC1 = ((DayTime = 1) and (fsTAT > 32) and (fsRainType = 0))
WindowOverHeatSL = ((testheat = 0) [.2]) or ((DayTime = 1) and (fsTAT > 32) and (fsRainType = 0) and (WindowHeatSLC1))
WindowOverHeatFL = ((testheat = 0) [.2]) or ((DayTime = 1) and (fsTAT > 30) and (fsRainType = 0) and (WindowHeatFLC1))
WindowOverHeatFR = ((testheat = 0) [.2]) or ((DayTime = 1) and (fsTAT > 30) and (fsRainType = 0) and (WindowHeatFRC1))
WindowOverHeatSR = ((testheat = 0) [.2]) or ((DayTime = 1) and (fsTAT > 32) and (fsRainType = 0) and (WindowHeatSRC1))
WindowHeatSLOn = ((WindowHeatSL or (Testheat = 2)) and transbus1) or (WindowHeatSLOnC1))
WindowHeatFLOn = ((WindowHeatFL or (Testheat = 2)) and transbus2) or (WindowHeatFLOnC1))
WindowHeatFROn = ((WindowHeatFR or (Testheat = 2)) and transbus2) or (WindowHeatFROnC1))
WindowHeatSROn = ((WindowHeatSR or (Testheat = 2)) and transbus1) or (WindowHeatSROnC1))
//WINDOW HEAT (End)
Find the line sixpackantiice = (fspitot = 0) or (testheat=0) and make it as below
sixpackantiice = (fspitot = 0) or (testheat=0) or WindowOverHeatSL or WindowOverHeatFL or WindowOverHeatFR or WindowOverHeatSR
And a short description what this does.
If it is summer and it is day and there is no rain and the tat is more than 30 Celcius, the on indicators comes on. If you open the switch an overheat will come. The overheat goes off after 3 minutes if you close the switch or if the tat is below 30 celcius (Means taxi with hi speed or in the air)
Hope you enjoy.
Achilles