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:
42
bindings/wasm/package.json
Normal file
42
bindings/wasm/package.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"name": "@entropyk/wasm",
|
||||
"version": "0.1.0",
|
||||
"description": "WebAssembly bindings for the Entropyk thermodynamic simulation library",
|
||||
"keywords": [
|
||||
"thermodynamics",
|
||||
"refrigeration",
|
||||
"simulation",
|
||||
"hvac",
|
||||
"wasm",
|
||||
"webassembly"
|
||||
],
|
||||
"author": "Sepehr <sepehr@entropyk.com>",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/entropyk/entropyk.git",
|
||||
"directory": "bindings/wasm"
|
||||
},
|
||||
"files": [
|
||||
"pkg/entropyk_wasm_bg.wasm",
|
||||
"pkg/entropyk_wasm.js",
|
||||
"pkg/entropyk_wasm.d.ts"
|
||||
],
|
||||
"main": "pkg/entropyk_wasm.js",
|
||||
"types": "pkg/entropyk_wasm.d.ts",
|
||||
"scripts": {
|
||||
"build": "wasm-pack build --target web --release",
|
||||
"build:node": "wasm-pack build --target nodejs --release",
|
||||
"test": "wasm-pack test --node",
|
||||
"test:browser": "wasm-pack test --headless --chrome",
|
||||
"publish": "wasm-pack publish"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"engines": {
|
||||
"node": ">= 14.0.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"defaults",
|
||||
"not IE 11"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user