Calculate turbulance.

Turbulance is based off time of day, and day of year.
Each theatre may adjust their turbulance parameters.
This commit is contained in:
SnappyComebacks
2022-11-18 16:15:47 -07:00
parent bc6f953f76
commit 1eccedb74d
14 changed files with 168 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ class EnvironmentGenerator:
def set_atmospheric(self, atmospheric: AtmosphericConditions) -> None:
self.mission.weather.qnh = atmospheric.qnh.mm_hg
self.mission.weather.season_temperature = atmospheric.temperature_celsius
self.mission.weather.turbulence_at_ground = int(atmospheric.turbulance_per_10cm)
def set_clouds(self, clouds: Optional[Clouds]) -> None:
if clouds is None: