Parse a CSV (or data.frame) with wind speed and power
in kW. Understands NREL/IEA headers such as Wind Speed [m/s]
and Power [kW]. Optional Ct is returned as an attribute.
Does not ship manufacturer curves; pass your own file or an open
IEA/NREL reference CSV. See experimental/climate_helpers.R.
Value
A data.frame with ws and power. Attribute ct is a
matching data.frame when a thrust column is present.
See also
Other Helper Functions:
get_grids(),
grid_area(),
hexa_area(),
isSpatial(),
permutations(),
splitAt(),
wind_from_series(),
wind_from_uv(),
windata_format()
Examples
curve <- data.frame(
`Wind Speed [m/s]` = c(3, 8, 12, 25),
`Power [kW]` = c(0, 1200, 2000, 2000),
check.names = FALSE
)
read_power_curve(curve)
#> ws power
#> 1 3 0
#> 2 8 1200
#> 3 12 2000
#> 4 25 2000