Configurar las condiciones de simulación
Después de construir un modelo en Simulink®, puede configurar la simulación para que se ejecute con rapidez y precisión sin necesidad de realizar cambios estructurales.
El primer paso para configurar la simulación es seleccionar un solver. De forma predeterminada, Simulink selecciona automáticamente un solver de paso variable. Puede ajustar las opciones del solver o seleccionar uno diferente en el panel Solver del cuadro de diálogo Configuration Parameters.
A veces, una simulación puede ralentizarse o bloquearse. Utilice Solver Profiler para identificar los cuellos de botella en la simulación y obtener recomendaciones para mejorar el rendimiento del solver.
Funciones
Herramientas
Ajustes de modelos
Temas
Solvers en Simulink
- Choose a Solver
Choose a solver based on the dynamics of the model.
- Compare Solvers
A dynamic system is simulated by computing its states at successive time steps over a specified time span, using information provided by the model. - Zero-Crossing Detection
Learn how zero-crossing events affect simulation. - Choose a Jacobian Method for an Implicit Solver
For implicit solvers, Simulink must compute the solver Jacobian, which is a submatrix of the Jacobian matrix associated with the continuous representation of a Simulink model. - Use Local Solvers in Referenced Models
Learn how local solvers work and how to configure a local solver. - Zero-Crossing Detection with Fixed-Step Simulation
Learn how zero-crossing detection affects fixed-step simulation.
Información del estado
- Save Block States and Simulation Operating Points
Learn how you can use state information logged from simulation and decide how to log states and operating points. - Use Model Operating Point for Faster Simulation Workflow
Reduce the time required to run a set of simulations by simulating from an initial operating point.
Solver Profiler
- Examine Model Dynamics Using Solver Profiler
Identify factors affecting model simulation using the Solver Profiler. - Solver Resets
The Solver Profiler logs events that cause the solver to reset its parameters because solver resets do incur computational cost. - Zero-Crossing Events
Detect zero-crossing events using Solver Profiler. - Solver Exception Events
This example simulates two identical nonlinear spring-damping systems. - Jacobian Logging and Analysis
The Solver Profiler supports Jacobian logging and analysis for implicit solvers.
Bucles algebraicos
- Algebraic Loop Concepts
Learn how algebraic loops are created during simulation. - Identify Algebraic Loops in Your Model
If Simulink reports an algebraic loop in your model, the algebraic loop solver may be able to solve the loop. - Remove Algebraic Loops
Learn how to break undesired algebraic loops in a model. - Modeling Considerations with Algebraic Loops
Learn modeling techniques to avoid unnecessary algebraic loops.