Main Content

Model Preparation

Obtaining reference results, performance optimization

Moving your model from desktop simulation to real-time simulation is an iterative process that can require extensive model reconfiguration. The real-time model preparation workflow shows how to analyze and decrease the computational cost of your model on a development machine. After completing the workflow, you can determine optimal fixed-cost solver settings for simulation on a real-time target machine.

Topics

  • 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.

Featured Examples