Electric Fuel Pump AutoCondition confusion

The SDK says #AutoCondition:EngineMain,2.5 this is how it should look, but in the default aircrafts in the few cases when it is used it is with : between the name and the pressure AutoCondition:EngineMain:2.5

The bigger problem is that it looks like it does not seem work. My pump is always on even when the engine driven pump supply pressure much higher then the threshold.

Once , I seen it work once, but I tried so many variations I don’t know what I used then.
What is the issue here anyone can tell me ?

Pump.1 = Name:Pump_BoostPump#Pressure:30#Destinationline:Line_BoostPump_To_FireWallShutOffValve#Type:Electric#Index:1#AutoCondition:EngineMain:2.5
Pump.2 = Name:Pump_EngineDrivenFuelPump#Pressure:30#Destinationline:Line_EngineDrivenFuelPump_To_ValveConditionLever#Type:EngineDriven#Index:1#PressureCurve:1

Edit: I see instances where is is just #AutoCondition:2.5 , and if I use this in the Fuel debug window I get a drop down menu to set the switch to off/auto/on, but the pump still stays on in auto mode.

Hello @CaptainBalu0

Your syntax is mostly correct, it is AutoCondition:<engine_name>.<pressure>
But the pressure term only takes 2 digits and I don’t think it can be a decimal.

Also, there is an issue that leads this threshold pressure to be compared to 0 psi instead of the actual current pressure, which would explain why the pump is always on.

I don’t think this can be used in its current state.
I’ll have the editor, the documentation and the system itself reviewed.

Regards,
Sylvain

1 Like

Thank you for checking
I will give it a try with . instead of , or :
The editor itself writes it as AutoCondition:<engine_name>:<pressure>

I was also beginning to suspect something is not right with it besides the syntax.
I made a mock fuel system with just 1 tank 2 pumps 1 electric with auto mode and an engine driven one, a junction to merge the pump lines to the engine.
Even in this simple setup the pump stays on in auto mode.

Edit: ye I can confirm, with AutoCondition:EngineMain.0 the pump is off, any other pressure and it is always on.

As I said, I think the implementation is incorrect and will lead to pump staying on even when the correct syntax is provided.
This will require a fix on our side.

Regards,
Sylvain

2 Likes

ye I can confirm, with AutoCondition:EngineMain.0 the pump is off, any other pressure and it is always on.

1 Like

Hello @CaptainBalu0

This should now be fixed with SU5 Beta.
Expected format remains unchanged (AutoCondition:<engine_name>.<pressure>) but documentation, SimObjectEditor writing and actual behavior when pressure drops below the threshold were fixed.

Regards,
Sylvain

2 Likes

Hi, just tested it on the C208 and it does work now, the issue is it is too slow. If it is in auto mode on the boost pump, and we kill the engine driven main pump the boost pump does come online, but probably a few frames too late and there is a little time when the engine is starved of fuel and it ill shut down. (this is probably because the fuel pressure does not decay slowly but instantly drops to 0)

1 Like

Hello @CaptainBalu0

A fix is available with SU5 Beta 1.7.9.0.
We have introduced a version 8 of the fuel system that essentially computes fuel pressure over multiple frames to avoid this kind of issues.

image

Documentation will come with a later SDK update.

Let us know if this resolves the issue for you.

Regards,
Sylvain

2 Likes

This is fantastic news, I will test it asap I can.

1 Like

I can confirm, pressure now drop over time, even my custom code for the boost pump in html/js instrument has time to detect the dropping pressure and fire up the boost pump before the engine dies. Great job.

2 Likes

This topic has been automatically closed after 60 days of inactivity since it was marked as fixed.

If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.