Subsystem

A block with its own diagram inside, starting as in1 wired to out1. Double-click to open it. Drop a wire on it to add a port.

  • signal
  • Gradara equations
  • 2 ports
BlockSubsystemKindsubsystemLibraryPorts & subsystems

Description

A block with its own diagram inside. It starts with one input wired straight to one output. Double-click it to open and edit the inside.

Drop a wire on the block to add a port, or add, rename, retype, and reorder ports in the inspector. Copies share their contents until you choose Make unique.

Example

Subsystems A gain and a filter grouped into a subsystem with an input and an output port, next to an empty subsystem.

StepOutputEmpty subsystemPlant
In Gradara, select a Subsystem block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:StepGainLow-pass filterSubsystem inputSubsystem output

Ports

Inputs 1

  • in1u1

    Input 1 (in1). Inside, its Subsystem input block drives the diagram.

Outputs 1

  • out1y1

    Output 1 (out1). Inside, its Subsystem output block collects the result.

Equations

Modelica
y1 = u1 (the initial contents: in1 wired to out1)

Implementation

The block’s Modelica model
y1 = u1;

Tips

  • To group existing blocks, select them and press ⌘/Ctrl + G; each wire crossing the selection edge becomes a port.
  • Promote an inner parameter with ↑ so each instance can set its own value.

Used in

These larger examples use it too. Open them from Examples in the app.

  • Data center cooling control
  • EV drivetrain
  • 480 VAC → 24 VDC flyback

See also

Select a block in Gradara and press F1 to open its page offline.