pow.work {renpow} | R Documentation |
Mechanical power and work
Description
Calculates and plots mechanical power and work.
Usage
pow.work(t, pow = "const", p)
pow.work.plot(x)
Arguments
t |
Values of a time sequence for calculation of power |
pow |
Mode of power calculation, constant or linear |
p |
Value of power for constant or slope for linear |
x |
power object calculated from pow.work |
Details
A call to pow.work requires three arguments: a time sequence, a type of power function such as constant or linear, and a value of power for the parameter of the function.
Value
The output of pow.work contains the values of power and work as a function of time. Then we call the plot function using its output as argument to the pow.work.plot function
t |
time sequence |
p.w |
matrix containing with power and work |
Note
Functions used in Chapter 1 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
t <- seq(0,60,0.1)
x <- pow.work(t,pow="const",p=2)
pow.work.plot(x)
x <- pow.work(t,pow="linear",p=0.025)
pow.work.plot(x)