Bac 1-11 APU problem

Classic British Flight Sim forum.
Support for Maltby/Piper FS models & other Classic British freeware.

Moderators: The Ministry, Guru's

DaveB
The Ministry
Posts: 30457
Joined: 17 Jun 2004, 20:46
Location: Pelsall, West Mids, UK
Contact:

Re: Bac 1-11 APU problem (UNSOLVED)

Post by DaveB » 22 Oct 2012, 20:59

Look at it this way mate.. it shouldn't stop you using the 1-11 in FSX. How many FSX models have working APU's? *-) ;)

ATB
DaveB B)smk
ImageImage
Old sailors never die.. they just smell that way!

Rich
VC10
VC10
Posts: 538
Joined: 26 Jun 2004, 23:12
Location: Philippines

Re: Bac 1-11 APU problem (UNSOLVED)

Post by Rich » 23 Oct 2012, 02:09

Has the title of this post been changed ???

:doh: :doh: *-) *-) :-# :-#
Rich

Garry Russell
The Ministry
Posts: 27180
Joined: 29 Jan 2005, 01:53
Location: On the other side of the wall

Re: Bac 1-11 APU problem (UNSOLVED)

Post by Garry Russell » 23 Oct 2012, 07:33

Yes, the title has been changed....very unhelpful and rather rude to those trying to help

PG...........if you play with the cab you are likely to cause problems.

As I said it is often do do with code compiled into the model too, because of this combination it is not user editable

I also said earlier if you want it to be fully functioning as it is intended then use FS9

Please, just accept that when you use a model IN THE WRONG SIM...things are not going to be perfect

As DaveB says, many models don't have a working APU, is it really that much of an issue???

You have a highly detailed set of models for free, you have support for free....not a bad deal ;)
Garry

Image

"In the world of virtual reality things are not always what they seem."

PilotGuy815
Chipmunk
Chipmunk
Posts: 18
Joined: 15 Oct 2012, 23:10

Re: Bac 1-11 APU problem (UNSOLVED)

Post by PilotGuy815 » 26 Oct 2012, 14:26

The only reason I changed the title was so that people would know ahead of time that there is no solution and not browse through every page to find that out.

I'm sorry if I seemed rude again.

Garry Russell
The Ministry
Posts: 27180
Joined: 29 Jan 2005, 01:53
Location: On the other side of the wall

Re: Bac 1-11 APU problem (UNSOLVED)

Post by Garry Russell » 26 Oct 2012, 17:18

Well intentioned maybe ;)

David Maltby has not even replied yet it can take a while to get the problem answered and this has not been long enough yet for him to do so as he has other things in life.

So if there is a way forward then he will have the answer

Stopping folk wading through a thread from the beginning that is not very long is a not good thing to do so no need to try and prevent them

If they are interested they will wade through anyway

If you have a question, by all means post we will be glad to help, but let it roll :thumbsup:
Garry

Image

"In the world of virtual reality things are not always what they seem."

PilotGuy815
Chipmunk
Chipmunk
Posts: 18
Joined: 15 Oct 2012, 23:10

Re: Bac 1-11 APU problem (UNSOLVED)

Post by PilotGuy815 » 26 Oct 2012, 19:48

I will change the title back. I own FSDS, and if I had the source file and knew advanced systems programming a little better, I'll bet I could fix it. Oh, and there are very few FSX aircraft with APU's. The only other one that I have on my sim is the tu154.

Thank you for all the help and services, and I will be back next time I have something to complain about :lol: .

Garry Russell
The Ministry
Posts: 27180
Joined: 29 Jan 2005, 01:53
Location: On the other side of the wall

Re: Bac 1-11 APU problem (UNSOLVED)

Post by Garry Russell » 26 Oct 2012, 22:42

We'll look forward to that :lol: :lol: :lol:
Garry

Image

"In the world of virtual reality things are not always what they seem."

MALTBY D
The Gurus
Posts: 1491
Joined: 18 Jun 2004, 19:40
Contact:

Re: Bac 1-11 APU problem

Post by MALTBY D » 29 Oct 2012, 21:56

Am I too late? ;)

Finally got round to checking the last unreleased 1-11 in FSX. APU & both engines started, so I hope this code will work for you.
I was working on some FSX fixes ages ago, but it all got a bit depressing (working with FSX that is) and I never completed it.
This is the full xml code from two gauges APU_STARTER.xml and PROCESSING.xml. All the engine start stuff is in these gauges.

APU_STARTER.xml

Code: Select all

<Gauge Name="Starter APU" Version="1.0">
   <Element>
      <Select>
         <Value>(L:DM STARTER 3,number) if{ (A:Circuit general panel on, bool) (A:Eng3 N2 RPM, percent) 22 < && if{ (A:GENERAL ENG3 STARTER,bool) 0 == if{ 0 (>K:TOGGLE_STARTER3) } 0 (>K:THROTTLE3_CUT) } els{ (L:DM STARTER 3,number) -- (>L:DM STARTER 3,number) 0 (>K:MIXTURE3_INCR) } } (L:DM STARTER 3,number) 0 != (A:General eng3 starter, bool) ||</Value>
         <Case Value="1">
            <Image Name="APU_STARTER_ON.bmp" ImageSizes="36,35"/>
         </Case>
         <Case Value="0">
            <Image Name="APU_STARTER_OFF.bmp" ImageSizes="36,35"/>
         </Case>
      </Select>
   </Element>
   <Mouse>
         <Cursor Type="Hand"/>
         <Tooltip>Push to Start</Tooltip>
         <Click>(A:GENERAL ENG3 FUEL VALVE,bool) 1 == if{ 5 (>L:DM STARTER 3,number) 0 (>K:MIXTURE3_LEAN) (A:GENERAL ENG3 FUEL VALVE, bool) 0 == if{ 0 (>K:TOGGLE_FUEL_VALVE_ENG3) } }</Click>
   </Mouse>
</Gauge>
PROCESSING.xml

Code: Select all

<Gauge Name="Processing" Version="1.0">

