RootMeanSquare
Calculate root mean square over period 1/f
Library
Modelica/Blocks/Math
Description
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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_f | f | Base frequency | Scalar | |
mo_x0 | x0 | Start value of integrator state | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_u | u | u | Structure | |
mo_u/fixed | fixed | Cell of scalars | true | |
mo_u/start | start | Cell of scalars | ||
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of scalars | true | |
mo_y/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
u | implicit | Connector of Real input signal | input | 1 |
y | implicit | Connector of Real output signal | output | 1 |