Update project structure and configurations

This commit is contained in:
2026-05-23 10:19:55 +02:00
parent ab5dc7e568
commit 62efea0646
1832 changed files with 83568 additions and 51829 deletions

View File

@@ -384,6 +384,16 @@ impl Component for FlowSplitter {
entropyk_core::Power::from_watts(0.0),
))
}
fn signature(&self) -> String {
format!("FlowSplitter(fluid={}, outlets={})", self.fluid_id, self.outlets.len())
}
fn to_params(&self) -> crate::ComponentParams {
crate::ComponentParams::new("FlowSplitter")
.with_param("fluid", self.fluid_id.as_str())
.with_param("outletCount", self.outlets.len())
}
}
// ─────────────────────────────────────────────────────────────────────────────
@@ -681,6 +691,16 @@ impl Component for FlowMerger {
entropyk_core::Power::from_watts(0.0),
))
}
fn signature(&self) -> String {
format!("FlowMerger(fluid={}, inlets={})", self.fluid_id, self.inlets.len())
}
fn to_params(&self) -> crate::ComponentParams {
crate::ComponentParams::new("FlowMerger")
.with_param("fluid", self.fluid_id.as_str())
.with_param("inletCount", self.inlets.len())
}
}
// ─────────────────────────────────────────────────────────────────────────────