//-----------------------------------------------AUTOPILOT-----------------------
//------------------- INITIALIZE NAV MODE TO 'MAN' IF NAV MODE UNKNOWN ----------------------
   <Element>
      <Select>
         <Value>(L:AP Var1,number) 1 < if{ 2 (>L:AP Var1,number) 0 (>K:AP_HDG_HOLD_OFF) 0 (>K:AP_APR_HOLD_OFF) 0 (>K:AP_LOC_HOLD_OFF) 0 (>L:AP ALT HOLD,number) (A:AUTOPILOT MASTER,bool) if{ 1 (>K:AP_ALT_HOLD_ON) 0 (>K:AP_ALT_VAR_SET_ENGLISH) (A:Vertical speed,feet per minute) (>K:AP_VS_VAR_SET_ENGLISH) } }</Value>
      </Select>
   </Element>
//------------------- FORCE ONLY 'MAN' MODE IF BACK COURSE ON ----------------------
   <Element>
      <Select>
         <Value>(L:DM BACK COURSE,number) 10 % if{ 2 (>L:AP Var1,number) 0 (>K:AP_HDG_HOLD_OFF) 0 (>K:AP_APR_HOLD_OFF) 0 (>K:AP_LOC_HOLD_OFF) 0 (>L:AP ALT HOLD,number) }</Value>
      </Select>
   </Element>
//------------------- TURN OFF NAV VARIABLES, IAS, MACH WHEN AUTOPILOT OFF ----------------------
   <Element>
      <Select>
         <Value>(A:AUTOPILOT MASTER,bool) ! if{ 0 (>L:AP ALT HOLD,number) (L:AP Var1,number) 10 < if{ (L:AP Var1,number) 10 + (>L:AP Var1,number) } }</Value>
      </Select>
   </Element>
//------------------- TURN ON NAV VARIABLES WHEN AUTOPILOT ON ----------------------
   <Element>
      <Select>
         <Value>(L:AP Var1,number) 10 / flr 1 == (A:AUTOPILOT MASTER,bool) && if{ (L:AP Var1,number) 10 - (>L:AP Var1,number) }</Value>
      </Select>
   </Element>
//------------------- TURN OFF ALT HOLD BUTTON WHEN GS ENGAGED ----------------------
   <Element>
      <Select>
         <Value>(A:AUTOPILOT MASTER,bool) d (A:AUTOPILOT GLIDESLOPE HOLD,bool) 1 == r && d (A:AUTOPILOT ALTITUDE LOCK,bool) 0 == r && if{ 0 (>L:AP ALT HOLD,number) }</Value>
      </Select>
   </Element>
//--------------------- MAN TURN - ADJUST TURN RIGHT IF BANK IS GREATER THAN SET VALUE -------------
   <Element>
    <Select>
      <Value>(L:AP Var1,number) 2 == d (A:Attitude indicator bank degrees,degrees) (L:AP MAN TURN 2,number) > r && if{ (A:Attitude indicator bank degrees,degrees) (L:AP MAN TURN 2,number) - abs 6 min -500 * d 400 (A:AIRSPEED INDICATED,knots) / r * (>K:AXIS_AILERONS_SET) }</Value>
    </Select>
   </Element>
//--------------------- MAN TURN - ADJUST TURN LEFT IF BANK IS LESS THAN SET VALUE ------------------
   <Element>
    <Select>
      <Value>(L:AP Var1,number) 2 == d (A:Attitude indicator bank degrees,degrees) (L:AP MAN TURN 2,number) < r && if{ (L:AP MAN TURN 2,number) (A:Attitude indicator bank degrees,degrees) - abs 6 min 500 * d 400 (A:AIRSPEED INDICATED,knots) / r * (>K:AXIS_AILERONS_SET) }</Value>
    </Select>
   </Element>
//------------------ MAN PITCH - Initialize ----------
//-- AP CURRENT SPEED: Current IAS / MACH
//-- AP CURRENT VS:    Current VS
//-- AP PITCH CONTROL: 0=OFF, 1=Thumb wheel control, 2=IAS pitch control, 3=MACH pitch control
//-- AP TIMER:       2=Timer Fired
//-- Var5:             Mach hold number
//----------------------------------------------------
   <Element>
    <Select>
      <Value>0 (>L:AP PITCH CONTROL,number)
(L:AP ALT HOLD,number) 1 == if{ 1 (>L:AP PITCH CONTROL,number) (A:Vertical speed,feet per minute) (>L:AP CURRENT VS,number) }</Value>
    </Select>
   </Element>

//-----------------------------------------------FUEL SYSTEM------------
   <Element>
      <Select>
         <Value>
(L:DM FUEL INIT,number) 1 == if{

(* -- Default to Centre tank -- *)
6 (>G:Var1) 6 (>G:Var2) 0 (>G:Var3)

(* -- Move to Left/Right tanks if centre tank source is empty -- *)
(A:FUEL TANK CENTER LEVEL, percent) 1.01 < if{ 2 (>G:Var1) 3 (>G:Var2) 1 (>G:Var3) }

(* -- Crossfeed Off -- *)
(L:DM FUEL CROSSFEED,number) 0 == if{
 (L:DM FUEL VALVE 1,number) 0 == if{ 2 (>G:Var1) }
 (L:DM FUEL VALVE 2,number) 0 == if{ 3 (>G:Var2) }
 (L:DM FUEL PUMP FWD 1,number) (L:DM FUEL PUMP 1,number) + 0 == if{ 0 (>G:Var1) }
 (L:DM FUEL PUMP FWD 2,number) (L:DM FUEL PUMP 2,number) + 0 == if{ 0 (>G:Var2) }
}

(* -- Crossfeed On -- *)
(L:DM FUEL CROSSFEED,number) 1 == if{
 (* -- Centre empty -- *)
 (G:Var3) 1 == if{ 1 (>G:Var1) 1 (>G:Var2) }
 (* -- Both valves off -- *)
 (L:DM FUEL VALVE 1,number) (L:DM FUEL VALVE 2,number) + 0 == if{ 1 (>G:Var1) 1 (>G:Var2) }
 (* -- Left Pumps off -- *)
 (L:DM FUEL PUMP FWD 1,number) (L:DM FUEL PUMP 1,number) + 0 == if{
  6 (>G:Var1) 6 (>G:Var2)
  (G:Var3) 1 == if{ 3 (>G:Var1) 3 (>G:Var2) }
  (L:DM FUEL VALVE 2,number) 0 == if{ 3 (>G:Var1) 3 (>G:Var2) }
 }
 (* -- Right Pumps off -- *)
 (L:DM FUEL PUMP FWD 2,number) (L:DM FUEL PUMP 2,number) + 0 == if{
  6 (>G:Var1) 6 (>G:Var2)
  (G:Var3) 1 == if{ 2 (>G:Var1) 2 (>G:Var2) }
  (L:DM FUEL VALVE 1,number) 0 == if{ 2 (>G:Var1) 2 (>G:Var2) }
 }
}

(* -- All Fuel pumps Off -- *)
(L:DM FUEL PUMP FWD 1,number) (L:DM FUEL PUMP 1,number) + (L:DM FUEL PUMP FWD 2,number) + (L:DM FUEL PUMP 2,number) + 0 == if{ 0 (>G:Var1) 0 (>G:Var2) }

(G:Var1) 0 == if{ 1 (>K:FUEL_SELECTOR_OFF) }
(G:Var2) 0 == if{ 1 (>K:FUEL_SELECTOR_2_OFF) }
(G:Var1) 1 == if{ 1 (>K:FUEL_SELECTOR_ALL) }
(G:Var2) 1 == if{ 1 (>K:FUEL_SELECTOR_2_ALL) }
(G:Var1) 2 == if{ 1 (>K:FUEL_SELECTOR_LEFT) }
(G:Var2) 2 == if{ 1 (>K:FUEL_SELECTOR_2_LEFT) }
(G:Var1) 3 == if{ 1 (>K:FUEL_SELECTOR_RIGHT) }
(G:Var2) 3 == if{ 1 (>K:FUEL_SELECTOR_2_RIGHT) }
(G:Var1) 6 == if{ 1 (>K:FUEL_SELECTOR_CENTER) 1 (>K:FUEL_SELECTOR_3_CENTER) } els{ 1 (>K:FUEL_SELECTOR_3_LEFT) }
(G:Var2) 6 == if{ 1 (>K:FUEL_SELECTOR_2_CENTER) }

}</Value>
      </Select>
   </Element>

