feat(fmi): add FMI 2.0 Co-Simulation FMU export (bindings/fmi) and ntropyk-cli export-fmu command

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-18 00:46:34 +02:00
parent 329be3856f
commit f88cd7f7d8
14 changed files with 1369 additions and 14 deletions

22
bindings/fmi/Cargo.toml Normal file
View File

@@ -0,0 +1,22 @@
[package]
name = "entropyk-fmi"
description = "FMI 2.0 Co-Simulation FMU export for the Entropyk thermodynamic engine (PLC embedding)"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[lib]
# cdylib -> the .dll/.so/.dylib bundled inside the .fmu
# rlib -> reusable from other Rust crates
name = "entropyk_fmi"
crate-type = ["cdylib", "rlib"]
[dependencies]
entropyk = { path = "../../crates/entropyk" }
entropyk-cli = { path = "../../crates/cli" }
entropyk-solver = { path = "../../crates/solver" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
libc = "0.2"