37 lines
1.3 KiB
Rust
37 lines
1.3 KiB
Rust
//! # Entropyk Solver
|
|
//!
|
|
//! System topology and solver engine for thermodynamic simulation.
|
|
//!
|
|
//! This crate provides the graph-based representation of thermodynamic systems,
|
|
//! where components are nodes and flow connections are edges. Edges index into
|
|
//! the solver's state vector (P and h per edge).
|
|
|
|
pub mod coupling;
|
|
pub mod criteria;
|
|
pub mod error;
|
|
pub mod graph;
|
|
pub mod initializer;
|
|
pub mod inverse;
|
|
pub mod jacobian;
|
|
pub mod macro_component;
|
|
pub mod solver;
|
|
pub mod system;
|
|
|
|
pub use coupling::{
|
|
compute_coupling_heat, coupling_groups, has_circular_dependencies, ThermalCoupling,
|
|
};
|
|
pub use criteria::{CircuitConvergence, ConvergenceCriteria, ConvergenceReport};
|
|
pub use entropyk_components::ConnectionError;
|
|
pub use error::{AddEdgeError, TopologyError};
|
|
pub use initializer::{
|
|
antoine_pressure, AntoineCoefficients, InitializerConfig, InitializerError, SmartInitializer,
|
|
};
|
|
pub use inverse::{ComponentOutput, Constraint, ConstraintError, ConstraintId};
|
|
pub use jacobian::JacobianMatrix;
|
|
pub use macro_component::{MacroComponent, MacroComponentSnapshot, PortMapping};
|
|
pub use solver::{
|
|
ConvergedState, ConvergenceStatus, FallbackConfig, FallbackSolver, JacobianFreezingConfig,
|
|
NewtonConfig, PicardConfig, Solver, SolverError, SolverStrategy, TimeoutConfig,
|
|
};
|
|
pub use system::{CircuitId, FlowEdge, System};
|