Skip to content

Interoperability

aeolus1d speaks several neighbouring formats so it slots into existing 1D-engine workflows without forcing a full rewrite of the team's toolchain.

Direction Tool / format Module CLI
Mechanism import Cantera YAML aeolus1d.chemistry.importers.cantera_yaml n/a (Python API)
Result export CGNS aeolus1d.io.cgns_writer aeolus1d run --cgns OUT.cgns
Case import / export GT-Power XML aeolus1d.io.interop.gt_power aeolus1d import gt_power / aeolus1d export gt_power
Case import / export AVL Boost XML aeolus1d.io.interop.avl_boost aeolus1d import avl_boost / aeolus1d export avl_boost
Case import / export Ricardo WAVE XML aeolus1d.io.interop.wave aeolus1d import wave / aeolus1d export wave
Case import GT-Suite native .gtm aeolus1d.io.interop.gt_suite_native aeolus1d import gt_suite_native / aeolus1d inspect-gtm
Case import AVL Cruise M .proj aeolus1d.io.interop.avl_cruise_m aeolus1d import avl_cruise_m
Live co-simulation FMI 2.0 FMU aeolus1d.io.interop.fmu aeolus1d export-fmu CASE.toml OUT.fmu

Cantera YAML mechanism import

from aeolus1d.chemistry.importers.cantera_yaml import import_cantera_yaml
species, reactions = import_cantera_yaml("examples/cantera_h2_air.yaml")

Supported reaction types: elementary / modified Arrhenius, three-body, falloff (Troe or SRI broadening), pressure-dependent Arrhenius (PLOG). A type-less bare-(+M) equation (Cantera ≥ 3.0 made type: three-body optional) is auto-routed to the three-body path so its [M] dependence and concentration scaling aren't dropped. Chebyshev rates are skipped with a warning, as is any unknown type:. NASA-7 thermo round-trips exactly.

The units: block (Cantera's per-mechanism override) is honoured for activation-energy units, and a per-reaction local units: override refines it. Pre-exponential A factors are rescaled to the internal CHEMKIN cgs cm³-mol convention using the declared length / quantity units and the reaction order n = Σ ν (a (+M) collider adds one concentration power), so imported rates are consistent regardless of the source's volume / quantity convention.

Install the optional pyyaml dep: pip install -e ".[chemistry-yaml]".

CGNS result export

aeolus1d run case.toml --out run.h5 --cgns run.cgns

Each pipe becomes one Structured Zone with GridCoordinates and a FlowSolution carrying Density, VelocityX, Pressure, Temperature arrays; junctions emit single-cell zones with the volume's scalar state. Time-series traces (when --trace-dt is set) become BaseIterativeData + per-zone FlowSolution_t<idx> nodes that ParaView / Tecplot can scrub.

Install: pip install -e ".[interop]" (pulls pycgns).

Commercial 1D-tool case import / export

The interop layer is best-effort structural: it captures pipe geometry (length / diameter / friction factor), junction volumes + connectivity, and the four BC kinds every tool understands (wall, transmissive, stagnation_inlet, pressure_outlet). Anything proprietary on the source side (turbo maps, fuel injection, valve cam tables, combustion sub-models) is dropped at import and listed in the returned InteropReport; anything aeolus1d-specific (real-gas EOS, MUSCL / MP5 schemes, LODI port BC, Strang-split chemistry, Wiebe combustion, learned-NN closures) is similarly flagged on export.

from aeolus1d.io.interop import import_case, export_case
case, report = import_case("project.gt.xml", kind="gt_power")
print(report.summary())
# ... edit the case in TOML or the GUI ...
export_case(case, "translated.bws", kind="avl_boost")

CLI:

aeolus1d import gt_power path/to/case.gt.xml /tmp/from_gt.toml
aeolus1d run /tmp/from_gt.toml --out /tmp/from_gt.h5
aeolus1d export avl_boost /tmp/from_gt.toml /tmp/to_boost.bws

Vendor case files (GT-Power XML, AVL Boost .bws, WAVE .wvm, AVL Cruise M .proj, GT-Suite .gtm / .gtsub) carry proprietary engine-program data and are not bundled with the repo. The integration tests under tests/integration/test_avl_cruise_m_* and tests/integration/test_interop.py skip cleanly when the fixture path is empty; drop your own file at the path the test references to enable the run.

Supported tools:

kind Source format Direction
gt_power GT-Power Standard Input File (XML) import + export
avl_boost AVL Boost case (.bws XML) import + export
wave Ricardo WAVE case (.wvm XML) import + export
gt_suite_native GT-Suite native model (.gtm XML) import only (best-effort heuristic)
avl_cruise_m AVL Cruise M project (.proj archive) import only

OpenWAM (CMT-UPV's GPL solver, .wam v2.1) is not a kind; its module is called directly. openwam.read(path) returns a (Schematic, InteropReport); openwam.write(schematic, path, report, t_end=..., dt_out=...) writes an engineless OpenWAM case from a schematic (schematic_from_case(case) makes one): pipes, plenums, junctions and the four neutral BCs. Before the file is written, openwam_stream.decode walks it the way the v2.1 solver reads it, so a case OpenWAM would misread is refused, naming the field. The case asks OpenWAM for the pressure, velocity and temperature at each pipe's ends and middle. OpenWAM takes friction as a wall roughness and derives the factor from the Reynolds number, so a Darcy factor above zero is written as the roughness that gives it when fully rough, and the report says so. A pressure outlet is a reservoir end at its T_back (300 K when unset), the temperature aeolus1d backflows at; until 2026-11-04 it was the pipe's initial temperature. The import names what the neutral schematic cannot hold: pipe wall heat transfer (imported adiabatic), initial gas velocities (imported at rest) and pressure-loss nodes (imported as loss-free junctions).

For gt_power / avl_boost / wave / gt_suite_native a neutral schematic dataclass (Schematic with NeutralPipe / NeutralJunction / NeutralBC, plus richer NeutralCylinder / NeutralShaft / NeutralTurbo / NeutralHeatExchanger / NeutralController members) sits between aeolus1d and each tool so adding another target is a small per-tool XML adapter rather than pairwise translations. gt_suite_native reads GT-Suite's native .gtm editor XML (<part> / <object> / <va> tags with t_id database references), as opposed to the clean Standard Input File (SIF) XML that gt_power reads. It is a best-effort heuristic — import-only; aeolus1d inspect-gtm prints a diagnostic summary of a .gtm's object counts before you attempt the import. Cruise M's component set is richer than the neutral Schematic (catalysts with full Brinkmeier kinetics, Monitor → probe translation, fuel routing); its importer reads straight to aeolus1d.Case and is import-only.

Cruise M import example:

aeolus1d import avl_cruise_m project.proj /tmp/from_cruise.toml

The InteropReport flags catalyst Darcy-Forchheimer α / β coefficients (held in a binary .ucp file the importer can't read) and the Brinkmeier rate constants (same source) — both default to literature values, tune in the inspector.

Brick geometry + initialization (Cruise-S). Cruise M specifies a monolith brick by Volume + Length and stores a stale template diameter (often a 56.42 mm default) and cross_sectional_area alongside that it does not keep in sync. The importer therefore re-derives the diameter from the Geometry's geometry_input_selection: volume → D = sqrt(4V/(πL)), cross_sectional_area → D = sqrt(4A/π); a stored diameter is used verbatim only when the brick was input by diameter. Catalyst / filter bricks pair only with commons_aftertreatment.Geometry objects (never a pipe's), by the matching-type object emitted immediately before the Topology in document order — so a brick can't inherit a neighbour pipe's length / diameter, and adjacent bricks don't collide onto one geometry. The brick's initial state is lifted too: a catalyst's solid_temperature → CatalystSpec.T_solid_init, a particulate filter's substrate solid_temperature → FilterSpec.T_solid_init (which seeds the soot-cake temperature when the [pipe.filter.thermal] model is active — the DPF's only solid thermal mass today), and a filter's initial soot mass → FilterSpec.trap.soot_loading_init. On the inlet boundary, a transient temperature table ramp is preferred over an alternate model's flat const, and mass-fraction compositions stored on a 0–100 percent scale are renormalised to unity.

examples/avl_cruise_m/compare/ holds a harness that runs a converted case and plots the channels matching each AVL "Results" figure beside the original screenshot. It is a qualitative cross-code check: the AVL docs ship results only as screenshots (no numeric tables), and the full AVL transients (500–7200 s) are wall-clock-impractical in aeolus1d's density-based, acoustic-CFL- bound solver — see compare/README.md.

Supported catalyst topology classes (Cruise-E + Cruise-H):

Cruise M class aeolus1d closure Notes
TWCTopology twc / twc_brinkmeier Three-way (gasoline) — the original Cruise-A..D path. Brinkmeier wins over plain TWC when the AUCI mechanism name says so.
DOCTopology doc_oxidation Diesel oxidation.
SCRTopology nh3_scr_kinetics Selective Catalytic Reduction (NH3 / urea).
PNATopology none Passive NOx Adsorber — geometry + heat path import, kinetics dropped (no aeolus1d closure today; backlog).
ASCTopology doc_oxidation Ammonia Slip Catalyst — collapsed onto DOC for the NH3-ox step until a dedicated NH3-slip closure ships.
AdvancedModelTopology model-name-driven Cruise M's user-defined kinetics container. The AUCI mechanism string (e.g. "SCR transient") selects the closure.
EEDOCTopology, EESCRTopology, EETWCTopology, EEASCTopology same as the non-EE variant Embedded Element family used in compact / coupled-system studies.
EEDCPFTopology, EECGPFTopology pipe.filter.kind = "diesel_particulate_filter" Embedded Element diesel + gasoline soot filters — same trap+cake+regen physics as the full TransientFilterTopology.

Bundled examples for each: examples/avl_cruise_m/c02001…c02030. Drop the source .proj next to your own work and rerun aeolus1d import avl_cruise_m to regenerate.

Supported filter topology classes (Cruise-F):

Cruise M class aeolus1d closure Notes
TransientFilterTopology (cruise.elements.particulate_filter) pipe.filter.kind = "diesel_particulate_filter" Trap + cake + regen kernels auto-attached with literature defaults. pm_species_name set from the project's ParticulateMatterSpeciesTransport declaration.
Legacy DPFTopology / DieselParticulateFilterTopology same Kept for back-compat with older .proj exports.

Supported engine flow elements (Cruise-K + Cruise-L + Cruise-M + Cruise-N + Cruise-O):

Cruise M class aeolus1d representation Notes
gas_flow_pipe.Topology aeolus1d pipe Standard engine-side 1D pipe. Its geometry is its own pipe.GasFlowGeometryData: the length, and the diameter (or, when the input selection is volume, the diameter of total_volume over that length); a diameter table along the pipe becomes the uniform pipe of the same volume, reported. Until 2026-11-04 this row said "same Geometry schema as aftertreatment_pipe", which the files contradict: that type was looked for, never found, and every such pipe imported at 0.5 m x 50 mm.
plenum.Topology, plenum.GasNodeTopology plenum junction holding the element's volume (cruise.props.plenum.General) When it links to two pipe-bearing elements, or has more than two gas links (a split / collector). Otherwise (one pipe and cylinder ports, say) an aeolus1d pipe with a cubic-root shape, holding the volume as a dead end. A plenum inside a subsystem is reached through the subsystem's ports (2026-10-20).
restriction.Topology, gas_flow_loss.Topology aeolus1d pipe of the reference bore, carrying the minor loss K = 1/mu^2 10 mm long, its bore the reference the element selects (reference_type: the diameter or the cross-section). mu is the forward flow coefficient (constant; a table's or map's constant, reported); 0 means shut, and the element is not imported. A reverse coefficient and pressure recovery are reported, not modelled. A gas flow loss with no pressure-drop model keeps a generic K = 2. Derivation: avl_cruise_m/_flow_loss.py.
throttle.Topology aeolus1d pipe of the body diameter, carrying K = 1/mu^2 Imported fully open: a throttle-angle table's full-open end, else its constant; the angle and actuator are not modelled.
flange.Topology, elastic_flange.Topology not imported A mechanical driveline part (shaft speed / torque, torsional stiffness) with no gas path; one import warning names every flange. Imported as a 5 mm gas pipe until 2026-10-13.
air_cleaner.Topology aeolus1d pipe of its core (heat_exchange.Geometry: volume and length) In target_pressure_drop mode its K meets the stated drop at the stated mass flow, pressure and temperature; the coefficient mode is not translated (no loss, reported). A 3 L cube without a core block.
gas_heat_exchanger.Topology aeolus1d pipe + the heat transfer its file states Intercoolers / CACs / EGR coolers — total_volume + diameter + Friction.turbulent_coef lifted. Heat (2026-10-20, avl_cruise_m/_heat_exchanger.py): an adiabatic own wall linked through one convective heat transfer connection with a constant coefficient to a solid wall held at a constant temperature becomes a cooler in UA mode, UA = h S m [W/K] toward the wall's temperature with an infinite-capacity coolant (charge_air_cooler, or egr_cooler when the name says EGR); an adiabatic wall with nothing linked, or a zero conductance, has no heat closure; any other law keeps the generic constant_twall (h = 500 W/m²K, T_wall = 350 K) and the report names the file's law and its numbers. Not translated, so reported: the variable_internal wall (a Reynolds-analogy gas side, which aeolus1d has no model of: the EPW and CAR intercoolers), the re_analogy, zapf, colburn, target_efficiency_one_sided and target_outlet_temperature_one_sided link models, a lumped connection, a link to a wall that is not held at a constant temperature, a link or wall whose name several elements carry; also the friction mode (target_pressure_drop) and the friction multiplier, which the pipe does not carry.
fan.Topology aeolus1d pipe (pass-through) aeolus1d has no fan model; its pressure-rise mode, speed and fan model are named in the report, per fan.
compressor.Topology, turbine.Topology a [[turbo]] on its map, or a pass-through pipe Since 2026-10-20 (avl_cruise_m/_turbo.py), on its map when all three hold: its calculation type reads a .btc map (full_model_tc_tool / full_tc_tool / full_wizard) and that map is in the project archive and reads; the case does not run on the quasi-steady driver; each of its sides reaches a boundary that is not a wall. Its 30 mm pass-through pipe is split into two 15 mm stubs with the turbo between them. A compressor's map is read total-to-total (pr_basis = "total"), a turbine's total-to-static; a map's corrected speed and flow are put on the reference state their units imply (the BTC's own ref_temperature / ref_pressure for rpm and kg/s, 298.15 K and 1 bar for the reduced N/sqrt(T) and mdot sqrt(T)/p); the file's constant mass-flow and efficiency corrections multiply the map; a VTG map keeps its vane axis at the file's initial position. The converted map is an NPZ in the user cache (cruise-m-maps, beside the GT importer's gt-maps). A compressor and a turbine on one Cruise M shaft share an aeolus1d shaft of the file's inertia and initial speed; a machine whose partner stays a pipe is held at the shaft's speed. Otherwise a pass-through pipe, and the report says which test failed. The internal waste gate is imported closed (reported when the file opens it), per-position VTG adjustments and simplified models are reported, not modelled.
turbo_charger.Topology not imported itself A composite: its gas ports lead to its compressor, turbine and waste gate, which import in its place. Until 2026-10-20 it was one pass-through pipe that all its ports landed on, joining the intake to the exhaust. Its own test-bed data, corrections and heat transfer are not used (reported).
port.IntakeTopology, port.ExhaustTopology not imported (reported per port) A cylinder's valve; cylinders are not imported, so it has nothing to attach to. The report names each port, its cylinder and its file's valve timing, valve count, seat diameter, lift (table size and peak) and flow-coefficient table, so the data is visible where a cylinder import will need it.
generic_transfer.Topology aeolus1d pipe (pass-through) Generic mass-flow transfer block.

Reported, not imported (2026-10-20, avl_cruise_m/_not_imported.py): the import lists each element of these classes in its lossy components with what it carries, the values as the file writes them, and says once per family why it has no place in an imported network. Thermal (Cruise-P): solid walls, heat transfer connections (with the elements each joins), heat flow sources, wall films. aeolus1d holds a wall only as part of a pipe ([pipe.thermal_wall]) and exchanges wall heat with a coolant pipe ([[coolant_coupling]]), not between two elements; a gas heat exchanger's own link is read, above. Vehicle and driveline (Cruise-V): vehicle (curb and gross weight, frontal area, drag coefficient, road-load function), wheels, brakes, gearbox, single-ratio transmission, clutch, differential, cockpit. aeolus1d's vehicle model is a separate vehicle-system case (aeolus1d drive-cycle, its [vehicle] block), not a block of the gas-network case an import writes; since 2026-10-22 aeolus1d import writes what maps of it beside the network, as <output stem>.vehicle.toml (mass by load state, the road-load function or drag and rolling resistance, the gear table and final drive, the driven wheels' radius, the constant efficiencies: Vehicle-system drive cycles), and these elements are still listed with what they carry. Control (Cruise-W): PID controllers (gains, limits and data-bus signals), constants, maps of tables, delays, signal decouplers, FMUs. aeolus1d's [[controller]] kinds each close one fixed loop on an element the case carries, and it runs no foreign FMU (it exports one).

Restart files. A Cruise M project can start its run from a restart file (tasks_settings.UseRestart). The import does not read one: the format is not documented, and the corpus holds no sample to map from (every one of its 230 task settings has the switch off; the one path written names a file the archive does not hold). A project that uses one gets a warning naming the file, and the case starts from the initial state the import builds from the project.

The following Cruise M classes are silently skipped (no aeolus1d topology equivalent at the importer layer; future phases will wire some of them via the closure / component / state layers): FMU databus in/out, MassFlowConnection / Port + Direct injectors, LHT thermal in/out (a heat transfer connection's ports), combustion_chamber + super_cylinder + cylinder_bank, fuel_tank + dosing controllers, general_map, serial heat-transfer arrangements, UCI databuses, multi_map TopologyCharacteristic, subsystems. A subsystem is not itself imported, but since 2026-10-20 a gas link onto one of its ports continues to the element inside that the port leads to (not where that element's name, or the subsystem's, is shared with another: the importer matches elements by name, and the report says which ports it did not follow).

Bundled examples for the full set: 117 TOMLs in examples/avl_cruise_m/ — 30 aftertreatment cases at the top level (c02001–c02030, covering catalyst / DPF / EAT-system / EE studies) plus 87 engine cases under ice/: 6 loose (c060xx dual-fuel / 2-stroke etc.), crank_resolved (30), gas_path (29), gas_exchange (9), tde_vehicle (6), heat_exchanger (4), epw (2) and surrogate_engine (1). All validate via aeolus1d.io.parsers.load_case, lay out via aeolus1d_gui.io.layout_heuristic.layout_for_case, round-trip via aeolus1d_gui.io.case_io.save_case, and advance 0.1 ms in aeolus1d.io.case.run_case (fresh-process smoke).

Cruise M's DPF comparison projects (C02008 layered vs reference, C02009 multi-collector vs unit-collector, C02010 standard vs approximated cake-resistance) wire two alternate brick variants into the same Mass Flow Boundary. The importer keeps the variant whose connection comes first in flow-graph order and trims the dangling alternate with a Cruise-F: dropped … warning, so the imported case stays single-DPF and runnable.

Multi-Modeller projects (typical for the AVL EAT demo set: a baseline + a coldstart-with-E-Heater variant in the same .proj) import the model wired to the project's primary flow boundaries. Orphan catalyst topologies from alternate models are dropped with a Cruise-E: skipped N orphan catalyst topologies warning so the user sees which alternates got skipped.

BC translation (Cruise-R)

The boundary-condition layer uses an element-class-first dispatch. The element's short class name (from _short_type) determines the BC direction without consulting role wording, which fixes the silent-drop class of bug where AVL's subsystem-nested role names (e.g. "Air Cleaner Assembly.Restriction 3.Gas Flow IN") didn't match any of the legacy keyword filters and got dropped without a warning. Role wording is only consulted as a tiebreaker for the ambiguous pressure-based classes.

Supported BC element classes:

Cruise M class aeolus1d BC kind Notes
mass_flow_boundary.Topology transient_mass_flow_inlet ṁ + T₀ schedules from BoundaryConditions::mass_flow + …::temperature.
boundary.Topology transient_pressure_outlet Back-pressure schedule from the LAST BoundaryConditions::pressure block in file order. Legacy class — always outlet, preserving the bundled-corpus mapping.
boundary.TemperatureBoundaryTopology (absorbed) Temperature schedules feed T0_t / T0_v on the paired inlet BC via _extract_t0_spec — no separate BC face emitted.
pressure_boundary / PressureBoundaryTopology transient_stagnation_inlet (pipe end = left) or transient_pressure_outlet (right) Defensive class added in Cruise-R; pipe-end + role wording decide direction.
flow_boundary / node.FlowBoundaryTopology transient_mass_flow_inlet Mass-flow inlet, same schedule plumbing as mass_flow_boundary.
volumetric_flow_boundary / VolumetricFlowBoundaryTopology transient_velocity_inlet u = V̇ / A_pipe using the attached pipe's cross-section.

A BC follows gas links only (2026-09-23). Cruise M connects elements with links of several kinds -- gas, mechanical, data bus, thermal -- and a BC reaches its pipe only along gas: a direct gas link, two gas links through an intermediate such as a subsystem, or a gas link plus an exposed_port link on the same port of the intermediate. When several routes through one intermediate exist, the one that stays inside one of its sub-parts wins, so a boundary on a turbocharger's compressor inlet attaches to the pipe on the compressor outlet, not the turbine's. A BC with no such route within two links is skipped, and the import report names the routes it refused and why. Before this, a temperature signal or a shaft could carry a gas inlet onto a flange or across to the intake side. One case is not guarded: a port that carries a gas link and is also exposed to a mechanical part would still let a BC through. None of the 143 example projects has one.

Always-transient emission. Every BC kind the importer produces is one of the transient_* variants. A constant inlet ṁ / V̇ / p / T₀ or a constant outlet p_back collapses to a single-row schedule (t=[0.0], v=[const]), eliminating the dual const/transient code paths the old importer carried. The BC engine treats a single-row table as a constant at run time, so there's no runtime cost.

FMI 2.0 FMU export

aeolus1d export-fmu examples/03_two_pipes_junction.toml /tmp/aeolus1d.fmu

Produces a single .fmu archive any FMI 2.0 master can load — GT-SUITE, AVL Boost, MATLAB / Simulink, OpenModelica, Dymola, Twinmotion. Inputs: one Real per BC marked stagnation_inlet (p0) or pressure_outlet (p_back). Outputs: pipe-end pressures + velocities + junction (p, T, m) at each step boundary. The slave's do_step(t, dt) calls advance_network once per step, at the case's cfl and rk; pipe / volume state persists across steps. advance_network steps ssp_rk2 and ssp_rk3 only, so a case with another rk (an implicit scheme, rk4, rk5) is refused at export. Until 2026-11-04 every FMU stepped at cfl 0.4 on SSP-RK2, whatever the case said.

Install: pip install -e ".[interop]" (pulls pythonfmu).

Round-trip fidelity

Each per-tool import/export is verified by an integration test that round-trips a synthetic XML fixture: schematic → write XML → read XML → schematic, expecting pipe / junction / BC counts and geometry to match. Fidelity against actual GT-Power / AVL Boost / WAVE files would need the proprietary licences and is the caller's responsibility to validate — the warning report documents what the layer dropped.