On Wed, 8 Nov 2006, Yurik V. Nikiforoff wrote:
> Yes, It works, but I can't set diameter of propeller by data sheat from flight
> manual. Engine can't start, if I set propeller greater then 110'. But real
> AV-2 propeller have 136' diameter.
Found this kludge in JSBsim:
FGPiston::doEngineStartup()
in src/FDM/JSBSim/models/propulsion/FGPiston.cpp,
line 351 and on:
if (!Running && spark && fuel) { // start the engine if revs high
enough
if (Cranking) {
if ((RPM > 450) && (crank_counter > 175)) // Add a little delay
to startup
Running = true; // on the starter
} else {
if (RPM > 450) // This allows us to
in-air start
Running = true; // when windmilling
}
}
and further down:
} else if ((RPM <= 480) && (Cranking)) {
Running = false;
}
So engine parameters are hard-coded in JSBsim...
But there is a min rpm setting in the engine definitions -- that ought to be
used here.
Isn't there another aircraft model that can't idle properly? I think it is
either the Spitfire or the Mustang. It stalls if it's left on idle too
long.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel