
modelMFBS
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Parameters
| Type | Name | Default | Description |
| Real | amplitude | 1 | Amplitude of signal |
| SI.Time | period | | Period for repeating sequence |
| Real | offset | 0 | Offset of output signal |
| SI.Time | startTime | 0 | Output = offset for time < startTime |
| SI.Time[:] | mls_t | TRANSFORM.Math.max_len_seq__sine_time(weights, harmonics, bias) | |
| Real | mls0 | mls_t[end] | |
| Sequence |
| Real | bias | 0 | Bias from nominal middle value of signal |
| Integer | use_SetWeight | 1 | Select predefined weight or set weights manually |
| Real[:] | weights | if use_SetWeight == 1 then {1, 1, 1, 1, 1, 1, 1} elseif use_SetWeight == 2 then {1, -1, 1, -1, 1, -1, 1}
elseif use_SetWeight == 3 then {0.5, 1, 1, 1.2, 1.8, 1.8, 2} else fill(0, 1) | Sequence weighting |
| Integer[size(weights, 1)] | harmonics | {1, 2, 4, 8, 16, 32, 64} | Sequence harmonics. size(harmonics) = size(weights) |