I added new instrument – it shows hydraulic pressure and quantity, also oil & hydraulic temperatures, and hydraulic pump RPM.
Also I wrote complete simulation of hydraulic pump – variable displacement rotating pump is simulated. It takes following parameters as input: friction because of liquid vicosity, motor mechanism friction, motor strength (amp-torque per one amper of input current), voltage (input, and design voltage), liquid flow rate, inertia of hydraulic pump mechanism. Plane angular accelerations on certain axes (in X-30 it is longitude axis) will act upon hydraulic pumps – you can see slight variation in RPM because of effects of non-inertial system.
Soon there will also be heating of the hydraulic fluid – and coolant system to cool it down (or heat it up).
Also I have to override X-Plane default hydraulic stuff – because pressure output of this simulated system constantly varies, and it should provide feedback on aircraft controls. There is a bug in X-Plane that disables RCS when hydraulics are disabled – that should be hacked around too.
By the way, there are strict specifications about hydraulic reservoirs, pressures used in system, and exceeding those will result in malfunction. There will be extra control knobs later to adjust hydraulic pumps and all other systems.
And oh yeah, there is only one flaw in simulation so far, right now fluid flow rate is linearly dependant on pump RPM (it is not true, pump does not provide any pressure under about 200 rpm), and there is no hydraulic system valve logic yet (there is high-pressure relief valve though, it will release extra pressure back into reservoir in case pressure levels in hydraulic system start to rise above critical level). Also two pumps are spinning in different directions – clockwise and counter-clockwise. It is instantly noticable, because rolling plane to one side will increase RPM on one pump, but decrease on another – and the other way around.





