Based on cockpit switches ( throttle, x-feed valves, boost pumps, cutoff switches) the sim calculates which tank is connected to which engine and if the line is open.  It then sends the result to FG and onto JSBSim to instruct the engine model to draw the correct amount of fuel, based on rate and dt, from the correct tank.  result is any tank can feed any engine  and any engine can draw from any tank which is how the real airplane works.  The code for JSBSim is in the tar file from MIADC or Scale.  It is not part of the CVS tree or 0.9.9, source is avaialble but not my call to put it in.

JW 
 
FWIW, I think the JSBSim propulsion system model has hooks for modeling the fuel system, tankage, etc. much better than we do, now. Dave Culp and I some time ago wrote a detailed spec for how we believed the tanks should be modeled and specified to work better and be more configurable. I had forgotten that you had done some work on some of that, too. I need to grab your code and take another look. I'm swamped at the moment, so don't know if I'll get to implement anything real soon, but who knows ...
 
Jon
 

Reply via email to