gpt4 book ai didi

modelica - 如何分配Modelica_LinearSystems2.ModelAnalysis.Linearize中使用的变量?

转载 作者:行者123 更新时间:2023-12-02 02:08:43 24 4
gpt4 key购买 nike

我想使用Modelica_LinearSystems2.ModelAnalysis.Linearize来分析我的模型的动态特性,因此我执行了以下命令,但在结果中,我感兴趣的变量不存在没有出现。
我的问题是:
如何分配 Modelica_LinearSystems2.ModelAnalysis.Linearize 函数中使用的特定变量?

enter image description here

enter image description here

最佳答案

该线性化仅基于输入、输出和状态,您无法更改该函数来线性化其他内容。

但是,您可以修改这些变量集。

  • 如果您想要线性化任何变量的计算,您可以将其更改为输出或添加新输出作为 output Real my1=IWantToLinearize;
  • 对于状态,您可以使用 stateSelect 属性进行更改,以便某些其他变量成为状态。
  • 如果您想查看另一个变量的变化如何影响结果,您不能直接将其作为输入,但您可以将内部变量 xintuse 替换为xint+u 并将 u 声明为输入,以线性化 w.r.t。这里发生变化。但是,您必须小心,以免 xint计算保持不变。

关于modelica - 如何分配Modelica_LinearSystems2.ModelAnalysis.Linearize中使用的变量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68033049/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com