blockRootMeanSquare
Calculate root mean square over period 1/f
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 given period 1/f, using the mean block.
Note: The output is updated after each period defined by 1/f.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Frequency | f | Base frequency | |
| 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 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| MultiProduct | product | ||
| Mean | mean | ||
| Blocks.Math.Sqrt | sqrt1 |