问题描述
我正在尝试将测量噪声添加到模拟中.这在例如 Simulink 中是可能的,但在 Modelica 和 SystemModeler 中似乎更难.
I am trying to add measurement noise to a simulation. This is possible to do in for example Simulink but seems to be more difficult in Modelica and SystemModeler.
关于如何做到这一点的任何想法?
Any ideas on how to do this?
推荐答案
另一种选择是使用 Modelica.Blocks.Noise
来避免自己编写外部代码(在 Modelica Standard Library 3.2.2 发布中添加2016 年 4 月 3 日;也就是说,当提出原始问题时,它不会有帮助).
An alternative is to use Modelica.Blocks.Noise
to avoid writing external code yourself (added in Modelica Standard Library 3.2.2 released April 3, 2016; i.e. it would not have helped when the original question was asked).
Modelica.Blocks.Noise
的一个好处是解决了采样、多种子等棘手问题.
One benefit of Modelica.Blocks.Noise
is that the tricky questions with sampling, multiple seeds, etc are solved.
这篇关于在 Modelica (SystemModeler) 中生成白噪声的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!