FoxySim – minimalistic AC/DC circuits online simulator wriiten in Go

Written by
Link to Post

https://www.reddit.com/r/golang/comments/aelucz/foxysim_minimalistic_acdc_circuits_online/

Hello, Go peoples!

FoxySim is Web-application (written in Go) intended for online simulation DC & AC electric circuits. This app may be used in teaching theoretical electrical engineering.

GitHub: https://github.com/Dreamy16101976/FoxySim

Live simulator running on address: http://foxylab.com:7777

Brief description of netlist format: http://foxylab.com:7777/help

When teaching theoretical electrical engineering, much attention is paid to the calculation of linear circuits of sinusoidal current in the steady state. In SPICE, the calculation of this mode is not convenient, but for my simulator this is the native mode.

Divide the circuit into elements, number the nodes, enter the netlist, press the button Go! and get the currents, voltages, power, readings of ammeters, voltmeters, wattmeters etc.

Perhaps some of the gophers will be interested.

Example:

DC:

DC circuit

Netlist:

.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

Netlist in simulator

Results

AC:

AC circuit

Netlist:

.AC 50

V1 1 0 60 0

PW1 1 2 1 0

PA1 2 3

PV1 1 0

R1 3 4 30

L1 4 0 100m

K1 L1 L2 0.8

L2 5 0 200m

R2 5 6 50

PA2 6 7

R3 7 0 100

PV2 7 0

.END

Results

submitted by /u/FoxyLab
[link] [comments]

Article Tags:
· ·
Article Categories:
reddit

Leave a Reply