Thevenin

An elegant circuitry simulation website

Stars
2

Thévenin

An elegant circuitry simulation website.

Overall Status: Under Development

Details

Using TypeScript and working on several parts:

  • Main Circuit Library:

    • Circuit: Main wrapper for the circuit simulation
    • Circuit.Unit: Circuit grid system represented by circuit-unit to place different components or wire
    • Circuit.Electronic: Electronic component class
    • Circuit.Electronic.Unit: Electronic component unit mapping with respect to the grid circuit unit
    • Circuit.Graph: The graph data structure to represent the circuit (converted from grid of Circuit.Unit)
    • Circuit.GaussianElimination: Implementation of Gaussian Elimination method for determine the result of multi-variable equations by representing and solving the matrix
    • Circuit.Equation: Construct node-voltage equation
    • Circuit.SimultaneousEquations: Collection of node-voltage equations and solve by Gaussian Elimination
    • Circuit.Simulation: The circuit simulation algorithm part using Nodal Voltage Analysis which consists of several phases including:
      • Supernode Propagation - Propagates through the circuit graph generated from Circuit.Graph and convert voltage source related Circuit.Graph.Node into a single super node with different biased voltage
      • Node-Voltage Matrix Derivation - Deriving the node voltage matrix to solve for each components' (represented by Circuit.Graph.Edge) current values (based on KCL from Kirchhoff's Circuit Law)
      • [TBD] Ending Phase - After deriving the current of the loads such resistors, scanning through the circuit and derive rest of the node-voltage and other underived component's current according to KVL and KCL
  • Using Jest test framework to write Unit/Integration tests

  • [Will Implement After Completing the Circuit Library] Frontend UI: Using Next.JS framework, Redux (with TypeScript)

    • Details will be planned on the future...

Maintainer

Maxwell Alexius

Badges
Extracted from project README
Build Status Coverage Status
Related Projects