Skip to content

Dyad 3.5 upgrade validation ​

Current Julia distribution: dyad-3.5.0; Dyad CLI target: 3.5.1. Commands below use the 3.5.0 Julia channel; recorded results and compiler hashes describe the original RC2 validation and have not been rerun on 3.5.1.

Target: Dyad 3.5.0, tested with distribution dyad-3.5.0-rc2 (Julia 1.13.2). Validated library versions: BlockComponents 5.0.0, ThermalComponents 3.0.0, DyadInterface 7.5.1, DyadData 2.3.0.

Research and migration ​

Read before editing:

The component libraries' major updates change generated constructor overrides to __overrides dictionaries with dotted paths. Their Dyad component definitions remain unchanged between the preceding minor release and the new major release. Regeneration is required to propagate nested parameter, initial-value and guess overrides through the new constructors. Analyses now use generated __System and immutable __Spec types, with setup adaptors; exported analysis functions remain callable as before. BlockComponents 4.6.1 also adds state priorities. The existing component names, port names, and Dyad analysis declarations compile without source changes. DyadData's CSV extension changes do not require model changes here. Model physics and solver settings are preserved unless noted below. Project, documentation/script dependency bounds, and editor Julia channel pins were updated.

Analysis inventory ​

  • EspressoCoolingModular (6000 s, Rodas5P)

  • EspressoCoolingWithSpoon (6000 s, Rodas5P)

No training analyses are defined. Existing generated component test bodies are empty; test/analyses.jl adds end-to-end checks for every analysis above.

Execution results ​

Validated on 2026-10-26 with two Julia threads and one precompile task, using --startup-file=no -O0. Baseline: Dyad 3.4.0 / Julia 1.12.7, BlockComponents 4.6.0, ThermalComponents 2.0.6, DyadInterface 7.3.0, DyadData 2.0.1, against an unmodified project copy from commit 6e485bc.

All listed analyses returned Success on both versions. Every transient reached its declared final time. The 3.5 analyses were run once for the comparison and again by the added tests; no shortened horizons or solver substitutions were used.

Analysis / observable3.4 final3.5 finalFinal change (3.5 − 3.4)Maximum sampled absolute difference
EspressoCoolingModular / espresso (°C)33.001374100733.0013741007+2.21689e-123.25093e-09
EspressoCoolingWithSpoon / espresso (°C)30.909644186530.9096441865-3.63798e-121.20502e-09

Transient observables were compared every 60 s, including both endpoints. Differences are absolute in the units shown. No model parameters, solver settings, or initialization were changed; these are the observed numerical differences after upgrading the compiler and runtime.

Compilation passed for all definitions using the 3.5.0-rc2 compiler-only source build at dyad-lang commit a24a2240667872d432a3b86c4db1240d77150e35. Generated Julia was regenerated with compiler-emitted whitespace preserved, including the constructor API version checks, dotted override dictionaries, parameter seeding, and analysis setup adaptors. Workspace instantiation passed; its ignored manifest was regenerated.

test/runtests.jl passed: 10 analysis assertions. The existing generated component testset also loaded successfully and contains zero assertions. Tests check successful solves and full horizons, finite output temperatures, and the physical bounds or sizing fixtures appropriate to this project.

Re-run the tests from the repository root after instantiation:

sh
julia +dyad-3.5.0 --startup-file=no -O0 --project=CoffeeMugDemo CoffeeMugDemo/test/runtests.jl

Not run: documentation rendering, graphical dashboards/animation export, or interactive plotting scripts. Their numerical analyses are covered above. No training workloads are defined or required for this project.