tpt-electromagnetics

Rust

Pure-Rust computational electromagnetics: MNA circuit simulation, device models, quasi-static Maxwell FEM, transmission lines, S-parameters, and power systems.

0 stars0 forks0 watchersApache License 2.0

Languages

Rust100.0%
README

tpt-electromagnetics

Computational electromagnetics for the TPT Solutions ecosystem: MNA circuit simulation, compact semiconductor device models, quasi-static Maxwell FEM, multi-conductor transmission lines, S-parameter network analysis, and power system analysis — built on the tpt-math-*, tpt-fem-*, and tpt-io-* sibling crates.

This workspace is consumed as path dependencies within (and across) the tpt-solutions workspaces. Crates.io publishing is out of scope for the current pass. Every crate is dual-licensed MIT OR Apache-2.0.

Crates

CrateDescriptionStatus
tpt-em-coreCanonical EM quantity types, unit conversions, solver interface contract (no_std + alloc)✅ available
tpt-em-circuitMNA circuit simulation engine: DC / transient / AC analysis✅ available
tpt-em-device-modelsCompact semiconductor device models (diode, BJT, MOSFET, JFET, MESFET)✅ available
tpt-em-transmissionMulti-conductor transmission line modeling✅ available
tpt-em-lowfreqQuasi-static magnetostatic / electrostatic FEM✅ available
tpt-em-sparamS-parameter manipulation: Touchstone I/O, cascading, de-embedding, renormalization, stability, TDR✅ available
tpt-em-powerPower system analysis✅ available
tpt-emFeature-gated umbrella re-exporting every solver crate✅ available

Workspace layout

tpt-electromagnetics/
├── Cargo.toml            # workspace manifest ([workspace.package], lints, profiles)
├── crates/
│   ├── tpt-em-core/              # foundation layer (no internal deps)
│   ├── tpt-em-circuit/           # MNA circuit simulation
│   ├── tpt-em-device-models/     # semiconductor device models
│   ├── tpt-em-transmission/      # transmission line modeling
│   ├── tpt-em-lowfreq/           # quasi-static Maxwell FEM
│   ├── tpt-em-sparam/            # S-parameter network analysis
│   ├── tpt-em-power/             # power system analysis
│   └── tpt-em/                   # feature-gated umbrella crate
├── spec.txt              # full design specification
└── todo.md               # build tracking

Building

cargo build --workspace --all-features
cargo test  --workspace --all-features

tpt-em-core is no_std-capable (with the alloc feature) and builds for wasm32-unknown-unknown.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.