feat: implement mass balance validation for Story 7.1
- Added port_mass_flows to Component trait and implements for core components. - Added System::check_mass_balance and integrated it into the solver. - Restored connect methods for ExpansionValve, Compressor, and Pipe to fix integration tests. - Updated Python and C bindings for validation errors. - Updated sprint status and story documentation.
This commit is contained in:
28
bindings/wasm/Cargo.toml
Normal file
28
bindings/wasm/Cargo.toml
Normal file
@@ -0,0 +1,28 @@
|
||||
[package]
|
||||
name = "entropyk-wasm"
|
||||
description = "WebAssembly bindings for the Entropyk thermodynamic simulation library"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
|
||||
[lib]
|
||||
name = "entropyk_wasm"
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
entropyk = { path = "../../crates/entropyk" }
|
||||
entropyk-core = { path = "../../crates/core" }
|
||||
entropyk-components = { path = "../../crates/components" }
|
||||
entropyk-solver = { path = "../../crates/solver" }
|
||||
entropyk-fluids = { path = "../../crates/fluids" }
|
||||
wasm-bindgen = "0.2"
|
||||
js-sys = "0.3"
|
||||
console_error_panic_hook = "0.1"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
serde-wasm-bindgen = "0.6"
|
||||
|
||||
[dev-dependencies]
|
||||
wasm-bindgen-test = "0.3"
|
||||
Reference in New Issue
Block a user