modelTrapezoidalIntegration
Integration using the trapezoidal rule
Extends from Modelica.Blocks.Interfaces.MISO (Multiple Input Single Output continuous control block).
Information
This function computes a definite integral using the trapezoidal rule.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nin (from MISO) | 1 | Number of inputs |
| Integer | N | Number of integrand points | |
| Real | deltaX | Width of interval for Trapezoidal integration |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput[nin] | u (from MISO) | Connector of Real input signals | |
| RealOutput | y (from MISO) | Connector of Real output signal |
Revisions
-
November 29, 2013 by Marcus Fuchs:
Implementation based on Functions.trapezoidalIntegration.