//--------------------------------------HYDRAULICS---------------
   <Element>
      <Select>
         <Value>
0 (>G:Var1) (L:HYD AUX1,number) 1 == if{ 1 (>G:Var1) } els{ (L:HYD ENG1,number) 1 == (A:Turb eng1 N2, percent) 40 > && if{ 1 (>G:Var1) } }
0 (>G:Var2) (L:HYD AUX2,number) 1 == if{ 1 (>G:Var2) } els{ (L:HYD ENG2,number) 1 == (A:Turb eng2 N2, percent) 40 > && if{ 1 (>G:Var2) } }
</Value>
      </Select>
   </Element>
//------------------
   <Element>
      <Select>
         <Value>0 (>G:Var3) (L:HYD DC,number) 1 == if{ 1 (>G:Var3) (G:Var1) (G:Var2) + (L:HYD FAIL FLAP SHAFT,number) + 0 == if{ 1 (>L:HYD FAIL FLAP SHAFT, number) (A:TRAILING EDGE FLAPS0 LEFT ANGLE, degree) (>L:HYD FAIL Flaps Position,number) } }</Value>
      </Select>
   </Element>
//-------------------
   <Element>
      <Select>
         <Value>(G:Var1) (G:Var2) + (G:Var3) + 0 == if{ (L:HYD FAIL,number) 1 != if{ 1 (>L:HYD FAIL,number) (A:Elevator Trim Position,degrees) (>L:HYD FAIL Trim Position,number) } 0 (>L:HYD FAIL FLAP SHAFT, number) }</Value>
      </Select>
   </Element>
//------------------------------
   <Element>
      <Select>
         <Value>(G:Var1) (G:Var2) + (G:Var3) + 0 > if{ (L:HYD FAIL,number) 2 != if{ 2 (>L:HYD FAIL,number) } (G:Var1) (G:Var2) + 0 > if{ 0 (>L:HYD FAIL FLAP SHAFT, number) } }</Value>
      </Select>
   </Element>
//-----------------HYDRAULIC FAILURE-------------
   <Element>
      <Select>
         <Value>(G:Var1) 0 == if{
 (A:Gear left position,percent) 0 > (A:Gear left position,percent) 100 < && if{ 0 (>K:GEAR_DOWN) }
 (G:Var2) 0 == if{
  (L:HYD FAIL Trim Position,number) -2047.88 * (>K:AXIS_ELEV_TRIM_SET)
  (L:HYD DC,number) 0 == if{ (L:HYD FAIL Flaps Position,number) 400 * (>K:FLAPS_SET) }
  0 (>K:SPOILERS_OFF)
  }
 }
(L:HYD FAIL FLAP SHAFT, number) 1 == if{ (A:TRAILING EDGE FLAPS0 LEFT ANGLE, degree) (L:HYD FAIL Flaps Position,number) != if{ 2 (>L:HYD FAIL FLAP SHAFT, number) } }
</Value>
      </Select>
   </Element>
//-------------------
   <Element>
      <Select>
         <Value>(A:TRAILING EDGE FLAPS0 LEFT ANGLE, degree) (>L:HYD FAIL Flaps Position,number)</Value>
      </Select>
   </Element>

//------------------------------------------STICK PUSHER---------------
   <Element>
      <Select>
         <Value>(L:STALL WARNING TIME, number) 3 > (L:STICK PUSHER OFF,number) 1 != && if{ 1 (>L:STICK PUSHER TIME,number) }</Value>
      </Select>
   </Element>
//--------------
   <Element>
      <Select>
         <Value>(L:STICK PUSHER TIME,number) 0 > if{ 10000 (>K:AXIS_ELEVATOR_SET) }</Value>
      </Select>
   </Element>

//------------------------------------------MASTER WARNING-----------
   <Element>
      <Select>
         <Value>
0 (>G:Var1)
(A:HYDRAULIC SYSTEM INTEGRITY, percent) 10 < if{ (G:Var1) 1 + (>G:Var1) }

(A:STALL WARNING, bool) if{ (G:Var1) 2 + (>G:Var1) }

(A:OVERSPEED WARNING, bool) if{ (G:Var1) 4 + (>G:Var1) }

(L:DM TOP TEMP, number) 0 == if{
   (L:DM EGT1,number) 595 > if{ (G:Var1) 8 + (>G:Var1) }
   (L:DM EGT2,number) 595 > if{ (G:Var1) 16 + (>G:Var1) }
   }

