
blockdiscrete_ES_SFS
Extends from Modelica.Blocks.Interfaces.DiscreteBlock (Base class of discrete control blocks).
Parameters
| Type | Name | Default | Description |
| SI.Time | samplePeriod (from DiscreteBlock) | | Sample period of component |
| SI.Time | startTime (from DiscreteBlock) | 0 | First sample time instant |
| Basic settings |
| Modelica.SIunits.Frequency | probe_frequency | 1 | Frequency of probe |
| Real | control_increment | 0.1 | Size of increment for control output (smallest step size) |
| Modelica.SIunits.Period | T_update | 10 | Length of time the mean is calculated for |
| Integer | n_samples | 100 | Amount of sample periods for calculating the mean |
| Advanced settings |
| Integer | probe_increment | 1 | Number of increments in probe amplitude |
| Modelica.SIunits.Angle | phase_shift | 0 | Phase shift of the ES |
| Modelica.SIunits.Angle | delay_compensation | 0 | Phase shift for compensating measurement delays |
| Modelica.SIunits.Frequency | f_cutoff_LPF | 0.1*probe_frequency | Cut-off frequency of LPF |
| Modelica.SIunits.Frequency | f_cutoff_HPF | 0.1*probe_frequency | Cut-off frequency of HPF |
| Integer | update_increment | 1 | Number of increments in each setpoint update |
| Real | abs_mean_threshold | 0 | Threshold of mean for changing objective function input |
| Real | max_control | 10e30 | Maximal control signal (including probe signal) |
| Real | min_control | -max_control | Minimum control signal (including probe signal) |