modelFREQ_CALC
Frequency calculator
Information
This model of frequency calculator is based on a washout filter followed by a first order filter that is meant to smooth the washout output. The model can have as input the angle value of the phasor, the output will be an estimate of the frequency based on the angle variation.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.Time | T_w | Smoothing filter time constant | |
| Types.Time | T_f | Derivative filter time constant | |
| Types.Angle | fi_0 | Initial angle |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | ANGLE | ||
| Modelica.Blocks.Interfaces.RealOutput | d_FREQ |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Sources.Constant | const1 | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Continuous.Derivative | derivative | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder |