JSBSim-Team / jsbsim

An open source flight dynamics & control software library
GNU Lesser General Public License v2.1
1.22k stars 420 forks source link

Request: turbine spindown table or property support #1039

Open Octal450 opened 2 months ago

Octal450 commented 2 months ago

I'm submitting a ...

Current behavior

In the current implementation, the value of n1spindown or n2spindown can only be set in the XML. When realistic values are used.

Requested behavior?

Ability to edit the spindown value at runtime by using either fgfunction or property.

What is the motivation / use case for changing the behavior? I have a panel state system which quickly sets the aircraft into various states. For startup, set-running + modified spool tables work great, but shutdown takes way too long when realistic values are set into spindown. These changes would allow modification of the spindown value at runtime.

Please tell us about your environment:

Other information

gallonmate commented 2 months ago

Just a quick note until someone addresses the request: In the meanwhile you could set n1 and n2 directly. I'm not too familiar with scripts, so I'm only assuming an advanced xml script could be written if you still wanted to manually force a faster spinup/down. I do know setting any value from 0 to 100 for n1 and n2 works instantly. And it doesn't break the spinup/down, it just continues from the new values.

Octal450 commented 2 months ago

I didn’t realize that worked. I’ll give it a try. Thanks!

Kind Regards, Josh

On Feb 19, 2024, at 16:53, gallonmate @.***> wrote:



Just a quick note until someone addresses the request: In the meanwhile you could set n1 and n2 directly. I'm not too familiar with scripts, so I'm only assuming an advanced xml script could be written if you still wanted to manually force a faster spinup/down. I do know setting any value from 0 to 100 for n1 and n2 works instantly. And it doesn't break the spinup/down, it just continues from the new values.

— Reply to this email directly, view it on GitHubhttps://github.com/JSBSim-Team/jsbsim/issues/1039#issuecomment-1953248204, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGDJVDCDELN4YWCL665SESDYUPJVNAVCNFSM6AAAAABDFDUFO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGI2DQMRQGQ. You are receiving this because you authored the thread.Message ID: @.***>