WOLFRAM SYSTEMMODELER

Mean

Calculate mean over period 1/f

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Math.Mean"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This block calculates the mean of the input signal u over the given period 1/f:

1 T
- ∫ u(t) dt
T 0

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

If parameter yGreaterOrEqualZero in the Advanced tab is true (default = false), then the modeller provides the information that the mean of the input signal is guaranteed to be ≥ 0 for the exact solution. However, due to inaccuracies in the numerical integration scheme, the output might be slightly negative. If this parameter is set to true, then the output is explicitly set to 0.0, if the mean value results in a negative value.

Parameters (3)

f

Value:

Type: Frequency (Hz)

Description: Base frequency

x0

Value: 0

Type: Real

Description: Start value of integrator state

yGreaterOrEqualZero

Value: false

Type: Boolean

Description: =true, if output y is guaranteed to be >= 0 for the exact solution

Connectors (2)

u

Type: RealInput

Description: Connector of Real input signal

y

Type: RealOutput

Description: Connector of Real output signal

Used in Examples (9)

DiodeBridge2Pulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Two pulse Graetz diode bridge with resistive load

HalfControlledBridge2Pulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Two pulse Graetz half controlled bridge with resistive load

ThyristorBridge2Pulse_DC_Drive

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Two pulse Graetz thyristor bridge feeding a DC drive

DiodeCenterTap2Pulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse

Two pulse diode rectifier with center tap with resistive load

DiodeCenterTapmPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse

2*m pulse diode rectifier with center tap with resistive load

DiodeBridge2mPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse

2*m pulse diode rectifier bridge with resistive load

HalfControlledBridge2mPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse

2*m pulse half controlled rectifier bridge with resistive load

ThyristorBridge2mPulse_DC_Drive

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse

2*m pulse thyristor bridge feeding a DC drive

DiodeCenterTap2mPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse

2*m pulse diode center tap rectifier with resistive load

Used in Components (12)

RectifiedMean

Modelica.Blocks.Math

Calculate rectified mean over period 1/f

RootMeanSquare

Modelica.Blocks.Math

Calculate root mean square over period 1/f

Harmonic

Modelica.Blocks.Math

Calculate harmonic over period 1/f

Thyristor1Pulse

Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates

Template of single pulse rectifier

ThyristorBridge2Pulse

Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates

Template of two pulse Graetz thyristor bridge

ThyristorCenterTap2Pulse

Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates

Template of two pulse thyristor rectifier with center tap

ThyristorCenterTapmPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates

Template of 2*m pulse rectifier with center tap

ThyristorBridge2mPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates

Template of 2*m pulse bridge thyristor rectifier

ThyristorCenterTap2mPulse

Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates

Template of 2*m pulse thyristor rectifier with center tap

ChopperStepDown

Modelica.Electrical.PowerConverters.Examples.DCDC.ExampleTemplates

Step down chopper including control

ChopperStepUp

Modelica.Electrical.PowerConverters.Examples.DCDC.ExampleTemplates

Step up chopper including control

HBridge

Modelica.Electrical.PowerConverters.Examples.DCDC.ExampleTemplates

H bridge DC/DC converter