Hyd_need_power_to_function (not working)

Version: 1.34.16.0

Frequency: Consistently

Severity: High

Context: In Flight

Bug description: I have been trying to understand and test this cfg setting with no result. I have my hydraulic map set to 2 engines and I have 1 electric pump for the backup pump. I also have the gear type set to hydraulic. So my understanding is if power is lost the gear will fail to move even if the engines are producing hydraulic pressure. But turning off the alternators only cuts power to the hydraulic pump 3 which is the electric pump.

And even after further testing the only way to stop the gear from working is to move the default K event for the hydraulic switch 1 and 2. So not sure what this cfg setting does. But we do not see any change after hours of testing. Could you please confirm it’s not working or how to setup please?


Screenshot_723

@FlyingRaccoon

Hoping you get a chance to reply to this topic/bug. Maybe I am not using this correctly. Thanks.

Hello @Flysimware

This parameter does not apply to the whole hydraulic system but only to the gear.
So when this parameter is set to 1, your hydraulic gear will require the CIRCUIT_GEAR_MOTOR to be on.

Can you try that out and let us know if that fixes it for you?

Regards,
Sylvain

Hi @FlyingRaccoon

Enabling the cfg settings correctly does disable the CIRCUIT_GEAR_MOTOR by making it turn grey. I have already tested this prior and tested again today. But when I move the gear lever the circuit turns green and the power returns only during the travel, then powers off.

I figure there is code that says only use electrical during travel, and this makes sense for an electric gear. But for hydraulic, we need to have the circuit based on the bus it’s tied to and remain off when the bus is powerless.

There is for sure a mix up between how the electric gear enables power during travel. If I try to force the circuit off by code the circuit flickers in the electrical debug window showing the conflict.

Hello @Flysimware

This is the expected behavior.
CIRCUIT_GEAR_MOTOR is controlled by the sim but it will not be powered if the bus is no longer powered. However, this is not instantaneous.
I checked on the 787, by assigning this circuit to bus.2 (MAIN_BAT_BUS). When switching batteries off, the circuit turns red in the electrical system debug, but it will be powered for a few more seconds, until the voltage drops to 0. At this point, circuit will turn off (grey) and gear will stop moving.

If you want to control this directly, you don’t want to use this hyd_need_power_to_function parameter but change your pump state yourself instead.

Regards,
Sylvain

Hi @FlyingRaccoon

I ran the same 878 test and got the same result as you. The issue is the 787 is losing engine hydraulic pressure when the power is lost. This will not happen on a Lear35A or most engine driven hydraulic pumps. Hydraulic pressure is never lost unless you drain the pressure by using it.

When I test my project the engine driven pumps remain pressurized and so the gear will keep working and the circuit is red. The point is to have no electric for the relay that prevents the gear from moving with hydraulic pressure in the system. The 787 has no hydraulic pressure so of course it will fail to work. See video.

In this case, the CIRCUIT_GEAR_MOTOR will not suit your needs.
You can replace it with a CIRCUIT_XML and have your own logic.
It’s named CIRCUIT_XML but it’s not tied to xml, it’s just generic circuit that you can control with K events.

Regards,
Sylvain

Hi @FlyingRaccoon

I am aware how to do custom circuits, I am just trying to help report bugs. I think there is a 787 bug because the reason the engine driven pumps stopped was because the engines stopped running when the electrical was lost. This is not accurate. And for my main issue I hope to see more improvement on the hydraulic system because in this case even making an xml circuit is no help as I demonstrated in my video. With all power off if you move a gear lever from hardware and there is hydraulic pressure the gear will lower regardless of any custom code. So this is a bug and needs improvment. Thanks again @FlyingRaccoon