TrueAirSpeed1: True airspeed (alternative 1)

Description Usage Arguments Details Value Examples

Description

This function is the first function for evaluating the effect of wind on flight speed. It calculates true airspeed from user-defined x,y,z- windspeed components.

Usage

1
TrueAirSpeed1(FlightSpeedComponents, WindSpeed.x, WindSpeed.y, WindSpeed.z)

Arguments

FlightSpeedComponents

Components of speed of flight

WindSpeed.x

x-compenent of speed of wind

WindSpeed.y

y-compenent of speed of wind

WindSpeed.z

z-compenent of speed of wind

Details

If x,y,z-components of wind speed are not given, flight speed obtained from FlightSpeedComponents is assumed as true airspeed.

Value

True airspeed

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
x <- c(1:5)
y <- c(1:5)
z <- c(1:5)
t <- c(1:5)
wx <- seq(0.05,1,length.out=5)
wy <- seq(0.06,1.2,length.out=5)
wz <- seq(0.07,1.5,length.out=5)
FS.Components <- FlightSpeedComponents(t,x,y,z)

# When wind speed components are not given
T.airspeed <- TrueAirSpeed1(FS.Components)

# When wind speed components are given
T.airspeed <- TrueAirSpeed1(FS.Components, wx, wy, wz)

Josephine-Tetteh/FlightSim-updates documentation built on May 9, 2019, 3:26 a.m.