Learn R Programming

bReeze (version 0.1-0)

plotTurbIEC: Plot turbulence intensity site classification

Description

Plots the turbulence intensity and site classification after IEC.

Usage

plotTurbIEC(mast, set, ...)

Arguments

mast
Met mast object created by createMast.
set
Set used for plotting as integer value.
...
Optional graphical parameters, see below for details.

encoding

UTF-8

Optional graphical parameters

The following graphical parameters can optionally be added to customize the plot:
  • col: Colour, used to fill the bars.
  • border: Colour, used for the border around the bars.
  • space: Numeric value between 0 and 1, giving the space left before each bar. Default space is0.2.
  • line: Vector of three colours -- one for each IEC turbulence class.
  • lty: Vector of three line types -- one for each IEC turbulence class. Seeparfor available line types.
  • lwd: Vector of three line widths -- one for each IEC turbulence class. Seeparfor usage.
  • cex: Numeric value, giving the amount by which text on the plot should be scaled relative to the default (which is 1).

Details

The IEC defines wind turbine classes by wind speed and turbulence characteristics. In terms of turbulence intensity three reference values (at 15 m/s) are defined: ll{ Turbulence class Reference value A 0.16 B 0.14 C 0.12 } plotTurbIEC plots these IEC references together with the sites values to allow for a classification.

See turbulence for a definition of turbulence intensity.

References

International Electrotechnical Commission (2005) IEC 61400-1 Wind Turbines -- Part 1: Design Requirements. IEC Standard

See Also

createMast

Examples

Run this code
# load and prepare data
data(winddata)
set40 <- createSet(height=40, v.avg=winddata[,2], v.std=winddata[,5])
set30 <- createSet(height=30, v.avg=winddata[,6], v.std=winddata[,9])
set20 <- createSet(height=20, v.avg=winddata[,10], v.std=winddata[,13])
ts <- formatTS(winddata[,1])
neubuerg <- createMast(time.stamp=ts, loc=NULL, desc=NULL, 
	set40, set30, set20)
neubuerg <- clean(neubuerg)

# plot
plotTurbIEC(neubuerg, set=1)

# customize bars
plotTurbIEC(neubuerg, set=1, col="gray", border="black", space=0.6, 
	cex=1.2)
plotTurbIEC(neubuerg, set=2, col="brown", border="brown", space=0.1)

# customize lines
plotTurbIEC(neubuerg, set=1, line="darkgreen", lty="dashed", lwd=0.5:2.5)
plotTurbIEC(neubuerg, set=2, line=c(3,4,2), lty=c(3,2,1), lwd=2, cex=0.8)

Run the code above in your browser using DataLab