Menu

FGAddon Commit Log


Commit Date  
[r2429] by lbrenta

707: fuel-and-payload.nas: better factorize code.
(boost_pumps_for_engine): new function, do the reverse mapping from engine_for_tank
that is always correct by construction.
(engines_alive): use it.

2017-02-16 20:11:34 Tree
[r2428] by lbrenta

707: bug fixes to the cross-feed system and optional debugging output.

* Nasal/fuel-and-payload.nas (function trace): new: emit debugging
output whenever the property /b707/fuel/debug is 'true'. Replace all
calls to 'print' with calls to 'trace'.
(array engine_for_tank,
array boost_pump_for-tank,
function boost_pumps_for_tank_are_on): new. Factorize code.
(engines_alive): use them. Change the settimer loop using maketimer.
(crossfeed_control_valves): use them.
(available_receive_capacity_lbs): new, compute how much fuel each tank can receive.
(crossfeed_action): use the above. Change the settimer loop using maketimer.
- Prevent cross-feeding into main 1 and 4 tanks while also transferring from
reserve 1 and 4 tanks, respectively.
- Do not cross-feed more fuel than the receiving tanks can accept.
- Increase the fuel flow from sending tanks to a maximum of 5 pounds/s (the 4 engines
together burn 4.9 pounds/s during cruise, at 2000 kg/h fuel flow). This makes it
possible to cross-feed from the center section to all 4 main tanks during cruise
without starving the engines.

2017-02-15 21:05:00 Tree
[r2427] by wlbragg

J3Cub: Prop breaks on both J3Cub and PA-18 if crashed.

2017-02-14 20:02:21 Tree
[r2426] by wlbragg

J3Cub: Crash kills engine.

2017-02-14 17:48:59 Tree
[r2425] by wlbragg

J3Cub: Fix YASim version sound - missed file.

2017-02-13 20:55:35 Tree
[r2424] by wlbragg

J3Cub: Fix YASim version sound.

2017-02-13 20:52:26 Tree
[r2423] by wlbragg

J3Cub: Add flap stick to PA-18, correct amphibious OSG text conditional.

2017-02-12 23:12:43 Tree
[r2422] by wlbragg

J3Cub: Better way to condition OSG text.

2017-02-12 19:44:50 Tree
[r2421] by wlbragg

J3Cub: Slight emmisive to panel text.

2017-02-12 18:52:19 Tree
[r2420] by wlbragg

J3Cub: Lower rates of melting carb ice produce less agressive engine coughing.

2017-02-12 07:39:46 Tree
Older >