---
url: /dyad/dev/stdlib/DiscreteComponents/components/Examples.Integrator.DirectIntegral.md
description: >-
  Dyad Examples.Integrator.DirectIntegral docs.  This component extends from
  BlockComponents.Interfaces.SISO
---

# `Examples.Integrator.DirectIntegral` {#Examples.Integrator.DirectIntegral}

This component extends from [`BlockComponents.Interfaces.SISO`](../../BlockComponents/types/Interfaces.SISO.md)

## Usage {#Usage}

`DiscreteComponents.Examples.Integrator.DirectIntegral()`

## Connectors {#Connectors}

* `u` - This connector represents a real signal as an input to a component ([`RealInput`](/stdlib/Dyad/connectors/RealInput#RealInput))

* `y` - This connector represents a real signal as an output from a component ([`RealOutput`](/stdlib/Dyad/connectors/RealOutput#RealOutput))

## Behavior {#Behavior}

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

## Source {#Source}

```dyad
component DirectIntegral
  extends BlockComponents.Interfaces.SISO()
relations
  initial y = 0.0
  der(y) = u
metadata {"Dyad": {"doc": {"behavior": false}}}
end
```

```dyad
component DirectIntegral
  "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
  initial y = 0.0
  der(y) = u
metadata {
  "Dyad": {
    "labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}],
    "doc": {"behavior": false}
  }
}
end
```

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses
