- Messages
- 2
- Country

Hi all,
Longtime lurker, first time poster.
Now, I'm trying to add some more complexity to a particular add on aircraft, that uses a simple left tanks/right tanks setup to feed three engines.
The actual aircraft had two tanks per wing, an inner and outer tank. The Inner tanks feed Engines 1 & 3 respectively, and the outer tanks feed Engine 2 through a proportioner unit to maintain lateral balance.
I'm not too fussed about coding a proportioner because I cant see there being an event that would cause a lateral imbalance - there are two boost pumps per tank but if they fail then the engines run on suction feed via a pump bypass valve and the Engine mounted Low Pressure pump.
I know about the awkwardness of the FS9/FSX Fuel Selector mechanism - my question is this:
Aircraft.cfg:
When loading fuel before the flight the tanks need to be loaded in a 2:1 ratio, so if I code on initialisation K:FUEL_SELECTOR_LEFT_AUX and K:FUEL_SELECTOR_3_RIGHT_AUX this will
force Engine 1 to feed from the Port Inner Tank and Engine 3 to feed from the Starboard Inner Tank (noted here as Aux). However, There doesn't appear to be an Event ID for Tip tanks, but if I set K:FUEL_SELECTOR_2_ALL then will this give me a simultaneous feed from both Outer (Tip) tanks to Engine 2 as the first to be used according to default logic?
Secondly, If I then code the crossfeed valve to set all selectors to ALL then this will allow all tanks to feed all 3 engines, even if the tip tanks have been exhausted?
EDIT: This is the code I've put together, be nice for someone to have a quick scoot as I won't be able to test it till Sunday
Crossfeed Valve Control Logic:
Fuel Distribution Logic:
Thanks for any help or guidance you can provide.
Tom
Longtime lurker, first time poster.
Now, I'm trying to add some more complexity to a particular add on aircraft, that uses a simple left tanks/right tanks setup to feed three engines.
The actual aircraft had two tanks per wing, an inner and outer tank. The Inner tanks feed Engines 1 & 3 respectively, and the outer tanks feed Engine 2 through a proportioner unit to maintain lateral balance.
I'm not too fussed about coding a proportioner because I cant see there being an event that would cause a lateral imbalance - there are two boost pumps per tank but if they fail then the engines run on suction feed via a pump bypass valve and the Engine mounted Low Pressure pump.
I know about the awkwardness of the FS9/FSX Fuel Selector mechanism - my question is this:
Aircraft.cfg:
Code:
[fuel]
LeftAux= 2.000, 15.000, 0.000, 1622.000, 0.000
RightAux= 2.000, -15.000, 0.000, 1622.000, 0.000
LeftTip= 0.000, 30.000, 0.000, 660.000, 0.000
RightTip= 0.000, -30.000, 0.000, 660.000, 0.000
fuel_type=2.000000
number_of_tank_selectors=3
electric_pump=1
When loading fuel before the flight the tanks need to be loaded in a 2:1 ratio, so if I code on initialisation K:FUEL_SELECTOR_LEFT_AUX and K:FUEL_SELECTOR_3_RIGHT_AUX this will
force Engine 1 to feed from the Port Inner Tank and Engine 3 to feed from the Starboard Inner Tank (noted here as Aux). However, There doesn't appear to be an Event ID for Tip tanks, but if I set K:FUEL_SELECTOR_2_ALL then will this give me a simultaneous feed from both Outer (Tip) tanks to Engine 2 as the first to be used according to default logic?
Secondly, If I then code the crossfeed valve to set all selectors to ALL then this will allow all tanks to feed all 3 engines, even if the tip tanks have been exhausted?
EDIT: This is the code I've put together, be nice for someone to have a quick scoot as I won't be able to test it till Sunday
Crossfeed Valve Control Logic:
Code:
<Gauge Name="Crossfeed Cock Position Indicator" Version="1.0">
<Element>
<Select>
<Value>(L:CROSSFEED_COCK_OPEN,bool)</Value>
<Case Value="1">
<Image Name="CROSSFEED_EYE_OPEN.bmp" ImageSizes="23,23"/>
</Case>
<Case Value="0">
<Image Name="CROSSFEED_EYE_SHUT.bmp" ImageSizes="23,23"/>
</Case>
</Select>
</Element>
<Mouse>
<Area Top="0" Left="0" Right="23" Bottom="23">
<Tooltip>Crossfeed Cock %((L:CROSSFEED_COCK_OPEN,bool))%{if}Open%{else}Closed%{end}</Tooltip>
<Cursor Type="Hand"/>
<Click>(L:CROSSFEED_COCK_OPEN,bool) ! (>L:CROSSFEED_COCK_OPEN,bool)</Click>
</Area>
</Mouse>
</Gauge>
Fuel Distribution Logic:
Code:
<Gauge Name="Fuel Distribution Logic" Version="1.0">
<Update>
(L:CROSSFEED_COCK_OPEN,bool) ! if{
(A:FUEL TANK SELECTOR:1,enum) 4 != if{ 4 (>K:FUEL_SELECTOR_SET)}
(A:FUEL TANK SELECTOR:2,enum) 1 != if{ 1 (>K:FUEL_SELECTOR_2_SET)}
(A:FUEL TANK SELECTOR:3,enum) 5 != if{ 5 (>K:FUEL_SELECTOR_3_SET)}}
els{ 1 (>K:FUEL_SELECTOR_SET) 1 (>K:FUEL_SELECTOR_2_SET) 1 (>K:FUEL_SELECTOR_3_SET)}
</Update>
</Gauge>
Thanks for any help or guidance you can provide.
Tom
Last edited:


