Skip to content
SI2SO.md

SI2SO

Partial component definition with two inputs and one output.

A base component that defines connectivity for blocks with two real-valued inputs and one real-valued output. This serves as a partial component to be extended by components that process two input signals to produce a single output signal.

Usage

SI2SO()

Connectors

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

  • u2 - 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)

Source

dyad
# Partial component definition with two inputs and one output.
#
# A base component that defines connectivity for blocks with two real-valued inputs and one real-valued output.
# This serves as a partial component to be extended by components that process two input signals to produce
# a single output signal.
partial component SI2SO
  # First real-valued input signal
  u1 = RealInput() [{"Dyad": {"placement": {"icon": {"x1": -50, "y1": 150, "x2": 50, "y2": 250}}}}]
  # Second real-valued input signal
  u2 = RealInput() [{"Dyad": {"placement": {"icon": {"x1": -50, "y1": 750, "x2": 50, "y2": 850}}}}]
  # Real-valued output signal
  y = RealOutput() [{"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}]
end
Flattened Source
dyad
# Partial component definition with two inputs and one output.
#
# A base component that defines connectivity for blocks with two real-valued inputs and one real-valued output.
# This serves as a partial component to be extended by components that process two input signals to produce
# a single output signal.
partial component SI2SO
  # First real-valued input signal
  u1 = RealInput() [{"Dyad": {"placement": {"icon": {"x1": -50, "y1": 150, "x2": 50, "y2": 250}}}}]
  # Second real-valued input signal
  u2 = RealInput() [{"Dyad": {"placement": {"icon": {"x1": -50, "y1": 750, "x2": 50, "y2": 850}}}}]
  # Real-valued output signal
  y = RealOutput() [{"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}]
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses