Skip to content
Terminator.md

Terminator ​

Signal termination block that consumes input signals without further processing.

A termination point that serves as a signal sink in a model, accepting real-valued inputs without producing any outputs. This component is typically used at the end of signal chains to properly terminate signals that are not connected to other components.

Usage ​

Terminator()

Connectors ​

  • u - This connector represents a real signal as an input to a component (RealInput)

Behavior ​

julia
using BlockComponents #hide
using ModelingToolkit #hide
@named sys = Terminator() #hide
full_equations(sys) #hide
<< @example-block not executed in draft mode >>

Source ​

dyad
# Signal termination block that consumes input signals without further processing.
#
# A termination point that serves as a signal sink in a model, accepting real-valued inputs without
# producing any outputs. This component is typically used at the end of signal chains to properly
# terminate signals that are not connected to other components.
component Terminator
  # Input signal to be terminated
  u = RealInput() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "input", "x1": -50, "y1": 450, "x2": 50, "y2": 550}}
    }
  }]
metadata {"Dyad": {"icons": {"default": "dyad://BlockComponents/Terminator.svg"}}}
end
Flattened Source
dyad
# Signal termination block that consumes input signals without further processing.
#
# A termination point that serves as a signal sink in a model, accepting real-valued inputs without
# producing any outputs. This component is typically used at the end of signal chains to properly
# terminate signals that are not connected to other components.
component Terminator
  # Input signal to be terminated
  u = RealInput() [{
    "Dyad": {
      "placement": {"icon": {"iconName": "input", "x1": -50, "y1": 450, "x2": 50, "y2": 550}}
    }
  }]
metadata {"Dyad": {"icons": {"default": "dyad://BlockComponents/Terminator.svg"}}}
end


Test Cases ​

No test cases defined.