gridoxide is a power flow analysis tool written in Rust. It uses the Newton-Raphson method to solve the power flow equations for an electrical grid defined in a JSON file.
To build the project, you need to have the Rust toolchain installed. You can find instructions on how to install it at rustup.rs.
Once you have Rust installed, you can build the project by running:
cargo buildFor an optimized release build, use:
cargo build --releaseYou can run the program using cargo run:
cargo runIf you have built the project, you can also run the executable directly. From the project root:
For a debug build:
./target/debug/gridoxideFor a release build:
./target/release/gridoxideTo run the tests for the project, use:
cargo test