MeanCalculate mean over period 1/f |
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.
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 |
u |
Type: RealInput Description: Connector of Real input signal |
|
---|---|---|
y |
Type: RealOutput Description: Connector of Real output signal |
Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse Two pulse Graetz diode bridge with resistive load |
|
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 |
|
Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse Two pulse diode rectifier with center tap with resistive load |
|
Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse 2*m pulse diode rectifier with center tap with resistive load |
|
Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse 2*m pulse diode rectifier bridge with resistive load |
|
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 |
|
Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse 2*m pulse diode center tap rectifier with resistive load |
Modelica.Blocks.Math Calculate rectified mean over period 1/f |
|
Modelica.Blocks.Math Calculate root mean square over period 1/f |
|
Modelica.Blocks.Math Calculate harmonic over period 1/f |
|
Modelica.Electrical.Polyphase.Examples.Utilities Analyze AC voltage, current and power |
|
Modelica.Electrical.Polyphase.Examples.Utilities Analyze DC voltage, current and power |
|
Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates Template of single pulse rectifier |
|
Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates Template of two pulse Graetz thyristor bridge |
|
Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates Template of two pulse thyristor rectifier with center tap |
|
Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates Template of 2*m pulse rectifier with center tap |
|
Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates Template of 2*m pulse bridge thyristor rectifier |
|
Modelica.Electrical.PowerConverters.Examples.ACDC.ExampleTemplates Template of 2*m pulse thyristor rectifier with center tap |
|
Modelica.Electrical.PowerConverters.Examples.DCDC.ExampleTemplates Step down chopper including control |
|
Modelica.Electrical.PowerConverters.Examples.DCDC.ExampleTemplates Step up chopper including control |
|
Modelica.Electrical.PowerConverters.Examples.DCDC.ExampleTemplates H bridge DC/DC converter |
|
Modelica.Electrical.PowerConverters.Examples.ACAC.ExampleTemplates Dimmer including control |