Re: [Flightgear-devel] 737 diy cockpit
It wasn't a big change. I tried to do minimum damage to the exsting structure. Have not had a change to look at your new code; however going back to the 0.9.9 release: plugged in a new engine model for a fan based more on physics and theromdynamics, not perfect but not bad either. the other changes were in engine.cpp, redid the code so each engine would draw from a specific tank based on a value passed to it from FG through the jsbsim.cxx interface. Then I did a bit of "fudging" to add efficiency numbers for each engine to vary turbine and compressor performance that can be specified with the .xml file. Main purpose was to keep the engine gauges from all looking the same and moving in lock step. That is read in by the propulsion module at init time. Specifying the tank, cross-feed, boost and plumbing is done over on the sim side which calculates how things are set up, determines which engine draws from which tank, and sends that over to FG and then on to JSBSim. For the 747 valid values are 0,1,2,3,4 with 0 the center body tank and 1-4 the wing tank. Sending a value of -1 for the engine represents a starved engine due to a mis-management of the fuel panel. Seeing a -1 for an engine, JSBSim then "zeros" the fuel to the engine. Hope that helps.. John W. Jon S. Berndt wrote 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 John: Which JSBSim files are changed for the propulsion mods you made? Jon
RE: [Flightgear-devel] 737 diy cockpit
"Jon S. Berndt" writes > > I also noticed that none of the electrical systems can be switched off > > either. I am trying to add as much realism i.e. switches etc to this as > > possible. > > > > Justin Smithies > > I think the fuel would flow to the engines anyway due to gravity. > > Ampere Remember dihedral. Are the tanks pressurized at all? No but they have boost pumps to provide a head of pressure to the main pump. The main engine driven pump is a mechanical cut off operated by the cutoff lever in the cockpit so while ever the engines are running and the cutoff lever is in run and there is fuel in the tanks the engine will run . Jon Cheers Innis --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
RE: [Flightgear-devel] 737 diy cockpit
> > I also noticed that none of the electrical systems can be switched off > > either. I am trying to add as much realism i.e. switches etc to this as > > possible. > > > > Justin Smithies > > I think the fuel would flow to the engines anyway due to gravity. > > Ampere Remember dihedral. Are the tanks pressurized at all? Jon --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] 737 diy cockpit
On Friday 03 March 2006 13:00, Justin Smithies wrote: > For starters turning off the fuel pump , the engine should start to become > starved of fuel and stop > I also noticed that none of the electrical systems can be switched off > either. I am trying to add as much realism i.e. switches etc to this as > possible. > > Justin Smithies I think the fuel would flow to the engines anyway due to gravity. Ampere --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
RE: [Flightgear-devel] 737 diy cockpit
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 John: Which JSBSim files are changed for the propulsion mods you made? Jon
RE: [Flightgear-devel] 737 diy cockpit
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
Re: [Flightgear-devel] 737 diy cockpit
http://www.lfstech.com go to the download page JW Justin Smithies wrote: Cheers Jw do you have a url for that download ? Justin Smithies On Friday 03 March 2006 18:31, John Wojnaroski wrote: To make that work on the 747, I had to pretty much can the fuel/engine model in JSBSim and modify the control packet sending data to FG. Basically, it works as follows: 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 Justin Smithies wrote: For starters turning off the fuel pump , the engine should start to become starved of fuel and stop I also noticed that none of the electrical systems can be switched off either. I am trying to add as much realism i.e. switches etc to this as possible. Justin Smithies On Friday 03 March 2006 17:54, Berndt, Jon S wrote: I noticed when running the 737-300 model if i switch off the fuel pumps this has no effect on the engines at all. How can i make the pumps turning off have an effect on the engines etc. Also i'd like to implement the crossfeeds so i can have the switches in my cockpit too. Anyone any ideas or working examples ? Regards, Justin Smithies What should the effect of turning off the fuel pump be? Jon --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] 737 diy cockpit
Cheers Jw do you have a url for that download ? Justin Smithies On Friday 03 March 2006 18:31, John Wojnaroski wrote: > To make that work on the 747, I had to pretty much can the fuel/engine > model in JSBSim and modify the control packet sending data to FG. > Basically, it works as follows: > > 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 > > Justin Smithies wrote: > >For starters turning off the fuel pump , the engine should start to become > >starved of fuel and stop > >I also noticed that none of the electrical systems can be switched off > > either. I am trying to add as much realism i.e. switches etc to this as > > possible. > > > >Justin Smithies > > > >On Friday 03 March 2006 17:54, Berndt, Jon S wrote: > >>>I noticed when running the 737-300 model if i switch off the > >>>fuel pumps this has no effect on the engines at all. > >>>How can i make the pumps turning off have an effect on the > >>>engines etc. > >>>Also i'd like to implement the crossfeeds so i can have the > >>>switches in my cockpit too. > >>>Anyone any ideas or working examples ? > >>> > >>>Regards, > >>>Justin Smithies > >> > >>What should the effect of turning off the fuel pump be? > >> > >>Jon > >> > >> > >>--- > >>This SF.Net email is sponsored by xPML, a groundbreaking scripting > >> language that extends applications into web and mobile media. Attend the > >> live webcast and join the prime developer group breaking into this new > >> coding territory! > >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > >>___ > >>Flightgear-devel mailing list > >>Flightgear-devel@lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/flightgear-devel > > > >--- > >This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language that extends applications into web and mobile media. Attend the > > live webcast and join the prime developer group breaking into this new > > coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > ___ > >Flightgear-devel mailing list > >Flightgear-devel@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/flightgear-devel --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] 737 diy cockpit
To make that work on the 747, I had to pretty much can the fuel/engine model in JSBSim and modify the control packet sending data to FG. Basically, it works as follows: 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 Justin Smithies wrote: For starters turning off the fuel pump , the engine should start to become starved of fuel and stop I also noticed that none of the electrical systems can be switched off either. I am trying to add as much realism i.e. switches etc to this as possible. Justin Smithies On Friday 03 March 2006 17:54, Berndt, Jon S wrote: I noticed when running the 737-300 model if i switch off the fuel pumps this has no effect on the engines at all. How can i make the pumps turning off have an effect on the engines etc. Also i'd like to implement the crossfeeds so i can have the switches in my cockpit too. Anyone any ideas or working examples ? Regards, Justin Smithies What should the effect of turning off the fuel pump be? Jon --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] 737 diy cockpit
For starters turning off the fuel pump , the engine should start to become starved of fuel and stop I also noticed that none of the electrical systems can be switched off either. I am trying to add as much realism i.e. switches etc to this as possible. Justin Smithies On Friday 03 March 2006 17:54, Berndt, Jon S wrote: > > I noticed when running the 737-300 model if i switch off the > > fuel pumps this has no effect on the engines at all. > > How can i make the pumps turning off have an effect on the > > engines etc. > > Also i'd like to implement the crossfeeds so i can have the > > switches in my cockpit too. > > Anyone any ideas or working examples ? > > > > Regards, > > Justin Smithies > > What should the effect of turning off the fuel pump be? > > Jon > > > --- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > ___ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
RE: [Flightgear-devel] 737 diy cockpit
> I noticed when running the 737-300 model if i switch off the > fuel pumps this has no effect on the engines at all. > How can i make the pumps turning off have an effect on the > engines etc. > Also i'd like to implement the crossfeeds so i can have the > switches in my cockpit too. > Anyone any ideas or working examples ? > > Regards, > Justin Smithies What should the effect of turning off the fuel pump be? Jon --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel