WOLFRAM SYSTEM MODELER
HarmonicCalculate harmonic over period 1/f |
SystemModel["Modelica.Blocks.Math.Harmonic"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This block calculates the root mean square and the phase angle of a single harmonic k 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.
Note:
The harmonic is defined by √2 rms cos(k 2 π f t - arg)
if useConjugateComplex=false (default)
The harmonic is defined by √2 rms cos(k 2 π f t + arg)
if useConjugateComplex=true
f |
Value: Type: Frequency (Hz) Description: Base frequency |
---|---|
k |
Value: Type: Integer Description: Order of harmonic |
useConjugateComplex |
Value: false Type: Boolean Description: Gives conjugate complex result if true |
x0Cos |
Value: 0 Type: Real Description: Start value of cos integrator state |
x0Sin |
Value: 0 Type: Real Description: Start value of sin integrator state |
u |
Type: RealInput Description: 'input Real' as connector |
|
---|---|---|
y_rms |
Type: RealOutput Description: Root mean square of polar representation |
|
y_arg |
Type: RealOutput Description: Angle of polar representation |
sin1 |
Type: Cosine Description: Generate cosine signal |
|
---|---|---|
sin2 |
Type: Sine Description: Generate sine signal |
|
product1 |
Type: MultiProduct Description: Product of Reals: y = u[1]*u[2]* ... *u[n] |
|
product2 |
Type: MultiProduct Description: Product of Reals: y = u[1]*u[2]* ... *u[n] |
|
mean1 |
Type: Mean Description: Calculate mean over period 1/f |
|
mean2 |
Type: Mean Description: Calculate mean over period 1/f |
|
rectangularToPolar |
Type: RectangularToPolar Description: Convert rectangular coordinates to polar coordinates |
|
gain |
Type: Gain Description: Output the product of a gain value with the input signal |
Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel Polyphase DC to AC converter with R load |
|
Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel Polyphase DC to AC converter with R-L load |
|
Modelica.Electrical.QuasiStatic.SinglePhase.Examples Rectifier example |
|
Modelica.Magnetic.QuasiStatic.FluxTubes.Examples Non linear inductor with ferromagnetic core |
Modelica.Blocks.Math Output the total harmonic distortion (THD) |
|
Modelica.Electrical.Polyphase.Examples.Utilities Analyze AC voltage, current and power |
|
Modelica.Electrical.PowerConverters.Examples.DCAC.ExampleTemplates Single-phase two level inverter including control |
|
Modelica.Electrical.PowerConverters.Examples.ACAC.ExampleTemplates Dimmer including control |
|
FundamentalWavePermabilitySensor Modelica.Magnetic.QuasiStatic.FluxTubes.Sensors.Transient Sensor of fundamental wave permeability |