RootMeanSquare

Calculate root mean square over period 1/f

    RootMeanSquare

Library

Modelica/Blocks/Math

Description

This block calculates the root mean square of the input signal u over the given period 1/f, using themean block.

Note: The output is updated after each period defined by 1/f.

Parameters

RootMeanSquare_0

NameLabelDescriptionData TypeValid Values

mo_f

f

Base frequency

Scalar

mo_x0

x0

Start value of integrator state

Scalar

RootMeanSquare_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

u

implicit

Connector of Real input signal

input

1

y

implicit

Connector of Real output signal

output

1