blockTriggeredRootMeanSquare
Calculate root mean square over period determined by trigger
Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).
Information
This block calculates the root mean square of the input signal u over the period the period dtermined by the edges of the trigger:, using the triggered mean block.
Note: The output is updated at each trigger instance.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x0 | 0 | Start value of integrator state |
| Real | y0 | 0 | Start value of output |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal | |
| Modelica.Blocks.Interfaces.BooleanInput | trigger |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.MultiProduct | product | ||
| TriggeredMean | triggeredMean | ||
| Modelica.Blocks.Math.Sqrt | sqrt1 |