barometric_height: Calculates Air Density, Air Pressure and Temperature...

View source: R/barometric_height.R

barometric_heightR Documentation

Calculates Air Density, Air Pressure and Temperature according to the Barometric Height Formula

Description

Calculates air density, temperature and air pressure respective to certain heights according to the International standard atmosphere and the barometric height formula.

Usage

barometric_height(data, height, po = 101325, ro = 1.225)

Arguments

data

A data.frame containing the height values

height

Column name of the height values

po

Standardized air pressure at sea level (101325 Pa)

ro

Standardized air density at sea level (1,225 kg per m3)

Value

Returns a data.frame with height values and corresponding air pressures, air densities and temperatures in Kelvin and Celsius.

See Also

Other Wind Energy Calculation Functions: calculate_energy(), circle_intersection(), get_dist_angles(), turbine_influences()

Examples

data <- matrix(seq(0, 5000, 500))
barometric_height(data)
plot.ts(barometric_height(data))

YsoSirius/windfarmGA documentation built on March 13, 2024, 8:37 a.m.