hkinke / yanecis

Yet Another Electrical Circuit Solver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yet Another Electrical Circuit Solver

Installation

pip install -e git+https://github.com/hkinke/yanecis.git#egg=yanecis

Example Circuit

from yanecis import Resistor,Voltage,Circuit

V1=Voltage(1,0,1)
R1=Resistor(1,2,1)
R2=Resistor(2,0,1)
R3=Resistor(2,0,1)

cir=Circuit()
cir.add(V1)
cir.add(R1)
cir.add(R2)
cir.add(R3)

cir.op()

About

Yet Another Electrical Circuit Solver

License:GNU General Public License v3.0


Languages

Language:Python 100.0%