PDA

View Full Version : Overhead window heat logic



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

Trevor Hale
05-30-2008, 08:09 PM
This is great stuff.

I can only tell you that you truly are an incredible person for taking the time to do this for all of us to benefit.

Thanks for your Help, I don't know if you think people appreciate it, however I know that this is something I will add to my PMsystems file.

Thanks again.

You Rock!

Michael Carter
05-30-2008, 09:56 PM
I wish my brain was wired like his.

Thanks for posting that for the PM guys.

James Twomey
06-01-2008, 12:07 AM
That below is just awsome.... Thank you very much. I cant wait to get this put into my logic files.

Tony
06-01-2008, 11:24 AM
Hi Achilles,

I'm using PMSys 110 with native Phidgets and tried out your window heat logic with following result :

When above 30 degrees Overheat (amber) goes on.
Amber does not go off (in hardware) after 3 minutes closing the window heat switch.
Amber goes off when in flight but does not come on again once landed irrespective of window heat switch position.
In fact the window heat green light stays on all the time irrespective of window heat switch position.

Can you elaborate on this system ?

Kind regards
Tony

AchillesP
06-01-2008, 12:31 PM
Quote:
Originally Posted by Tony
Hi Achilles,

I'm using PMSys 110 with native Phidgets and tried out your window heat logic with following result :

When above 30 degrees Overheat (amber) goes on .
Amber does not go off (in hardware) after 3 minutes closing the window heat switch.
Amber goes off when in flight but does not come on again once landed irrespective of window heat switch position.
In fact the window heat green light stays on all the time irrespective of window heat switch position.

Can you elaborate on this system ?

Kind regards
Tony
Hi Tony,

Do you use the default pmsys737.lgc from version 110?
Did you disable from default pmsys737.lgc the below lines?
//Make all those lines unable using // like 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]
//sixpackantiice = (fspitot = 0) or (testheat=0)

Tony
06-01-2008, 12:45 PM
Hi Achilles,

Yes I did use the default file.
I did not UNABLE


//sixpackantiice = (fspitot = 0) or (testheat=0)

but added the 4 windowoverhead pos to that line as per your logic.

Would be interested to hear abt other simmers experiences.

kind regards

AchillesP
06-01-2008, 12:54 PM
Hi Achilles,

Yes I did use the default file.
I did not UNABLE


//sixpackantiice = (fspitot = 0) or (testheat=0)

but added the 4 windowoverhead pos to that line as per your logic.

Would be interested to hear abt other simmers experiences.

kind regards

Hi Tony,

Check pmsystems to see if software lights aggre with hardware lights.

If not then there is a problem with phidgets config.
If yes there is a conflig someware in your lines.

Let me know

Achilles

AchillesP
07-11-2008, 08:53 AM
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