Skip to content
LIBRARY
Interfaces.PartialIntegerSISO.md

Interfaces.PartialIntegerSISO ​

Partial block with an IntegerInput and an IntegerOutput signal.

Block has one continuous Integer input and one continuous Integer output signal.

Usage ​

BlockComponents.Interfaces.PartialIntegerSISO()

Connectors ​

  • u - This connector represents an integer signal as an input to a component (IntegerInput)

  • y - This connector represents an integer signal as an output from a component (IntegerOutput)

Source ​

dyad
"""
Partial block with an IntegerInput and an IntegerOutput signal.

Block has one continuous Integer input and one continuous Integer output signal.
"""
partial component PartialIntegerSISO
  "Integer input signal"
  u = IntegerInput() {
    "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}
      }
    }
  }
  "Integer output signal"
  y = IntegerOutput() {
    "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
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
end
Flattened Source
dyad
"""
Partial block with an IntegerInput and an IntegerOutput signal.

Block has one continuous Integer input and one continuous Integer output signal.
"""
partial component PartialIntegerSISO
  "Integer input signal"
  u = IntegerInput() {
    "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}
      }
    }
  }
  "Integer output signal"
  y = IntegerOutput() {
    "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
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses