【问题标题】:override the mat file when using "continue" calculation in Dymola在 Dymola 中使用“继续”计算时覆盖 mat 文件
【发布时间】:2021-01-23 02:10:46
【问题描述】:

我尝试在 Dymola 中使用“继续”计算,但它不会生成新的 .mat 文件,这使得存储我需要的数据变得很困难。
我的问题是:
在 Dymola 中使用 continue 计算时如何覆盖 .mat 文件?

【问题讨论】:

    标签: modelica dymola


    【解决方案1】:

    使用 Continue 时不能设置文件名(与 Continue>Continue 相同)。 但是,您可以:

    1. 使用 Continue>Import Initial 并选择 dsfinal.txt 导入最终值
    2. 正常模拟。如果您想要结果的不同文件名,可以在 Simulation Setup>General>Result
    3. 中进行更改

    【讨论】:

    • 问题是当我使用Continue时,它不会为Continue计算生成.mat文件。假设我在0-1s期间做模拟,那么当我做Continue的时候,模拟应该是在1-2s期间,但是.mat文件中没有1-2s相关的数据。
    • 我记得 Continue 的文件名是“dsres.mat”;不是被选中的。 (屏幕截图上面有 2 行。)
    猜你喜欢
    • 2015-01-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-25
    • 1970-01-01
    • 2020-08-29
    • 1970-01-01
    相关资源
    最近更新 更多