FoxySim - online circuit simulator

Help

Directives
DC circuit analysis .DC
AC circuit analysis .AC frequency
regular frequency in Hz - by default or the symbol f at the end of the value;
angular frequency in rad/s - the symbol w at the end of the value;
the frequency may not be specified if the circuit do not exist components L and C
define parameter .PARAM name value
In the netlist, the parameter is substituted in the form {name}
printing phases in degrees
(by default)
.DEG
printing phases in radians .RAD
printing values in fixed-point notation
(by default)
.FIX number_of_decimal_places
if number of decimal places is not specified, displays six decimal places
printing values in scientific notation .SCI number_of_significant_digits
if number of significant digits is not specified, displays four significant digits after decimal point
end of netlist .END


Components
Voltage source DC: Vname N1 N2 value
AC: Vname N1 N2 RMS_value phase
phase by default equal to zero;
phase in degrees - by default or the symbol d at the end of the value;
phase in radians - the symbol r at the end of the value
Current source DC: Iname N1 N2 value
AC: Iname N1 N2 RMS_value phase
phase by default equal to zero;
phase in degrees - by default or the symbol d at the end of the value;
phase in radians - the symbol r at the end of the value
VCVS DC: Ename N1 N2 gain
AC: Ename N1 N2 gain phase
phase by default equal to zero;
phase in degrees - by default or the symbol d at the end of the value;
phase in radians - the symbol r at the end of the value
CCCS DC: Fname N1 N2 gain
AC: Fname N1 N2 gain phase
phase by default equal to zero;
phase in degrees - by default or the symbol d at the end of the value;
phase in radians - the symbol r at the end of the value
VCCS DC: Gname N1 N2 gain
AC: Gname N1 N2 gain phase
phase by default equal to zero;
phase in degrees - by default or the symbol d at the end of the value;
phase in radians - the symbol r at the end of the value
CCVS DC: Hname N1 N2 gain
AC: Hname N1 N2 gain phase
phase by default equal to zero;
phase in degrees - by default or the symbol d at the end of the value;
phase in radians - the symbol r at the end of the value
Resistor Rname N1 N2 value
Inductance Lname N1 N2 value
Inductive coupling Kname Lname Lname coeff.
Capacitance Cname N1 N2 value
Complex
impedance
in exponential form:
Zname N1 N2 magnitude phase
phase by default equal to zero;
phase in degrees - by default or the symbol d at the end of the value;
phase in radians - the symbol r at the end of the value

in cartesian form:
Zname N1 N2 resistance reactancei
Transmission
line
RG-line: TRname N1 N2 N3 charact._impedance propagation_constant length
RGLC-line: TZname N1 N2 N3 charact._impedance propagation_constant length
characteristic impedance and propagation constant is given in complex form (cartesian or exponential)
Ampermeter PAname N1 N2
Voltmeter PVname N1 N2
Wattmeter PWname N1 N2 N3 N4
Varmeter PQname N1 N2 N3 N4
Phasemeter PFname N1 N2 N3 N4


Comments
*comment

Examples of circuit description
DC circuit
.DC
V1 1 0 10
R1 1 2 5
R2 2 0 15
R3 2 3 20
V2 3 0 30
I1 2 0 5
.END
AC circuit
.AC 50
V1 1 0 100 0
PW1 1 2 1 0
PQ1 2 3 2 0
PF1 3 4 3 0
PA1 4 5
PV1 1 0
R1 5 6 50
L1 6 7 100m
C1 7 0 80u
.END
<<< Back
 © Alexey "FoxyLab" Voronin
 FoxySim powered by golang