An algorithm to emulate a certain class of electronical analogical circuits written in Rust.
- Install Rust and Cargo: https://www.rust-lang.org/tools/install.
- Clone the repository:
git clone https://github.com/Silzinc/circuits_simulator.git
. - Change directory to the project:
cd circuits_simulator
. - Test the project's RLC circuit example:
A plot of the tension felt by the capacitor and the tension outputed by the generator will be created in the
cargo +stable run --release --example rlc_square_wave
out/
directory.
Run cargo doc
and open target/doc/circuits_simulator/index.html
.