Skip to content

Commit 25c25ae

Browse files
committed
mention relevant signal and model libraries
1 parent b3f627f commit 25c25ae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/src/tutorials/disturbance_modeling.md

+8
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,14 @@ w = [1.0, 2.0]
202202
@test sort(f_oop(x0, u, p, t, w)) == [0, 0, 0, 1, 2]
203203
```
204204

205+
## Input signal library
206+
207+
The [`Blocks` module in ModelingToolkitStandardLibrary](https://docs.sciml.ai/ModelingToolkitStandardLibrary/stable/API/blocks/) contains several predefined input signals, such as `Sine, Step, Ramp, Constant` etc., a few of which were used in the examples above. If you have an input signal represented as a sequence of samples, you may use an [`Interpolation` block](https://docs.sciml.ai/ModelingToolkitStandardLibrary/stable/tutorials/input_component/), e.g., as `src = Interpolation(ConstantInterpolation, data, timepoints)`, see the docstring for a complete example.
208+
209+
## Disturbance-model library
210+
211+
There is no library explicitly constructed for disturbance modeling. Standard blocks from the [`Blocks` module in ModelingToolkitStandardLibrary](https://docs.sciml.ai/ModelingToolkitStandardLibrary/stable/API/blocks/), such as `Integrator, TransferFunction, StateSpace`, can model any disturbance with rational spectrum. Examples of this includes disturbance models such as constants, piecewise constant, periodic, highpass, lowpass, and bandpass. For help with filter design, see [ControlSystems.jl: Filter-design](https://juliacontrol.github.io/ControlSystems.jl/stable/man/creating_systems/#Filter-design) and the interface package [ControlSystemsMTK.jl](https://juliacontrol.github.io/ControlSystemsMTK.jl/dev/). In the example above, we made use of `Blocks.Integrator`, which is a disturbance model suitable for disturbances dominated by low-frequency components, such as piecewise constant signals or slowly drifting signals.
212+
205213
## Further reading
206214

207215
To see full examples that perform state estimation with ModelingToolkit models, see the following resources:

0 commit comments

Comments
 (0)