{"id":17059466,"url":"https://github.com/alexius-huang/thevenin","last_synced_at":"2026-01-20T02:05:27.611Z","repository":{"id":40922937,"uuid":"220669125","full_name":"Alexius-Huang/Thevenin","owner":"Alexius-Huang","description":"An elegant circuitry simulation website","archived":false,"fork":false,"pushed_at":"2022-12-10T08:23:30.000Z","size":1852,"stargazers_count":2,"open_issues_count":24,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T05:56:14.602Z","etag":null,"topics":["circuit","circuit-simulation","graph-algorithm","jest","nextjs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alexius-Huang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-09T16:20:13.000Z","updated_at":"2023-03-04T04:47:35.000Z","dependencies_parsed_at":"2023-01-26T04:46:33.985Z","dependency_job_id":null,"html_url":"https://github.com/Alexius-Huang/Thevenin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexius-Huang%2FThevenin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexius-Huang%2FThevenin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexius-Huang%2FThevenin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexius-Huang%2FThevenin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alexius-Huang","download_url":"https://codeload.github.com/Alexius-Huang/Thevenin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415783,"owners_count":20935383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["circuit","circuit-simulation","graph-algorithm","jest","nextjs","typescript"],"created_at":"2024-10-14T10:34:26.528Z","updated_at":"2026-01-20T02:05:27.573Z","avatar_url":"https://github.com/Alexius-Huang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thévenin\n\n[![Build Status](https://travis-ci.com/Maxwell-Alexius/Thevenin.svg?branch=master)](https://travis-ci.com/Maxwell-Alexius/Thevenin) [![Coverage Status](https://coveralls.io/repos/github/Maxwell-Alexius/Thevenin/badge.svg?branch=master)](https://coveralls.io/github/Maxwell-Alexius/Thevenin?branch=master)\n\n\u003e An elegant circuitry simulation website.\n\nOverall Status: **Under Development**\n\n## Details\nUsing TypeScript and working on several parts:\n\n- Main Circuit Library:\n  - `Circuit`: Main wrapper for the circuit simulation\n  - `Circuit.Unit`: Circuit grid system represented by circuit-unit to place different components or wire\n  - `Circuit.Electronic`: Electronic component class\n  - `Circuit.Electronic.Unit`: Electronic component unit mapping with respect to the grid circuit unit\n  - `Circuit.Graph`: The graph data structure to represent the circuit (converted from grid of `Circuit.Unit`)\n  - `Circuit.GaussianElimination`: Implementation of [Gaussian Elimination](https://www.wikiwand.com/en/Gaussian_elimination) method for determine the result of multi-variable equations by representing and solving the matrix\n  - `Circuit.Equation`: Construct node-voltage equation\n  - `Circuit.SimultaneousEquations`: Collection of node-voltage equations and solve by Gaussian Elimination\n  - `Circuit.Simulation`: The circuit **simulation** algorithm part using [Nodal Voltage Analysis](https://www.wikiwand.com/en/Nodal_analysis) which consists of several phases including:\n    - 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\n    - 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](https://www.wikiwand.com/en/Kirchhoff%27s_circuit_laws))\n    - **[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\n\n- Using Jest test framework to write Unit/Integration tests\n\n- **[Will Implement After Completing the Circuit Library]** Frontend UI: Using Next.JS framework, Redux (with TypeScript) \n  - Details will be planned on the future...\n\n## Maintainer\n[Maxwell Alexius](https://svartalvhe.im/maxwell-alexius)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexius-huang%2Fthevenin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexius-huang%2Fthevenin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexius-huang%2Fthevenin/lists"}