Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Would it be useful to have the condensation trails lower in winter?  (Read 136 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6066

I've altered Atmosphere.class so as to apply a varying rate of temperature decrease with altitude based on the surface temperature. In other words, I implement a varying environmental lapse rate. Formerly, no matter the surface air temperature the same temp decrease for unit alt increase was applied. This resulted in the temp at 7,000m--where condensation trails form--to vary from +5C to -56.5C (the lowest permitted temp) when the surface temp was between +50C and -11C, respectively.

My scheme has a steeper temp decrease for hot maps and a more gradual temp decrease for cold maps. The same lapse rate as for the stock scheme occurs for a surface temp of +15C. And so at the 7,000m condensation alt, the temp range of -5C to -56.5C applies for surface temps of +50C to -28C, respectively.

To put into a bit better perspective:
- At 7,000m, for a surface temp of +50C my temp is 10C colder.
- For a surface temp of -50C, the stock height where the temp falls to the min permitted of -56.5C is 1,000m; my scheme has that same -56.5C occur at 3,000m.

Now, whether the stock or my modified scheme is in effect, I feel that given the huge range of surface temps possible, the height at which condensation trails occur should vary at least somewhat. In colder weather the condensation alt can be made lower. To avoid the potential for the condensation trails to switch on and off due to a change to the height threshold as the surface temp varies over the course of a longer mission, the dynamically determined surface temp during play would not be a wise variable upon which to determine the threshold height. Rather, some other more constant temp read or calculated from a map's load.ini would be safer to use.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Whiskey_Sierra_972

  • Modder
  • member
  • Offline Offline
  • Posts: 6654
  • In memory of my beloved hero: Saburo SAKAI!
Re: Would it be useful to have the condensation trails lower in winter?
« Reply #1 on: January 23, 2025, 09:37:31 AM »

With your new parameters what 'll be the lowest condensation altitude?
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6066
Re: Would it be useful to have the condensation trails lower in winter?
« Reply #2 on: January 23, 2025, 11:23:23 AM »

I cooked up some code in AircraftState.update() as a test of concept. I provided a linearly scaled function (via the ever handy cvt() method) which has the condensation alt go from 7,000m down to 3,000m when the map's load.ini TEMPERATURE ranges between +10C and -35C. Outside of this range the height is fixed at either 7,000m or 3,000m. I did a test flight and it worked.

It would be neat to also vary the height of the high cloud layer. But it seems that's handled outside of the Java classes and thus is inaccessible to me.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 24 queries.