TECHNOLOGY

FMI dependency graphs: missing metadata must not erase an algebraic loop

In this article
THE QUICK TAKE

Omitted dependencies require a conservative dependency assumption; an explicitly empty list means no known-variable dependencies and cannot be inferred from omission.

A parser default can alter the coupled equations

A twin connects components in a feedback arrangement and uses dependency metadata to build an execution order. Its parser replaces every absent dependency list with an empty list. The coordinator now believes outputs are independent of inputs and schedules a single pass. That is a change in the assumed equation structure, not merely a compact representation. Preserve whether metadata was omitted before deciding that a feedback connection has no instantaneous algebraic loop.

Omitted and explicitly empty have different meanings

The dependency schema permits omission of dependencies. The model-structure specification assigns that omission a conservative meaning: dependence on all relevant knowns must be assumed. An explicitly empty list instead declares dependence on none of them. Preserve this distinction in the importer’s internal representation, validation report and graph construction. A convenient empty collection must not silently replace an unknown dependency relation with an assertion of independence.

Use the graph to choose a supported solution

Direct input-output dependencies can make a feedback connection an algebraic system requiring a solution at the current time. The specification describes appropriate variable evaluation and iterative methods in supported modes. It does not authorize arbitrary repeated get/set calls in every interface. In particular, Co-Simulation Step Mode has different ordering restrictions. Identify the active mode and available operations before choosing an iteration or introducing a deliberate communication delay that changes the coupling model.

Propose a metadata-sensitive graph fixture

A proposed fixture should compare descriptions that differ only by omitted versus explicitly empty dependency metadata. Inspect the resulting graph and required coupling policy, not only whether both files parse. Add a case with declared direct feedthrough that creates a real loop across components. No FMUs were connected here. Acceptance should show that omission retains conservative edges and that an asserted empty relation is used only when actually declared.

Measure a residual without inventing convergence

If the selected coupling method iterates, define the equation residual, variable scales and stopping rule. A small output change is not automatically a small equation residual, and reaching an iteration limit is not convergence. Retain any rejection or fallback as a visible result. Also distinguish initialization dependencies from runtime dependencies; an execution order inferred for one mode need not establish a valid order for the other mode’s equations.

Bound the graph-level acceptance claim

The Cholesky validation guide discusses another numerical validity gate; stack reproducibility helps retain metadata and importer revisions. Here acceptance establishes faithful interpretation of declared or unknown dependencies and a compatible solution policy. It does not prove that exported metadata describes the physical plant correctly or that every operating point is numerically stable. Those require model validation after the graph no longer gains independence through a parser default.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles