主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

模型准备

获取参考结果,性能优化

将模型从桌面仿真转变为实时仿真是一个迭代过程,可能需要对模型进行很多次的重新配置。实时模型准备工作流展示如何在开发计算机上分析和降低模型的计算成本。完成该工作流后,您可以确定在实时目标机上进行仿真的最佳固定成本求解器设置。

主题

  • Model Preparation Process

    Follow the real-time model preparation workflow to make your Simscape™ model real-time capable.

  • Solvers for Real-Time Simulation

    The fixed-step solver, step size, and number of iterations that you specify affect how your Simscape model simulates in real time.

  • Improving Speed and Accuracy

    Simulating a Simscape model in real time requires a balance of speed and accuracy that you can attain by reducing computational costs, optimizing solver configurations, or increasing processing power.

  • Reduce Fast Dynamics

    To make your Simscape model real-time capable, decrease computational cost by reducing fast dynamics that you identify using frequency-response and pole-speed analyses.

精选示例