oxigrid 0.1.0

Pure Rust Energy Systems Simulation & Optimization Library
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.75"
name = "oxigrid"
version = "0.1.0"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust Energy Systems Simulation & Optimization Library"
homepage = "https://github.com/cool-japan/oxigrid"
documentation = "https://docs.rs/oxigrid"
readme = "README.md"
keywords = [
    "power-systems",
    "energy",
    "simulation",
    "grid",
    "optimization",
]
categories = [
    "science",
    "simulation",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxigrid"

[features]
battery = []
battery-p2d = ["battery"]
default = [
    "std",
    "powerflow",
    "stability",
    "battery",
    "battery-p2d",
    "renewable",
    "optimize",
    "harmonics",
    "protection",
    "powerelectronics",
]
forecast-ml = ["renewable"]
harmonics = []
io-csv = []
io-matpower = ["powerflow"]
io-oxirs = []
no_std_compat = []
optimize = ["powerflow"]
parallel = [
    "std",
    "dep:rayon",
]
powerelectronics = []
powerflow = []
protection = ["powerflow"]
renewable = []
simd = []
stability = ["powerflow"]
std = []

[lib]
name = "oxigrid"
path = "src/lib.rs"

[[example]]
name = "battery_cycling"
path = "examples/battery_cycling.rs"
required-features = ["battery"]

[[example]]
name = "ieee14_powerflow"
path = "examples/ieee14_powerflow.rs"
required-features = ["powerflow"]

[[example]]
name = "microgrid_optimization"
path = "examples/microgrid_optimization.rs"
required-features = [
    "optimize",
    "renewable",
]

[[example]]
name = "renewable_forecast"
path = "examples/renewable_forecast.rs"
required-features = ["renewable"]

[[test]]
name = "arima_test"
path = "tests/arima_test.rs"

[[test]]
name = "asymmetric_fault_test"
path = "tests/asymmetric_fault_test.rs"

[[test]]
name = "battery_p2d_test"
path = "tests/battery_p2d_test.rs"

[[test]]
name = "battery_proptest"
path = "tests/battery_proptest.rs"

[[test]]
name = "coverage_test"
path = "tests/coverage_test.rs"

[[test]]
name = "dc_opf_validation_test"
path = "tests/dc_opf_validation_test.rs"

[[test]]
name = "ems_test"
path = "tests/ems_test.rs"

[[test]]
name = "harmonics_proptest"
path = "tests/harmonics_proptest.rs"

[[test]]
name = "harmonics_test"
path = "tests/harmonics_test.rs"

[[test]]
name = "ieee118_test"
path = "tests/ieee118_test.rs"

[[test]]
name = "ieee14_test"
path = "tests/ieee14_test.rs"

[[test]]
name = "ieee30_test"
path = "tests/ieee30_test.rs"

[[test]]
name = "ieee57_test"
path = "tests/ieee57_test.rs"

[[test]]
name = "network_reduction_test"
path = "tests/network_reduction_test.rs"

[[test]]
name = "pandapower_test"
path = "tests/pandapower_test.rs"

[[test]]
name = "powerflow_proptest"
path = "tests/powerflow_proptest.rs"

[[test]]
name = "protection_test"
path = "tests/protection_test.rs"

[[test]]
name = "restoration_test"
path = "tests/restoration_test.rs"

[[test]]
name = "security_test"
path = "tests/security_test.rs"

[[test]]
name = "stability_proptest"
path = "tests/stability_proptest.rs"

[[test]]
name = "stability_test"
path = "tests/stability_test.rs"

[[test]]
name = "state_estimation_test"
path = "tests/state_estimation_test.rs"

[[test]]
name = "testcases_test"
path = "tests/testcases_test.rs"

[[bench]]
name = "battery_bench"
path = "benches/battery_bench.rs"
harness = false
required-features = ["battery"]

[[bench]]
name = "opf_bench"
path = "benches/opf_bench.rs"
harness = false
required-features = ["optimize"]

[[bench]]
name = "powerflow_bench"
path = "benches/powerflow_bench.rs"
harness = false
required-features = ["powerflow"]

[dependencies.log]
version = "0.4"

[dependencies.nalgebra]
version = "0.33.2"

[dependencies.num-complex]
version = "0.4.6"
features = ["serde"]

[dependencies.petgraph]
version = "0.8.3"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sprs]
version = "0.11.3"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.criterion]
version = "0.5.1"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.8.0"