AC-DC power electronics {renpow} | R Documentation |
AC-DC and DC-AC in the time domain
Description
Calculates and plots AC sinusoidal waves in the time domain and phasors.
Usage
rectifier(v.t, full = FALSE)
ac.plot.rect(V.t, v.lab = "v(t)", v.units = "V", y.lab = "v(t)[V]", rms = FALSE)
inverter(x)
Arguments
v.t |
Values of AC variable at time intervals calculated using waves |
full |
Logical to use full wave rectifier |
V.t |
output of rectifier |
v.lab |
Label for variable in time domain plot or phasor plot; time domain would typically include (t) and phasor would be upper case |
v.units |
Units for variable in time domain plot or phasor plot; time domain would typically include (t) and phasor would be upper case |
y.lab |
Label for y axis composed of variable label and units |
rms |
Logical for whether the RMS value is addedd to the plot |
x |
list(f,vin,nc): frequency, input voltage, number of cycles |
Details
Calculations of basic power electronics devices
Value
V.t |
output of rectifier list(w,t,nw,ym,ang,y,yrms,yavg) |
vtr |
Values of rectified AC variable at time intervals calculated using rectifier |
Note
Used in Chapter 5 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)
Irwin, J.D. and R.M. Nelms. 2011. Basic Engineering Circuit Analysis. 11th edition. 2011: Wiley.
See Also
AC functions ac.plot
, phasor.plot
, waves
Examples
# rectified wave
v.AC <- list(c(170,0))
v.t <- waves(v.AC,nc=4)
V.t <- rectifier(v.t)
ac.plot.rect(V.t)
# inverter
x <- list(f=60,vin=170,nc=2)
inverter(x)