Documentatia in limba romana poate fi gasita aici.
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.
The only requirements for compiling the main executable of the program and running it are pyinstaller and any Windows installation above Vista.
To compile it, you simply need to run the "compile.bat" script with administrator privileges.
To start using the program, open circuit.exe within the root folder of the program.
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
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
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
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
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.