Replies: 4 comments 1 reply
-
The So for example for the jsbsim/src/models/propulsion/FGTurbine.cpp Lines 380 to 386 in c68ef9f And in the jsbsim/src/models/propulsion/FGPiston.cpp Lines 531 to 536 in bcd3f98 So I'm not sure there is a trivial way to ensure that all engine types don't consume fuel. For the turbine case it looks like if you set TFSC to 0 you'll end up with the idle fuel flow rate. jsbsim/src/models/propulsion/FGTurbine.cpp Lines 222 to 224 in c68ef9f Where jsbsim/src/models/propulsion/FGTurbine.cpp Line 524 in c68ef9f |
Beta Was this translation helpful? Give feedback.
-
Yep, hacking the source code is one option. The other option, sort of in the vein of refueling at the same rate the fuel is being burnt, and which wouldn't require modifying the source code is to add an option in the script file to continuously set/reset the fuel tank(s) contents to the original contents specified at startup via the jsbsim/src/models/propulsion/FGTank.cpp Lines 452 to 458 in f4ab491 |
Beta Was this translation helpful? Give feedback.
-
In addition to @seanmcleod's suggestions, you can consider :
Lines 100 to 132 in 375f5be |
Beta Was this translation helpful? Give feedback.
-
@sthelia another option I came across recently is the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm working on testing some flight mechanic properties and would like to test some settings where I keep the mass of the aircraft constant, ie no fuel is being consumed.
I've been looking through the source code to find how the fuel is being used to see if I could set a property to 0 (I tried the tsfc property for my turbine engine, that did not work. I read the discussion on TSFC #381 and am thinking that that might be the reason it doesn't work to set tsfc to zero in the engine file.
I found one line that seems to be where this is calculated:
https://github.com/airware-legacy/jsbsim/blob/c70bd1a61efeb0514984e3fe3e5bfb5ca9236d9e/src/models/FGPropulsion.cpp#L259-L260
but then:
jsbsim/src/models/propulsion/FGEngine.cpp
Lines 95 to 101 in 375f5be
So that requires me to understand where
SLFuelFlowMax
comes from, which I only find Rocket engine references to. My engine is currently a turbine engine, but I would like to be able to set the fuel consumption to zero for other kinds of engines as well.Beta Was this translation helpful? Give feedback.
All reactions