Bilt
Bilt is a Python framework for scientific and engineering modelling. Define systems and relationships, supply known values, and request the result you need. Bilt finds a supported calculation, including across reusable subsystems.
Start here
Build your first Bilt model — set up a Python project, define a system and an equation, then answer two different questions with the same model.
If you already have experience with equation-oriented modelling, you can jump to the user guide, worked examples or API reference.
User guide
The guide introduces Bilt's ideas and shows how to use its modelling features:
- Modelling with Bilt — why relationships are kept separate from computation.
- Systems and values — declare model interfaces.
- Equations and acausal modelling — express relationships that can answer different questions.
- Transforms and implementations — use directed calculations and choose implementations.
- Models to computation — understand how Bilt chooses a calculation.
- Dimensions, domains and tensors — work with named axes and broadcasting.
- Systems of systems — compose reusable models.
- Coupled systems — solve supported simultaneous linear equations.
- Backends — use Python and JAX.
- Units — use physical quantities and dimensional analysis.
Worked examples
These examples show how Bilt fits into complete engineering models:
- Two springs in series — a small model with reusable subsystems and a coupled solve.
- Two-shaft gas turbine — a larger interacting system with forward and inverse questions.
- Battery-electric mission uncertainty analysis — named tensors and a large scenario sweep.
- Compiling a Bilt model with JAX — Python and JAX execution on a larger calculation.
API reference
Look up precise declarations, supported operations and limitations:
- Systems and implementations
- Equations and transforms
- Units
- Quantity annotations and typing
- Tensors
- Backends
Tools and configuration
- Check model definitions — use
bilt checkin your project or CI. - Ruff configuration — keep imports needed by Bilt's runtime annotations.