Node-Voltage-Calculator is a web application designed to calculate the voltages in a DC circuit using the node analysis by inspection method. It simplifies the process of analyzing circuit voltages by providing a user-friendly interface where users can input circuit parameters and obtain voltage calculations quickly. This was a bonus project for my Circuits II course, but I decided to take it as a learning opportunity and learn more about Express.js.
- Node Analysis by Inspection: Utilizes the node analysis method to compute voltages within the circuit.
- Easy Input: Users only need to enter the conductances of the circuit and sources.
- Express.js Backend: Utilizes Express.js for the backend implementation.
- Vanilla Frontend: The frontend is built using vanilla JavaScript for simplicity and efficiency.
- Input Circuit Parameters: Enter number of nodes of the circuit then enter the conductances of the circuit and the sources into the provided fields.
- Compute: Click on the submit button to initiate the voltage calculation process.
- View Results: Obtain the calculated voltages for the circuit nodes.
To run the Node-Voltage-Calculator locally, follow these steps:
-
Clone the repository:
git clone https://github.com/theJudyEssam/Node-Voltage-Calculator.git
-
Navigate into the project directory:
cd Node-Voltage-Calculator
-
Install dependencies:
npm install express npm install mathjs npm install nodemon
-
Run the application:
npm run devStart
-
Access the application in your web browser at
http://localhost:5000
.
Contributions to the Node-Voltage-Calculator project are welcomed and appreciated. If you have suggestions for features, bug fixes, or general improvements, feel free to open an issue or submit a pull request.