v1.0.2
atmospeed
표준 및 비표준 대기 특성과 속도 변환을 계산합니다. 1976년 미국 표준 대기 정의를 사용합니다.
0좋아요 5230일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
표준 및 비표준 대기 특성과 속도 계산, 그리고 속도 변환을 위한 Dart 패키지입니다.
^1.0.0^1.21.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A Dart library to perform standard and non-standard atmosphere property calculations and speed conversions. Based on the 1976 US Standard Atmosphere (NASA-TM-X-74335) methodologies and valid through 20 km (stratopause) for atmospheric flight calculations (identical to ICAO and International Standard Atmosphere definitions through 20 km).
No prerequisites, simply add Atmospeed to the pubspec.yaml file:
dependencies:
atmospeed: ^1.0.0
Atmo point condition:// 18455 ft pressure alt, ISA+13C temperature
Atmo atmo = Atmo(hp: 18455, temperature: 13);
// 11249 m pressure alt, -51.5 OATC temperature
Atmo atmo1 = Atmo(hp: 11249, unitAltitude: LengthUnit.m, temperature: -51.5, temperatureIsDeltaISA: false);
atmo.getDelta(); // δ = 0.4901
atmo.getTheta(); // θ = 0.9182
atmo1.getSigma(); // σ = 0.2792
atmo1.getDeltaISA(); // ISA+5C
Speed point and convert to another speed type for an Atmo point condition:// Define CAS as 255.6 knots
Speed kcas = Speed(value: 255.6, type: SpeedType.cas);
// Calculate EAS, TAS and Mach at atmo point
kcas.toEAS(atmo); // 251.1 KEAS
kcas.toTAS(atmo); // 343.7 KTAS
kcas.toMach(atmo); // Mach 0.5422
// Convert a Speed object's speed to another unit; example knots to mph conversion
var mph_cas = kcas.convertSpeed(SpeedUnit.kts, SpeedUnit.mph);
// Or convert any double value between any two speed units
174.6.convertSpeed(SpeedUnit.kmh, SpeedUnit.fps); // 159.1 ft/sec
// Calculate pressure altitude form airport elevation and altimer setting
Altitude.pressureAltitude(airportElevation: 3456, airportAltimeter: 29.73); // 3632.2 ft
See additional examples in the /example folder.
This library limits calculations to an altitude of 20km (65617 ft) and is intended for atmospheric flight calculations below the stratopause.