On Tuesday 17 October 2006 01:41 am, you wrote:
> Thx...
> BTW Herr CULP.... How do i start the engine on the FW-190... I did'nt find
> the solution
The piston model has a Cessna-sized starter which isn't strong enough to spin
the engine up to the required 450 rpm. Below are changes to the piston model
which will scale the starter to the engine size. This is commited in JSBSim
CVS, but you'll have to add it to FlightGear yourself.
Modified Files:
FGPiston.h FGPiston.cpp
Log Message:
Made starter power scale to engine size so we can start big engines.
Index: FGPiston.h
===================================================================
RCS file: /cvsroot/jsbsim/JSBSim/src/models/propulsion/FGPiston.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** FGPiston.h 30 Aug 2006 12:04:38 -0000 1.4
--- FGPiston.h 17 Oct 2006 01:44:57 -0000 1.5
***************
*** 211,214 ****
--- 211,215 ----
double Cycles; // cycles/power stroke
double IdleRPM; // revolutions per minute
+ double StarterHP; // initial horsepower of starter motor
int BoostSpeeds; // Number of super/turbocharger boost speeds - zero
implies no turbo/supercharging.
int BoostSpeed; // The current boost-speed (zero-based).
Index: FGPiston.cpp
===================================================================
RCS file: /cvsroot/jsbsim/JSBSim/src/models/propulsion/FGPiston.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** FGPiston.cpp 30 Aug 2006 12:04:38 -0000 1.6
--- FGPiston.cpp 17 Oct 2006 01:44:57 -0000 1.7
***************
*** 199,202 ****
--- 199,203 ----
minMAP = MinManifoldPressure_inHg * 3386.38; // inHg to Pa
maxMAP = MaxManifoldPressure_inHg * 3386.38;
+ StarterHP = sqrt(MaxHP) * 0.2;
// Set up and sanity-check the turbo/supercharging configuration based on
the input values.
***************
*** 577,588 ****
if (Cranking) {
if (RPM < 10) {
! HP = 3.0; // This is a hack to prevent overshooting the idle rpm
in
! // the first time step. It may possibly need to be
changed
! // if the prop model is changed.
} else if (RPM < 480) {
! HP = 3.0 + ((480 - RPM) / 10.0);
// This is a guess - would be nice to find a proper starter moter
torque curve
} else {
! HP = 3.0;
}
} else {
--- 578,587 ----
if (Cranking) {
if (RPM < 10) {
! HP = StarterHP;
} else if (RPM < 480) {
! HP = StarterHP + ((480 - RPM) / 10.0);
// This is a guess - would be nice to find a proper starter moter
torque curve
} else {
! HP = StarterHP;
}
} else {
Dave
-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users