-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preposterous Windmilling Behavior #195
Comments
This may be unrelated but as I mentioned in the issue #178
During windmilling it can be assumed that the airflow is proportional to the ram airflow which is proportional to @@ -190,8 +190,9 @@ double FGTurbine::Off(void)
FuelFlow_pph = Seek(&FuelFlow_pph, 0, 1000.0, 10000.0);
// some engines have inlets that close when they are off. So, if a flag is true disable windmilling
if (disableWindmill == false) {
- N1 = Seek(&N1, in.qbar/10.0, N1/2.0, N1/N1_spindown);
- N2 = Seek(&N2, in.qbar/15.0, N2/2.0, N2/N2_spindown);
+ double AirFlow = in.Density * in.AeroUVW(eU);
+ N1 = Seek(&N1, AirFlow/10.0, N1/2.0, N1/N1_spindown);
+ N2 = Seek(&N2, AirFlow/15.0, N2/2.0, N2/N2_spindown);
} else {
N1 = Seek(&N1, 0, N1/2.0, N1/N1_spindown);
N2 = Seek(&N2, 0, N2/2.0, N2/N2_spindown); and the constants If you can compile FlightGear could you please check the above and let me know if that fixes the problem ? |
Dear Bertrand, thank you for your response. I do not personally have time for compiling, but I know someone who may be able to test this for me, I will get back to you. Thanks Kind Regards, |
Didn't I add a flag to disable windmilling? |
@legoboyvdlp
My understanding is that we no longer discuss about how to disable
windmilling (as in #178) but rather how to set it up correctly.
|
Ah, I see, thanks. Ok, sure - I can do that. |
Bertrand, We will test these factors with the qbar code and see if the ratios seem better. Kind Regards, |
I guess you are talking about N1 and N2 ? What are the values you are expecting ? Where are they coming from ?
As I mentioned above, the coefficients by which the mass air flow is divided likely need some adjustments.
The dynamic pressure (aka |
Hi Bertrand, Yes, the reason I would test that on qbar is so that I can see the ratio between N1 and N2 to check the coefficient - since it seems after your changes the numbers are very very low and it is not easy to check. Kind Regards, |
Since the value N1 is equal to
As I already mentioned, the constants 10 and 15 probably need to be tweaked. If you find the value N1 and N2 to be too low then you need to replace the constants 10.0 and 15.0 by smaller values. double AirFlow = in.Density * in.AeroUVW(eU);
N1 = Seek(&N1, AirFlow/10.0, N1/2.0, N1/N1_spindown);y
N2 = Seek(&N2, AirFlow/15.0, N2/2.0, N2/N2_spindown); Also I would like to mention that the windmilling engine in |
I see what you mean, sorry - I had a stupid moment there - of course the coefficient will change with a new value being used not qbar. Kind Regards, |
Any progress on this topic ? |
Apologies, I've been particular busy with my life especially my health. I'll try to get it as soon as possible for you Kind Regards, |
Oh ! Sorry, my apologies. There is no rush answering this topic. |
No worries! I am glad you did as I had forgotten in the time. I've written it in my to-do. Kind Regards, |
Apologies for further delays - my health is recovered and I am now back at FG so I'll definitely get this soon. |
By the way, I don't know if this is related, but... If I throw the model up in the air or disable |
Hi, I need to do more research first before I can make a recommendation. I got some conflicting info but didn't have time to check further. Thanks for your patience. |
Here is a potentially useful paper (I haven't paid the $25 to download it) - Modelling and Analysis of Turbofan Engines Under Windmilling Conditions I'm not suggesting that we implement a full high-fidelity windmilling model, but rather that we should be able to find some first or 2nd order approximation from the paper that we can use to generate at least semi-realistic N1/N2 values. |
Or if we could get hold of the DFDR data from the B767 Gimli Glider or A330 Azores Glider we could take a look at their N1/N2 windmilling values as they both glided down from cruising altitude. |
While looking into something else I came across this table. Now if you look at the qbar values in the table and the fact that under windmilling conditions |
@Octal450 @bcoconni I've recreated the table above and added in a column to show the ram airflow as suggested by @bcoconni.
And then shown what the current JSBSim will output for N1 based on Now if we could get some real-world windmilling data we could compare and see which one, qbar versus ram airflow would be a better match for the real-world. |
Thanks @seanmcleod. Unsurprisingly, the values are much lower using the intake airflow than I'd suggest comparing the N1 values with the pilot manual and more specifically to the restart/relight flight envelope. As a rule of thumb, N1 should be below the idle regime in the restart envelope and closer to (or above ?) the idle regime in the relight envelope. See the image below showing a typical restart envelope for a civil turbofan (from Gas Turbine Performance - 2nd edition, P.P. Walsh & P. Fletcher) |
So looking at the left edge of the windmill regime, i.e. line passing through points (M0.3, 0m), (M0.4, 4000m), (M0.5, 8000m). Now I thought it might turn out the line represented a linear mapping from airflow to some minimum N1 % for engine start, e.g. 20%. But it doesn't. Maybe it's a naïve assumption that the line represents a constant N1 % though? It does end up pretty much as being fairly close to linear to |
@bcoconni I see chapter 10 in Gas Turbine Performance - 2nd edition, P.P. Walsh & P. Fletcher, is all about windmilling. In particular information on the drag produced when windmilling, which as you mentioned is currently missing in JSBSim and also rotational speeds. Just taken a quick initial glance at the chapter so far. In terms of rotational speeds for turbofans. So we should be able to get at least representative figures. There are references to:
|
Yes that looks pretty good @seanmcleod , sadly I still haven't received any info about the actual numbers...perhaps such data is not available to the pilots. Kind Regards, |
I've written some code to compare the N1 speeds based on using our current See the following Jupyter notebook for the code - https://github.com/seanmcleod/JSBSimTesting/blob/main/Turbofan%20Windmilling.ipynb Here are the results. Let me know if you spot any errors with the code that produced them. |
I'm no expert in that language, but the result from your "model" looks quite nice. Kind Regards, |
@bcoconni please take a look at the notebook above when you get a chance. |
@seanmcleod looks good to me. I guess the reason why the curves do not match is that the engine components downstream of the inlet have an influence on the air mass flow and that we cannot simply assume that the air velocity at the inlet equals the aircraft velocity. |
^ IDG A32X
Hi guys -- even at a high speed, this makes no sense. At low speeds too, the windmilling is too high. This can be see here:
^ IDG MD-11
I will get the values of what it should be about windmilling at. N2 seems plausible, but N1 is just nonsensical.
Any thoughts?
Kind Regards,
Josh
The text was updated successfully, but these errors were encountered: