Skip to content
LIBRARY
Examples.Integrator.LessThan.md

Examples.Integrator.LessThan ​

Usage ​

DiscreteComponents.Examples.Integrator.LessThan()

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 boolean signal as an output from a component (BooleanOutput)

Behavior ​

Behavior of this component cannot be rendered because it includes path variables.

Source ​

dyad
component LessThan
  u1 = RealInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -50, "y1": 210, "x2": 50, "y2": 310, "rot": 0}
      },
      "tags": []
    }
  }
  u2 = RealInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -40, "y1": 720, "x2": 60, "y2": 820, "rot": 0}
      },
      "tags": []
    }
  }
  y = BooleanOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 960, "y1": 450, "x2": 1060, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
  y = u1 < u2
metadata {"Dyad": {"doc": {"behavior": false}}}
end
Flattened Source
dyad
component LessThan
  u1 = RealInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -50, "y1": 210, "x2": 50, "y2": 310, "rot": 0}
      },
      "tags": []
    }
  }
  u2 = RealInput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": -40, "y1": 720, "x2": 60, "y2": 820, "rot": 0}
      },
      "tags": []
    }
  }
  y = BooleanOutput() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 960, "y1": 450, "x2": 1060, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
relations
  y = u1 < u2
metadata {"Dyad": {"doc": {"behavior": false}}}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses