Skip to main content

🔥 Trano: Automated Building Energy Simulation (BES) Model Generation 🚀

📖 Full Documentation: 👉 Trano Docs


Trano is an innovative Python package that automates the creation of complex Building Energy Simulation (BES) Modelica models from simplified information contained in widely used data formats like YAML, JSON, or RDF. Unlike traditional tools that directly convert BIM to BES, Trano introduces an intermediate step, paving the way for seamless integration with IFC translators.

Trano is Modelica library agnostic but is natively designed to work with:
✅ Validated detailed Modelica libraries (e.g., Buildings, IDEAS,...)
✅ Reduced-order models (e.g., AIXLIB, ISO13790,...)
✅ your library...

🧪 Supported libraries and validation

Library Version Zone model Role
Buildings 13.0.0 Buildings.ThermalZones.Detailed.MixedAir detailed, validated
IDEAS 3.0.0 IDEAS.Buildings.Components.Zone detailed, validated
AixLib reduced order (reduced_order) 3.0.1 AixLib.ThermalZones.ReducedOrder.ThermalZone simplified, informational
ISO 13790 (iso_13790) AixLib 3.0.1 ISO13790.Zone5R1C simplified, informational
mpc - RC models (R1C1, R3C2, R4C3, ISO 13790) control-oriented, CasADi ready

The HVAC components (radiators, valves, pumps, boilers, heat pumps, air handling units) come from the Buildings library for every Modelica library. The Modelica name of every parameter in every library is listed in the parameter reference.

The models trano generates are validated against ASHRAE Standard 140 (BESTEST): the 27 single-zone cases are simulated for a year with every library and compared with the acceptance limits of the standard and the spread of the reference programs. Buildings and IDEAS pass every case (see the validation results and the walk through the cases); the two simplified zones are reported for information. Simulations run in the official OpenModelica image.

✨ Key Features

🛠️ Built for Open-Source BES

  • Designed with widespread adoption in mind.
  • Optimized for OpenModelica, but also compatible with Dymola.

🔥 Full Thermal & Electrical Modeling

  • Generates both thermal and electrical models.
  • Supports building envelope, systems, and electricity.
  • Models:
    • Envelope (geometry & materials) 🏢
    • HVAC systems (emission, hydronic distribution, boilers) ❄️🔥
    • Electrical components (PV systems, electrical loads) ⚡

🎨 Easy to Use & Modify

  • Generates graphical representations of components & connections 🎭. building.jpg
  • Fully modular design for seamless modifications:
    • Envelope 🏠
    • Emission 💨
    • Hydronic Distribution 🚰
    • Production & Electricity ⚡

🎛️ Control-oriented RC models for MPC

  • mpc library: trano create-model house.yaml mpc generates simple RC models (R1C1, R3C2, R4C3, ISO13790 from Trano.MPC) from the same building description, with the energy systems (heat pump, chiller, DHW tank, PV, battery, EV charger) inlined as CasADi-ready equations.
  • building_mpc is CasADi/IPOPT ready (flat explicit ODE); building is directly runnable with the same weather file, solar gains, occupancy and external data as the other libraries (see the RC models for MPC tutorial).

🚀 With Trano, creating and modifying detailed BES models has never been easier!


📖 Full Documentation: 👉 Trano Docs

Metadata

Release files for trano 0.41.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trano 0.41.0
File Size Uploaded
trano-0.41.0.tar.gz 195.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for trano 0.41.0
File Interpreter ABI Platform
trano-0.41.0-py3-none-any.whl Python 3 none any Details

Total release size: 434.1 kB

Release files / trano-0.41.0.tar.gz

Download URL trano-0.41.0.tar.gz
Size 195.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b35ed3674cd1e6e88750c3aee45c71a382013cff293d08e724e8808e131e5351
BLAKE2b-256 checksum
How to use checksums
b8cbab46455b6b1fac8d2e2100c66784f3d06d458b4f27286a28feaccac2b1e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / trano-0.41.0-py3-none-any.whl

Download URL trano-0.41.0-py3-none-any.whl
Size 238.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9195b678766cbb55577fd9676a51f18e269a9b7517c531646fc39a863e3918e
BLAKE2b-256 checksum
How to use checksums
b7e3867f3036441b33b4baf6c8ef89c3d230809c64930b35d602bb3c285c4031
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.43.0

2 release files

0.42.0

2 release files

This release

0.41.0 This release

2 release files

0.40.0

2 release files

0.39.0

2 release files

0.32.0

2 release files

0.31.0

2 release files

0.30.0

2 release files

0.29.0

2 release files

0.28.0

2 release files

0.27.0

2 release files

0.26.0

2 release files

0.25.0

2 release files

0.24.0

2 release files

0.23.0

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.13.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.43

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page