Giter Site home page Giter Site logo

rlc-simulator's Introduction

Documentatia in limba romana poate fi gasita aici.

RLC Simulator

This is the code for an RLC circuit simulator. The program renders an interactive representation of an RLC circuit with options to change the value of the components, render the graph of the voltage across the capacitor, and get the value of certain variables.

Requirements

The only requirements for compiling the main executable of the program and running it are pyinstaller and any Windows installation above Vista.

Compilation

To compile it, you simply need to run the "compile.bat" script with administrator privileges.

Usage

To start using the program, open circuit.exe within the root folder of the program.

Checking the value of a component

To check the value of a component, simply click on the corresponding image on the circuit, and the value, along with the unit it's measured in, will be displayed on top.

clip1.mp4

Modifying the value of a component

To modify the value of a component, click on the "Valori RLC" button on the bottom-left of the window. This will open a menu as a parallel process that allows you to edit the value of the desired component. Simply change the number next to its name and then click on "START!". Floating-point numbers are allowed.

clip2.mp4

Rendering the voltage graph

To render the graph of the voltage across the capacitor, press the button on the middle-bottom of the window. This action triggers the rendering of the capacitor's voltage function, specifically for the initial 300 nanoseconds of the circuit's operation.

clip3.mp4

Getting circuit variables

On the bottom-right corner of the window, you can press the "Calcule" button to get the value of a variable specific to the circuit. Simply select its name from the menu that will pop up, then click on the "Calculeaza" button. The value will be printed on the top of the main window.

clip4.mp4

Use Case

image

This program is meant to be used within my University's physics lab during the study of the RLC circuit. Outside of this, it has little practicality.

rlc-simulator's People

Contributors

lukapopovici avatar

Stargazers

 avatar Andrei Burlacu avatar  avatar  avatar Stefan Leustean avatar  avatar Timotei avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.