Learn R Programming

windfarmGA (version 4.0.0)

barometric_height: 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)

Value

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

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)

See Also

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

Examples

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

Run the code above in your browser using DataLab