Variableninitialisierung
Der Simscape™-Solver berechnet die Anfangsbedingungen für die Modellsimulation, indem er Anfangswerte für alle Systemvariablen findet, die alle Modellgleichungen erfüllen. Sie können die Berechnung der Anfangsbedingungen beeinflussen, indem Sie die Priorität und die Zielanfangswerte für Blockvariablen festlegen. Sie können auch von einem gespeicherten Arbeitspunkt aus Variablen für ein ganzes Modell initialisieren. Nach dem Initialisieren der Blockvariablen und vor der Simulation des Modells können Sie im Variablen-Viewer prüfen, welche der Variablenziele erfüllt wurden.
Funktionen
Modelleinstellungen
Enable operating point initialization | Option to specify whether to use operating point data to initialize the model |
Model operating point | Name of operating point to use to initialize the model |
Themen
- Block-Level Variable Initialization
The principles of initializing variables and recommended workflows.
- Set Priority and Initial Target for Block Variables
How to specify target initial values and set priority for block variables.
- Initialize Variables for a Mass-Spring-Damper System
This example shows how you can use block variable initialization, and how it affects the simulation results of a simple mechanical system.
- Variable Viewer
How to use and customize the Variable Viewer.
- Using Operating Point Data for Model Initialization
The principles of initializing model variables from saved operating points, ways to extract data from models, and recommended workflows.
- Initialize Model Using Operating Point from Logged Simulation Data
This example shows how you can create an
OperatingPoint
object from logged simulation data and then use this operating point to initialize the model for a subsequent simulation run. - Indexing into Component Arrays
You can use command-line interface to index into an array of components, for example, to get or set operating point targets for a particular array member, or to plot simulation data.