Skip to content

Releases: edgaralejod/gradara

Gradara 0.4.1

Choose a tag to compare

@github-actions github-actions released this 27 Sep 14:13
2fd25ab

Gradara 0.4.1 hides automatic net names on the diagram. It is also the first update delivered to 0.4.0 through the in-app updater.

Commit: 2fd25ab (tag v0.4.1). Desktop installers were built and install-tested on GitHub Actions run 36323836488.

What's changed

  • Net names are hidden by default. Wires no longer show automatic names such as PI controller.y. A net shows its label when you give it a name (double-click a wire or press F2), or when you turn on Show name on diagram in its properties. Turning that off hides a name you gave it too.
  • Existing models lose their automatic-name labels; labels of nets you named stay. Nothing about the simulation or saved results changes.

Updating

  • Windows and the Linux AppImage: Gradara 0.4.0 downloads the update in the background (it checks shortly after launch and every four hours) and shows Restart to update.
  • macOS: the signed build updates in place the same way.
  • Linux .deb: the app reports the new version; install the new .deb from this page.

Installers

Platform File
Windows x64 Gradara-win-x64.exe
macOS Apple silicon Gradara-mac-arm64.dmg
macOS Intel Gradara-mac-x64.dmg
Linux Gradara-linux-amd64.deb, Gradara-linux-x86_64.AppImage

OpenModelica is not bundled; engine setup is unchanged from 0.4.0.

Known limitations

The 0.4.0 known limitations still apply, including the SmartScreen warning for the unsigned Windows installer. A net whose label you turned on in 0.4.1 shows no label if the model is opened in 0.4.0.

Gradara 0.4.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 13:19
e3441e1

Gradara 0.4.0 grows the library to 218 blocks built on the Modelica Standard Library, adds subsystems and variants, a Model Explorer, deterministic C code generation checked against the simulation, and an electric-vehicle drivetrain example.

Commit: e3441e1 (tag v0.4.0). Desktop installers were built and install-tested on GitHub Actions run 36321097132.

What's new

  • 218 blocks from the Modelica Standard Library 4.1.0. New translational, thermal, magnetic, and three-phase domains, plus Boolean signals, semiconductors, converters, and machines. Most physical blocks are MSL classes, so their parameters are the library's and the block dialog names the class.
  • Subsystems. Select blocks and press ⌘G (Ctrl+G) to group them; ⌘⇧G ungroups. Double-click to go inside, and use the breadcrumb, Esc, or ⌘↑ to come back out. A subsystem can be used several times (Used N×, Make unique), promote inner parameters to its dialog, and shows a preview of its inside on hover. Results are named by path.
  • Variants and configurations. A subsystem can hold alternative insides, or alternative parameter sets, behind one set of ports. Switch them from the control above the block. Save named configurations next to Run, and use Run all configurations to overlay the results. Inactive variants are compiled in the background and reported in Problems, but never block a run.
  • Model Explorer (⌘3). A model tree, a parameter sheet with inline editing, filter, find and replace, and promote, a variant configuration table, a signal list, and ⌘K search across the whole hierarchy.
  • C code generation. Export a subsystem, a selection, or the detected controller as deterministic C11 (.h, .c, and a README), discretized with forward Euler, backward Euler, or Tustin. Sampled blocks run on counters. Verify replays the last run through the generated code and compares the outputs. The AI only writes a small, checked, numeric-only template for a custom block, and the template is saved with the block.
  • EV drivetrain example. Three levels of subsystems, battery and motor variants, and two configurations. Open it from Examples → EV drivetrain.
  • Fixes. The Unit delay block now outputs the previous sample; it used to pass its input straight through. Fit to view now accounts for the open panels, and a tap on Space fits the view as in Simulink.

Compatibility

  • Models with subsystems are saved as document version 2 and don't open in Gradara 0.3. Flat models stay version 1 and produce the same Modelica and results as before.
  • Models that used the Unit delay now see the one-sample delay they were meant to have.

Installers

Platform File
Windows x64 Gradara-win-x64.exe
macOS Apple silicon Gradara-mac-arm64.dmg
macOS Intel Gradara-mac-x64.dmg
Linux Gradara-linux-amd64.deb, Gradara-linux-x86_64.AppImage

OpenModelica is not bundled. Windows and Linux use a native OpenModelica 1.27 install; Settings → Engine → Set up now then installs MSL 4.1.0. macOS uses a container runtime (OrbStack, Docker Desktop, or Colima).

Known limitations

  • The Windows installer is not signed yet, so Windows SmartScreen shows "Windows protected your PC". Choose More info → Run anyway.
  • CI install tests start the app and create a model. They don't run a simulation or exercise first-run engine setup; the engine suite was run separately (172 integration tests on OpenModelica 1.27.1 with MSL 4.1.0).
  • The engine image is not published from CI yet, so a Docker setup builds it locally the first time.
  • Software-in-the-loop checks replay the recorded inputs of the last run; they are not a hardware test. AI C templates are only generated for custom blocks.
  • Hydraulic and fluid blocks, HDL export, FMI, and Modelica source import are not in this release.

Gradara 0.3.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 01:23
9bf3a23

Gradara 0.3.0 adds a Problems dock, assistant edits of the open model, AI explanations and fixes for run problems, a block properties dialog, and a servo example for controller C export.

Commit: 9bf3a23 (tag v0.3.0). Desktop installers were built and install-tested on GitHub Actions run 36284415128.

What's new

  • Problems dock. Errors and warnings sit under the canvas, with severity, source, and block or port chips. Click a row to select and center the blocks. Expand a row for the hint and the full solver text.
  • Explain and Fix with AI. These are explicit requests. Explain describes likely causes. Fix with AI also returns a proposal you review before anything changes. A failed run never calls a provider by itself.
  • Edit the open model. The Assistant can add catalog blocks, create or rewrite blocks, remove or rename blocks, change parameters and stop time, and connect or disconnect ports. Apply is one undo step. Existing routes, labels, and net names stay.
  • Block properties. Double-click a block to edit its name and parameters next to its equations. Built-in physical equations stay read-only. Apply commits every staged change as one undo step.
  • Servo position example. A DC motor position loop with a 1 kHz Discrete PID and an angle sensor, used to export a controller to C. The repository replays a hand-reviewed reference against the simulation.
  • Gradara AI prices for the new operations. An edit is 4 credits plus 2 credits for each new or rewritten block (at most three). Explain is 2 credits. Fix with AI is the explain price plus the edit price. A failed first call is refunded.

Installers

Platform File
Windows x64 Gradara-win-x64.exe
macOS Apple silicon Gradara-mac-arm64.dmg
macOS Intel Gradara-mac-x64.dmg
Linux Gradara-linux-amd64.deb, Gradara-linux-x86_64.AppImage

OpenModelica is not bundled. Windows and Linux use a native OpenModelica install; macOS uses a container runtime (OrbStack, Docker Desktop, or Colima).

Known limitations

  • Installers are unsigned. macOS and Windows show the usual security warnings for unsigned apps. Auto-update works on Windows and the Linux AppImage; an unsigned Mac build updates by downloading the new DMG.
  • CI install tests start the app and create a model. They do not run a simulation or exercise first-run engine setup.
  • The engine image is not published from CI yet, so a Docker setup builds gradara-engine:1.27.0 locally.
  • Assistant edits create at most two new blocks, and rewriting a block keeps its existing ports. Continuous controller C uses the generator's documented discretization; only the hand-reviewed servo reference is replayed against Modelica in tests.
  • Hierarchical subsystems, HDL export, FMI, and Modelica source import are not in this release.