(A:Ambient temperature, celsius) -5 < if{ (A:General eng1 anti ice position,bool) (A:General eng2 anti ice position,bool) + (A:STRUCTURAL DEICE SWITCH,bool) + 3 != if{ (G:Var1) 32 + (>G:Var1) } }

(A:ENG ON FIRE:1, bool) (A:ENG ON FIRE:2, bool) + (A:ENG ON FIRE:3, bool) + 0 > if{ (G:Var1) 64 + (>G:Var1) }

(A:GENERAL ENG1 FUEL VALVE,bool) (A:GENERAL ENG2 FUEL VALVE,bool) + 0 == if{ (G:Var1) 128 + (>G:Var1) }

(A:GENERAL ENG GENERATOR ACTIVE:1,bool) (A:GENERAL ENG GENERATOR ACTIVE:1,bool) + 0 == if{ (G:Var1) 256 + (>G:Var1) }

(A:GENERAL ENG OIL PRESSURE:1, psi) (A:GENERAL ENG OIL PRESSURE:2, psi) + 10 < if{ (G:Var1) 512 + (>G:Var1) }

(G:Var1) (>L:MASTER WARN,number)
         </Value>
      </Select>
   </Element>

//-------------------------------------------WATER INJECTION---------
//--------REFILL IF ON GROUND-----
   <Element>
      <Select>
         <Value>
(L:WATER INJECTION LEVEL,number) 110 < d (A:GROUND VELOCITY, knot) 1 < r && if{ 120 (>L:WATER INJECTION LEVEL,number) }
         </Value>
      </Select>
   </Element>
//---------TURN OFF WHEN EMPTY----
   <Element>
      <Select>
         <Value>
(L:WATER INJECTION LEVEL,number) 0 == d (L:WATER INJECTION,number) 10 == r && if{ 9 (>L:WATER INJECTION,number) }
         </Value>
      </Select>
   </Element>
//----------ALTER TEMP WHEN ENGINE HIGH REVS-----
   <Element>
      <Select>
         <Value>
(A:Turb eng1 N2, percent) 92 > if{ (A:GENERAL ENG1 EXHAUST GAS TEMPERATURE,celsius) (L:WATER INJECTION,number) - (>L:DM EGT1,number) } els{ (A:GENERAL ENG1 EXHAUST GAS TEMPERATURE,celsius) (>L:DM EGT1,number) }
(A:Turb eng2 N2, percent) 92 > if{ (A:GENERAL ENG2 EXHAUST GAS TEMPERATURE,celsius) (L:WATER INJECTION,number) - (>L:DM EGT2,number) } els{ (A:GENERAL ENG2 EXHAUST GAS TEMPERATURE,celsius) (>L:DM EGT2,number) }
         </Value>
      </Select>
   </Element>

//------------------------------------------------AIRSPEED-----------------
//------------A component------------
   <Element>
      <Select>
         <Value>(A:AIRSPEED INDICATED,knots) (A:AIRSPEED INDICATED,knots) * 0.00096 * (>L:DM_AIRSPEED_A,number)</Value>
      </Select>
   </Element>
//------------B component------------
   <Element>
      <Select>
         <Value>(A:AIRSPEED INDICATED,knots) -1.3 * (>L:DM_AIRSPEED_B,number)</Value>
      </Select>
   </Element>
//------------A+B+C component------------
   <Element>
      <Select>
         <Value>(L:DM_AIRSPEED_A,number) (L:DM_AIRSPEED_B,number) + 366.4 + (>L:DM_AIRSPEED_ABC,number)</Value>
      </Select>
   </Element>
//------------Mach difference component------------
   <Element>
      <Select>
         <Value>(A:Airspeed mach, mach) 0.6 - 400 * (L:DM_AIRSPEED_ABC,number) + (>L:DM_AIRSPEED_MACH,number)</Value>
      </Select>
   </Element>
//------------Min reset------------
   <Element>
      <Select>
         <Value>(A:Indicated Altitude,feet) 10000 < if{ 0 (>L:DM_AIRSPEED_MACH,number) }</Value>
      </Select>
   </Element>

//----------------------------------------------------THRUST INDEX----------
//------------------- INITIALIZE INDEX ----------------------
   <Element>
      <Select>
<Value>
(L:DM THRUST INDEX,number) 1 < if{
 1010 (A:AMBIENT PRESSURE,millibar) - s0 l0 10 / (>G:Var2)
 153 (G:Var2) + (>G:Var2)
 (A:AMBIENT PRESSURE,millibar) 50.5 / s1
 (A:AMBIENT PRESSURE,millibar) 840 - 86 / 3 + -1 * s2
 l0 l2 / l1 + flr (>G:Var3)
 (A:Ambient temperature, celsius) (G:Var3) - s0 l0 0 > if{ l2 -1.7 / l0 * s3 (G:Var2) l3 - (>G:Var2) }
 (G:Var2) 30 max (>L:DM THRUST INDEX,number)
 }
</Value>
      </Select>
   </Element>

//--------------------------------FUEL FLOW--------------------------
//---------- CURRENT READING OF FUEL LEVEL - USED IN FUEL FLOW AND TOTAL FUEL LEVEL-------
   <Element>
      <Select>
         <Value>(A:FUEL TANK CENTER QUANTITY, meter cubed) (A:FUEL LEFT QUANTITY, meter cubed) + (A:FUEL RIGHT QUANTITY, meter cubed) + (>L:DM FUEL CURRENT,number)</Value>
      </Select>
   </Element>

//------------Nose down Tail Trim stopper (-2.5 * -2048) -----------
   <Element>
      <Select>
         <Value>(A:Elevator Trim Position,degrees) -2.5 < if{ 5120 (>K:AXIS_ELEV_TRIM_SET) }</Value>
      </Select>
   </Element>

//-----------------CSD Generator Control----------------------------
   <Element>
      <Select>
<Value>
(L:DM CSD OFF 1,number) 1 == (L:DM CSD OFF 1,number) 11 == || if{ (A:GENERAL ENG GENERATOR ACTIVE:1,bool) if{ 0 (>K:TOGGLE_ALTERNATOR1) } }
(L:DM CSD OFF 2,number) 1 == (L:DM CSD OFF 2,number) 11 == || if{ (A:GENERAL ENG GENERATOR ACTIVE:2,bool) if{ 0 (>K:TOGGLE_ALTERNATOR2) } }
</Value>
      </Select>
   </Element>

//---------------Eng Starter---------------
   <Element>
      <Select>
<Value>
(L:DM STARTER MASTER,number) 3 == if{
    (L:DM STARTER 1,number) 0 > if{ (A:Circuit general panel on, bool) (A:Eng1 N2 RPM, percent) 22 < && if{ (A:GENERAL ENG1 STARTER,bool) 0 == if{ 0 (>K:TOGGLE_STARTER1) } 0 (>K:THROTTLE1_CUT) } els{ (L:DM STARTER 1,number) -- (>L:DM STARTER 1,number) 0 (>K:MIXTURE1_INCR) } }
    (L:DM STARTER 2,number) 0 > if{ (A:Circuit general panel on, bool) (A:Eng2 N2 RPM, percent) 22 < && if{ (A:GENERAL ENG2 STARTER,bool) 0 == if{ 0 (>K:TOGGLE_STARTER2) } 0 (>K:THROTTLE2_CUT) } els{ (L:DM STARTER 2,number) -- (>L:DM STARTER 2,number) 0 (>K:MIXTURE2_INCR) } }
}
(A:Eng1 N2 RPM, percent) 55 > if{ (A:GENERAL ENG1 STARTER,bool) 1 == if{ 0 (>K:TOGGLE_STARTER1) } (A:GENERAL ENG MIXTURE LEVER POSITION:1,percent) 0 > if{ 0 (>K:MIXTURE1_RICH) } }
(A:Eng2 N2 RPM, percent) 55 > if{ (A:GENERAL ENG2 STARTER,bool) 1 == if{ 0 (>K:TOGGLE_STARTER2) } (A:GENERAL ENG MIXTURE LEVER POSITION:2,percent) 0 > if{ 0 (>K:MIXTURE2_RICH) } }
</Value>
      </Select>
   </Element>
//---------------Eng Motor-----------------
   <Element>
      <Select>
<Value>
(L:DM STARTER MASTER,number) 2 == if{
   (L:DM STARTER 1,number) 0 > if{ (A:Circuit general panel on, bool) (A:Eng1 N2 RPM, percent) 21 < && if{ (A:GENERAL ENG1 STARTER,bool) 0 == if{ 0 (>K:TOGGLE_STARTER1) } 0 (>K:THROTTLE1_CUT) 0 (>K:MIXTURE1_LEAN) } els{ (L:DM STARTER 1,number) -- (>L:DM STARTER 1,number) } }
   (L:DM STARTER 2,number) 0 > if{ (A:Circuit general panel on, bool) (A:Eng2 N2 RPM, percent) 21 < && if{ (A:GENERAL ENG2 STARTER,bool) 0 == if{ 0 (>K:TOGGLE_STARTER2) } 0 (>K:THROTTLE2_CUT) 0 (>K:MIXTURE2_LEAN) } els{ (L:DM STARTER 2,number) -- (>L:DM STARTER 2,number) } }
}
</Value>
      </Select>
   </Element>
//---------------Eng Relight---------------
   <Element>
      <Select>
<Value>
(L:DM STARTER 1,number) -1 == if{ (A:General eng1 starter, bool) ! if{ 0 (>K:TOGGLE_STARTER1) } 0 (>K:MIXTURE1_RICH) }
(L:DM STARTER 2,number) -1 == if{ (A:General eng2 starter, bool) ! if{ 0 (>K:TOGGLE_STARTER2) } 0 (>K:MIXTURE2_RICH) }
</Value>
      </Select>
   </Element>

//--------Eng Top Temp--------------
   <Element>
      <Select>
      <Value>
(L:DM TOP TEMP, number) 1 == if{
   (L:DM EGT1,number) 580 > if{
      1010 (A:AMBIENT PRESSURE,millibar) - s0 l0 10 / (>G:Var2)
      153 (G:Var2) + (>G:Var2)
      (A:AMBIENT PRESSURE,millibar) 50.5 / s1
      (A:AMBIENT PRESSURE,millibar) 840 - 86 / 3 + -1 * s2
      l0 l2 / l1 + flr (>G:Var3)
      (A:Ambient temperature, celsius) (G:Var3) - s0 l0 0 > if{ l2 -1.7 / l0 * s3 (G:Var2) l3 - (>G:Var2) }
      (G:Var2) 30 max (>G:Var2)
      64 s6
      (L:WATER INJECTION,number) 9 > if{ 58 s6 }
      180 (G:Var2) - l6 * s4
      16383 l4 - 11500 max s5
      (L:WATER INJECTION,number) 0 > if{ l5 500 + s5 }
      (A:GENERAL ENG1 THROTTLE LEVER POSITION, part) 16383 * l5 > if{ l5 (>K:THROTTLE1_SET) }
      }
   (L:DM EGT2,number) 580 > if{
      1010 (A:AMBIENT PRESSURE,millibar) - s0 l0 10 / (>G:Var2)
      153 (G:Var2) + (>G:Var2)
      (A:AMBIENT PRESSURE,millibar) 50.5 / s1
      (A:AMBIENT PRESSURE,millibar) 840 - 86 / 3 + -1 * s2
      l0 l2 / l1 + flr (>G:Var3)
      (A:Ambient temperature, celsius) (G:Var3) - s0 l0 0 > if{ l2 -1.7 / l0 * s3 (G:Var2) l3 - (>G:Var2) }
      (G:Var2) 30 max (>G:Var2)
      64 s6
      (L:WATER INJECTION,number) 9 > if{ 58 s6 }
      180 (G:Var2) - l6 * s4
      16383 l4 - 11500 max s5
      (L:WATER INJECTION,number) 0 > if{ l5 500 + s5 }
      (A:GENERAL ENG2 THROTTLE LEVER POSITION, part) 16383 * l5 > if{ l5 (>K:THROTTLE2_SET) }
      }
   }
      </Value>
      </Select>
   </Element>

//--------Cabin Pressure--------------
   <Element>
      <Select>
      <Value>
