Skip to content
LIBRARY
Routing.RealPassThrough.md

Routing.RealPassThrough

Pass a Real signal through without modification.

Enables signals to be read out of one bus, have their name changed and be sent back to a bus.

This component extends from BlockComponents.Interfaces.SISO

Usage

BlockComponents.Routing.RealPassThrough()

Connectors

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

  • y - This connector represents a real signal as an output from a component (RealOutput)

Behavior

y(t)=u(t)

Source

dyad
"""
Pass a Real signal through without modification.

Enables signals to be read out of one bus, have their name changed
and be sent back to a bus.
"""
component RealPassThrough
  extends BlockComponents.Interfaces.SISO
relations
  y = u
metadata {
  "Dyad": {
    "labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}],
    "icons": {"default": "dyad://BlockComponents/RealPassThrough.svg"}
  }
}
end
Flattened Source
dyad
"""
Pass a Real signal through without modification.

Enables signals to be read out of one bus, have their name changed
and be sent back to a bus.
"""
component RealPassThrough
  "Input signal port"
  u = RealInput() {
    "Dyad": {
      "placement": {
        "icon": {"iconName": "input", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0},
        "diagram": {"iconName": "input", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0}
      }
    }
  }
  "Output signal port"
  y = RealOutput() {
    "Dyad": {
      "placement": {
        "icon": {"iconName": "output", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0},
        "diagram": {"iconName": "output", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
      }
    }
  }
relations
  y = u
metadata {
  "Dyad": {
    "labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}],
    "icons": {"default": "dyad://BlockComponents/RealPassThrough.svg"}
  }
}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses