functions.hydrowavepower: Wave Power Functions

Description Usage Arguments Details Value Note Author(s) References Examples

Description

Calculations in wave power generation

Usage

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)

Arguments

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

Details

Basic calculations for wave power

Value

Eg

Energy produced by energy.gen function

Note

Functions used in Chapter 12 of Acevedo (2018)

Author(s)

Miguel F. Acevedo acevedo@unt.edu

References

Acevedo, M.F. 2018. Introduction to Renewable Electric Power Systems and the Environment with R. Boca Raton, FL: CRC Press. (ISBN 9781138197343)

Examples

 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)")

renpow documentation built on May 1, 2019, 6:49 p.m.