(L:DM CABIN TIME, number) 0 > if{

(A:Indicated altitude, feet) (L:DM CABIN ALT CURRENT,number) - 3600 / (>L:DM CABIN DIFF,number)

(L:DM CABIN ALT REQD,number) (L:DM CABIN ALT ADJ,number) + (L:DM CABIN ALT CURRENT,number) - s0

0 s1

(L:DM SAFETY VALVE,number) 0 == if{
   l0 50 > if{ (L:DM CABIN ALT RATE,number) s1 }
   l0 -50 < if{ (L:DM CABIN ALT RATE,number) -1 * s1 }
   (L:DM CABIN DIFF,number) -0.48 < if{ 0 s1 }
   (L:DM CABIN DIFF,number) -0.5 < if{ (L:DM CABIN ALT RATE,number) -1 * s1 }
   (L:DM CABIN DIFF,number) -0.6 < if{ (A:Vertical speed,feet per minute) -2000 min s1 }
   (L:DM CABIN DIFF,number) 7.98 > if{ 0 s1 }
   (L:DM CABIN DIFF,number) 8 > if{ (L:DM CABIN ALT RATE,number) s1 }
   (L:DM CABIN DIFF,number) 8.3 > if{ (A:Vertical speed,feet per minute) 2000 max s1 }
   }

(L:DM SAFETY VALVE,number) 1 == if{
   (L:DM CABIN DIFF,number) -0.01 < if{ (L:DM CABIN ALT RATE,number) -1 * s1 }
   (L:DM CABIN DIFF,number) -0.6 < if{ (A:Vertical speed,feet per minute) -2000 min s1 }
   (L:DM CABIN DIFF,number) 0.01 > if{ (L:DM CABIN ALT RATE,number) s1 }
   (L:DM CABIN DIFF,number) 0.5 > if{ (A:Vertical speed,feet per minute) 2000 max s1 }
   }

l1 60 / (L:DM CABIN ALT CURRENT,number) + (>L:DM CABIN ALT CURRENT,number)

l1 (>L:DM CABIN VSI,number)
0 (>L:DM CABIN TIME, number)

}
      </Value>
      </Select>
   </Element>

//--------ADF INC or DEC--------------
   <Element>
      <Select>
      <Value>
(L:DM ADF1 TENTHS DEC,number) 0 > if{
   (L:DM ADF1 TENTHS DEC,number) 1 - (>L:DM ADF1 TENTHS DEC,number)
   (L:DM ADF1 CARRY,number) 1 == if{ (A:ADF1 ACTIVE FREQUENCY,KHz) 10 * 10 % flr 0 == if{ 0 (>K:ADF_1_DEC) } }
   0 (>K:ADF1_RADIO_TENTHS_DEC)
   }
(L:DM ADF1 TENTHS INC,number) 0 > if{
   (L:DM ADF1 TENTHS INC,number) 1 - (>L:DM ADF1 TENTHS INC,number)
   (L:DM ADF1 CARRY,number) 1 == if{ (A:ADF1 ACTIVE FREQUENCY,KHz) 10 * 10 % flr 9 == if{ 0 (>K:ADF_1_INC) } }
   0 (>K:ADF1_RADIO_TENTHS_INC)
   }
(L:DM ADF2 TENTHS DEC,number) 0 > if{
   (L:DM ADF2 TENTHS DEC,number) 1 - (>L:DM ADF2 TENTHS DEC,number)
   (L:DM ADF2 CARRY,number) 1 == if{ (A:Adf active frequency:2,Kilohertz) 10 * 10 % flr 0 == if{ 0 (>K:ADF2_1_DEC) } }
   0 (>K:ADF2_RADIO_TENTHS_DEC)
   }
(L:DM ADF2 TENTHS INC,number) 0 > if{
   (L:DM ADF2 TENTHS INC,number) 1 - (>L:DM ADF2 TENTHS INC,number)
   (L:DM ADF2 CARRY,number) 1 == if{ (A:Adf active frequency:2,Kilohertz) 10 * 10 % flr 9 == if{ 0 (>K:ADF2_1_INC) } }
   0 (>K:ADF2_RADIO_TENTHS_INC)
   }
      </Value>
      </Select>
   </Element>

