Description Usage Arguments Details Value Note Author(s) References Examples
Calculations in wave power generation
1 2 3 4 5 6 | generate.duration(file)
powflux.wave(Hs, Tp)
wave.contour(X,label,sum, sumlabel)
duration.wave(datafile, file=TRUE)
energy.wave(Pflux, D)
energy.gen(Ew, L, nu)
|
datafile |
either a data file name or a renpow dataset |
file |
a logical to decide between a data file or a dataset |
Hs |
height in HsTp matrix |
Tp |
duration in HsTp matrix |
X |
Object to plot as contour; can be Pflux, Ew, or Eg |
Pflux |
Power flux produced by powflux.wave function |
Ew |
Energy produced by energy.wave function |
label |
label for plot; the default is "" |
sum |
logical default TRUE |
sumlabel |
label for sum; the default is "" |
D |
duration produced by duration.wave function |
L |
length of structure or energy conversion device |
nu |
efficiency |
Basic calculations for wave power
Eg |
Energy produced by energy.gen function |
Functions used in Chapter 12 of Acevedo (2018)
Miguel F. Acevedo acevedo@unt.edu
Acevedo, M.F. 2018. Introduction to Renewable Electric Power Systems and the Environment with R. Boca Raton, FL: CRC Press. (ISBN 9781138197343)
1 2 3 4 5 6 7 8 9 10 11 | Pflux <- powflux.wave(Hs=seq(1,10),Tp=seq(5,20))
wave.contour(X=Pflux,label="Power flux (kW/m)")
D <- duration.wave(WaveHsTp,file=FALSE)
# alternatively using file in extdata
# D <- duration.wave(system.file("extdata","WaveHsTp.csv",package="renpow"))
wave.contour(X=D,label="Duration (hrs/yr)")
Ew <- energy.wave(Pflux,D)
wave.contour(X=Ew,label="Energy flux (MWh/yr/m)",sum=TRUE,sumlabel="(MWh/yr/m)")
Eg <- energy.gen(Ew,L=30,nu=0.4)
wave.contour(X=Eg,label="Energy produced (MWh/yr)",sum=TRUE,sumlabel="(MWh/yr)")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.