| Crates.io | twine-components |
| lib.rs | twine-components |
| version | 0.3.0 |
| created_at | 2025-02-04 02:30:54.71+00 |
| updated_at | 2025-08-05 14:02:34.932376+00 |
| description | A collection of components for Twine, a Rust framework for functional and composable system modeling. |
| homepage | |
| repository | https://github.com/isentropic-dev/twine |
| max_upload_size | |
| id | 1541338 |
| size | 49,873 |
⚠️ Disclaimer: Twine is in early development and subject to frequent breaking changes.
Twine is an open-source Rust framework for functional and composable system modeling. It enables engineers and researchers to build complex system models from simple, reusable building blocks. By emphasizing functional purity and strong typing, Twine makes models more reliable, testable, and easier to understand.
Twine models systems as compositions of functions with strongly typed inputs and outputs that are deterministic, always returning the same output for the same input. This functional approach allows users to build and understand larger systems from simple, reusable parts by ensuring:
Component functions can be combined into a Model that represents a complete system's behavior.
Twine provides built-in numerical integration to evolve a Model over time through a Simulation,
enabling seamless simulation of dynamic systems while preserving functional purity.
Though still early in development, Twine’s component library is designed to support a broad range of common system modeling needs, including:
Twine also provides a consistent API for thermodynamic and fluid property modeling, designed to integrate with libraries such as REFPROP, CoolProp, and FIT. Support for these integrations is coming soon.