//-----------------------------------------------START INIT-----------------
   <Element>
      <Select>
         <Value>(L:DM START INIT,number) 8 < if{

0 (>L:DM APU ON SWITCH,number)
0 (>L:DM APU ON,number)
(A:GENERAL ENG3 FUEL VALVE,bool) if{ 0 (>K:TOGGLE_FUEL_VALVE_ENG3) }
(A:GENERAL ENG GENERATOR SWITCH:3,bool) if{ 0 (>K:TOGGLE_ALTERNATOR3) }

(A:GENERAL ENG GENERATOR SWITCH:1,bool) 0 == if{ 0 (>K:TOGGLE_ALTERNATOR1) }
(A:GENERAL ENG GENERATOR SWITCH:2,bool) 0 == if{ 0 (>K:TOGGLE_ALTERNATOR2) }

1 (>L:HYD ENG1, number) 1 (>L:HYD ENG2, number)

1 (>L:DM FUEL VALVE 1,number) 1 (>L:DM FUEL PUMP 1,number) 1 (>L:DM FUEL PUMP FWD 1,number) 1 (>L:DM FUEL VALVE 2,number) 1 (>L:DM FUEL PUMP 2,number) 1 (>L:DM FUEL PUMP FWD 2,number) 0 (>L:DM FUEL CROSSFEED,number)
1 (>L:DM FUEL INIT,number)

0 (>L:DM EMERGENCY LIGHTS,number)
(A:Light LOGO,bool) 0 == if{ 1 (>K:TOGGLE_LOGO_LIGHTS) }
(A:Light panel,bool) 0 == if{ 1 (>K:PANEL_LIGHTS_TOGGLE) }

2 (>L:CYCLES SELECT,number)

0 (>L:DM ICONS OFF,number)

2 (>L:DM AIR CON 1,number) 2 (>L:DM AIR CON 2,number)
0 (>L:DM AIR VALVE 1,number) 0 (>L:DM AIR VALVE 2,number)
0 (>L:DM APU AIR CROSSFEED,number)
0 (>L:DM APU AIR DELIVERY,number)
1 (>L:DM SAFETY VALVE,number)
0 (>L:DM RAM AIR,number)

1 (>L:DM CABIN ALT SET,number) 0 (>L:DM CABIN ALT ADJ,number) 400 (>L:DM CABIN ALT RATE,number)
1 (>L:DM CABIN ALT WARN Var1,number)

(A:Indicated Altitude,feet) 4.6 / (>L:DM CABIN ALT CURRENT,number)
(A:Indicated Altitude,feet) 460 / flr 100 * 8000 min (>L:DM CABIN ALT REQD,number)

(A:AMBIENT TEMPERATURE, farenheit) (>L:DM INIT CABIN TEMP,number)

(* -- INITIALIZE READING OF FUEL LEVEL FOR ENGINE 1 - USED IN FUEL FLOW -- *)
(A:FUEL TANK CENTER MAIN QUANTITY, meter cubed) (A:FUEL LEFT QUANTITY, meter cubed) + (A:FUEL RIGHT QUANTITY, meter cubed) + (>L:DM FUEL 1 INIT,number)

(* -- INITIALIZE READING OF FUEL LEVEL FOR ENGINE 2 - USED IN FUEL FLOW -- *)
(A:FUEL TANK CENTER QUANTITY, meter cubed) (A:FUEL TANK LEFT MAIN QUANTITY, meter cubed) + (A:FUEL TANK RIGHT MAIN QUANTITY, meter cubed) + (>L:DM FUEL 2 INIT,number)

0 (>L:DM THRUST INDEX,number)

120 (>L:WATER INJECTION LEVEL,number)
0 (>L:DM TOP TEMP,number)
0 (>L:DM BACK COURSE,number)
10000 (>L:AP ALT VAR, number)

}
els{
(A:Light cabin,bool) 0 == if{ (A:ELECTRICAL MAIN BUS VOLTAGE,volt) 0 > if{ 1 (>K:TOGGLE_CABIN_LIGHTS) } }
(A:Light cabin,bool) 1 == if{ (A:ELECTRICAL MAIN BUS VOLTAGE,volt) 0 == if{ 1 (>K:TOGGLE_CABIN_LIGHTS) } }

</Value>
      </Select>
   </Element>

//---------------------------COLD START-------------------------
   <Element>
      <Select>
         <Value>(L:DM COLD START,number) 1 == if{

0 (>L:DM COLD START,number)

0 (>K:FLAPS_UP)
0 (>K:AXIS_ELEV_TRIM_SET)
0 (>K:SPOILERS_OFF)

0 (>L:WATER INJECTION,number)
120 (>L:WATER INJECTION LEVEL,number)

(A:STRUCTURAL DEICE SWITCH,bool) if{ 0 (>K:TOGGLE_STRUCTURAL_DEICE) }
(A:ENG1 ANTI ICE, BOOL) if{ 0 (>K:ANTI_ICE_TOGGLE_ENG1) }
(A:ENG2 ANTI ICE, BOOL) if{ 0 (>K:ANTI_ICE_TOGGLE_ENG2) }

0 (>K:AUTOPILOT_OFF)

(A:Light landing,bool) if{ 0 (>K:LANDING_LIGHTS_TOGGLE) }
(A:Light taxi,bool) if{ 0 (>K:TOGGLE_TAXI_LIGHTS) }
(A:Light beacon,bool) if{ 0 (>K:TOGGLE_BEACON_LIGHTS) }
(A:Light NAV,bool) if{ 0 (>K:TOGGLE_NAV_LIGHTS) }
(A:Light LOGO,bool) if{ 0 (>K:TOGGLE_LOGO_LIGHTS) }
(A:Light panel,bool) if{ 0 (>K:PANEL_LIGHTS_TOGGLE) }
(A:Light Cabin,bool) if{ 1 (>K:TOGGLE_CABIN_LIGHTS) }
0 (>L:DM EMERGENCY LIGHTS,number)
0 (>L:DM NO SMOKING,number)
0 (>L:DM SEATBELTS,number)

0 (>L:DM APU AIR CROSSFEED,number)
0 (>L:DM APU AIR DELIVERY,number)
0 (>L:DM AIR VALVE 1,number) 0 (>L:DM AIR VALVE 2,number)
0 (>L:DM AIR CON 1,number) 0 (>L:DM AIR CON 2,number)
1 (>L:DM SAFETY VALVE,number)
0 (>L:DM RAM AIR,number)

(A:CANOPY OPEN,bool) if{ 0 (>K:TOGGLE_AIRCRAFT_EXIT) }
(A:TAILHOOK POSITION,percent) 50 > if{ 0 (>K:TOGGLE_TAIL_HOOK_HANDLE) }

(A:PITOT HEAT,bool) if{ 0 (>K:PITOT_HEAT_TOGGLE) }

0 (>L:HYD ENG1, number) 0 (>L:HYD ENG2, number)
0 (>L:HYD AUX1, number) 0 (>L:HYD AUX2, number)
0 (>L:HYD DC,number)

0 (>L:DM FUEL VALVE 1,number) 0 (>L:DM FUEL PUMP 1,number) 0 (>L:DM FUEL PUMP FWD 1,number) 0 (>L:DM FUEL VALVE 2,number) 0 (>L:DM FUEL PUMP 2,number) 0 (>L:DM FUEL PUMP FWD 2,number) 0 (>L:DM FUEL CROSSFEED,number) 1 (>L:DM FUEL INIT,number)

2 (>L:CYCLES SELECT,number)

1 (>L:DM CABIN ALT SET,number) (A:Indicated Altitude,feet) (>L:DM CABIN ALT CURRENT,number) 0 (>L:DM CABIN ALT REQD,number) 0 (>L:DM CABIN ALT ADJ,number) 400 (>L:DM CABIN ALT RATE,number)

(A:AMBIENT TEMPERATURE, farenheit) (>L:DM INIT CABIN TEMP,number)

(* -- INITIALIZE READING OF FUEL LEVEL FOR ENGINE 1 - USED IN FUEL FLOW -- *)
(A:FUEL TANK CENTER MAIN QUANTITY, meter cubed) (A:FUEL LEFT QUANTITY, meter cubed) + (A:FUEL RIGHT QUANTITY, meter cubed) + (>L:DM FUEL 1 INIT,number)

(* -- INITIALIZE READING OF FUEL LEVEL FOR ENGINE 2 - USED IN FUEL FLOW -- *)
(A:FUEL TANK CENTER QUANTITY, meter cubed) (A:FUEL TANK LEFT MAIN QUANTITY, meter cubed) + (A:FUEL TANK RIGHT MAIN QUANTITY, meter cubed) + (>L:DM FUEL 2 INIT,number)

(A:GENERAL ENG1 FUEL VALVE,bool) 1 == if{ 0 (>K:TOGGLE_FUEL_VALVE_ENG1) }
(A:GENERAL ENG2 FUEL VALVE,bool) 1 == if{ 0 (>K:TOGGLE_FUEL_VALVE_ENG2) }
(A:GENERAL ENG3 FUEL VALVE,bool) 1 == if{ 0 (>K:TOGGLE_FUEL_VALVE_ENG3) }
0 (>K:MIXTURE1_LEAN)
0 (>K:MIXTURE2_LEAN)

0 (>L:DM APU ON SWITCH,number)

0 (>L:DM STARTER MASTER,number)
0 (>L:DM STARTER 1,number) 0 (>L:DM STARTER 2,number)
(A:General eng1 starter, bool) if{ 0 (>K:TOGGLE_STARTER1) }
(A:General eng2 starter, bool) if{ 0 (>K:TOGGLE_STARTER2) }

(A:Electrical master battery,bool) if{ 0 (>K:TOGGLE_MASTER_BATTERY) }
0 (>L:DM CSD OFF 1,number)
0 (>L:DM CSD OFF 2,number)
(A:GENERAL ENG GENERATOR SWITCH:1,bool) if{ 0 (>K:TOGGLE_ALTERNATOR1) }
(A:GENERAL ENG GENERATOR SWITCH:2,bool) if{ 0 (>K:TOGGLE_ALTERNATOR2) }
(A:GENERAL ENG GENERATOR SWITCH:3,bool) if{ 0 (>K:TOGGLE_ALTERNATOR3) }

0 (>L:DM TOP TEMP, number)

0 (>L:DM BACK COURSE,number)

0 (>L:MASTER WARN RESET,number)

10000 (>L:AP ALT VAR, number)

}</Value>
      </Select>
   </Element>

//-------------------SOUNDS------------
   <Element>
    <Select>
      <Value>
(L:DM SOUNDS OFF,number) 1 != if{

(* -- Altitude Alert -- *)
(L:AP ALT VAR, number) (A:Indicated altitude, feet) - abs d 200 >= r 1000 <= && if{ (L:DM SOUND ALERT FIRED,number) 0 == if{ 1 (>L:DM SOUND ALERT,number) 1 (>L:DM SOUND ALERT FIRED,number) } } els{ 0 (>L:DM SOUND ALERT,number) 0 (>L:DM SOUND ALERT FIRED,number) }

(* -- Takeoff config Alert -- *)
0 s0
(A:Radio Height, feet) 7 < if{
   (A:GROUND VELOCITY, knot) 50 < if{
      (A:GENERAL ENG1 THROTTLE LEVER POSITION, percent) 50 > (A:GENERAL ENG2 THROTTLE LEVER POSITION, percent) 50 > || if{
         (A:TRAILING EDGE FLAPS0 LEFT ANGLE,degrees) 7.9 < if{ 2 s0 }
         (A:TRAILING EDGE FLAPS0 LEFT ANGLE,degrees) 18.1 > if{ 2 s0 }
         (A:Spoilers handle position, percent) 1 > if{ 2 s0 }
         (A:Elevator Trim Position,degrees) 1 < if{ 2 s0 }
         (A:Elevator Trim Position,degrees) 5 > if{ 2 s0 }
         }
      }
   }
l0 (>L:DM SOUND BEEP,number)

(* -- Cabin Alt Horn -- *)
(L:DM CABIN ALT WARN Var1,number) (L:DM CABIN ALT WARN Var3,number) + 2 == if{ 2 (>L:DM SOUND HORN,number) } els{ 0 (>L:DM SOUND HORN,number) }

(* -- Engine Fire -- *)
(A:ENG ON FIRE:1, bool) (A:ENG ON FIRE:2, bool) + (A:ENG ON FIRE:3, bool) + (L:ENG 1 FIRE TEST, number) + (L:ENG 2 FIRE TEST, number) + (L:ENG 3 FIRE TEST, number) + 0 > if{ 2 (>L:DM SOUND FIRE,number) } els{ 0 (>L:DM SOUND FIRE,number) }

(* -- Stall Test -- *)
(L:DM STALL TEST, number) 1 == if{ 2 (>L:DM SOUND STALL,number) } els{ 0 (>L:DM SOUND STALL,number) }

(* -- Speed Test -- *)
(L:DM SPEED TEST, number) 1 == if{ 2 (>L:DM SOUND SPEED,number) } els{ 0 (>L:DM SOUND SPEED,number) }

(* -- V SPEEDS -- *)
(A:Radio Height, feet) 7 < if{
   (A:Turb eng1 N2, percent) 90 > (A:Turb eng2 N2, percent) 90 > || if{
      (A:AIRSPEED INDICATED,knots) (L:DM REF V1,number) > if{
         (L:DM SOUND V1 PLAY,number) 1 == if{ 1 (>L:DM SOUND V1,number) 0 (>L:DM SOUND V1 PLAY,number) }
         }
      (A:AIRSPEED INDICATED,knots) (L:DM REF VR,number) > if{
         (L:DM SOUND VR PLAY,number) 1 == if{ 1 (>L:DM SOUND VR,number) 0 (>L:DM SOUND VR PLAY,number) }
         }
      }
   }

   }
      </Value>
    </Select>
   </Element>

</Gauge>
ImageImage

TSR2
The Ministry
Posts: 12360
Joined: 17 Jun 2004, 14:32
Location: North Tyneside, UK
Contact:

Re: Bac 1-11 APU problem

Post by TSR2 » 29 Oct 2012, 23:51

Ta muchly DM :rock: :thumbsup:

I'll give it a go when I get home tomorrow night. Hope alls well in the Maltby household :)
Ben.:tunes:

ImageImageImage

Vc Ten
VC10
VC10
Posts: 540
Joined: 18 Apr 2010, 17:02
Location: North Wales

Re: Bac 1-11 APU problem

Post by Vc Ten » 30 Oct 2012, 14:40

Hi David :hello:
Thanks for the updated files Think Ive got them installed right :lol:
Engines now starts fine Switch centre knob to start and either engine to start Motor spools up rotation lamp iluminates ( only flickered before) engine lights and start switch returns to centre
Apu fuel switch seems to work but now cant press ( no mouse over ) start button
I have problems with my fsx setup and am contemplating another reinstall so could be related to that
Will see how Ben gets on
ATB
Dale
Image Image Image

Post Reply