Skip to content

theJudyEssam/Node-Voltage-Calculator

Repository files navigation

Node-Voltage-Calculator

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.

Features

  • 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.

Usage

  1. Input Circuit Parameters: Enter number of nodes of the circuit then enter the conductances of the circuit and the sources into the provided fields.
  2. Compute: Click on the submit button to initiate the voltage calculation process.
  3. View Results: Obtain the calculated voltages for the circuit nodes.

Installation

To run the Node-Voltage-Calculator locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/theJudyEssam/Node-Voltage-Calculator.git
  2. Navigate into the project directory:

    cd Node-Voltage-Calculator
  3. Install dependencies:

    npm install express
    npm install mathjs
    npm install nodemon
  4. Run the application:

    npm run devStart
  5. Access the application in your web browser at http://localhost:5000.

Contributing

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.

About

A web app that calculates the voltages in a DC circuit using the node analysis by inspection method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •