Learn R Programming

renpow (version 0.1-1)

transformer: Transformer Circuits

Description

Calculates tranformer circuits

Usage

xformer.ckt(x, dig = 2)

Arguments

x

list(N,Vs.p,Zs.r,Zo.r,Zl.r): these are N turns ratio, Vs.p Voltage source in polar form, Zs.r Source impedance in rectangular form, Zo.r Output impedance in rectangular form, Zl.r Load impedance in rectangular form.

dig

number of digits for results

Value

ys

Source results

yx

Transformer results

yl

Load results

prnt

Results of transformer function for printout form

Details

xformer.ckt transformer circuit calculations using source, impedances, and load,

References

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

See Also

AC functions ac.plot, phasor.plot, waves

Examples

Run this code
# NOT RUN {
x <- list(N=c(2,1),Vs.p=c(12,30),Zs.r=c(1,0),Zo.r=c(0,0),Zl.r=c(1,0))
xf <- xformer.ckt(x)

# }

Run the code above in your browser using DataLab