변수 초기화
Simscape™ 솔버는 모든 모델 방정식을 충족시키기 위해 모든 시스템 변수에 대한 초기값을 구해서 모델 시뮬레이션을 위한 초기 조건을 계산합니다. 사용자는 블록 변수에 대한 우선 순위 및 목표 초기값을 지정하여 초기 조건 계산에 영향을 미칠 수 있습니다. 또한 저장된 동작점에서 전체 모델에 대한 변수를 초기화할 수 있습니다. 블록 변수를 초기화한 후 모델을 시뮬레이션하기 전에 변수 뷰어를 열어서 어느 변수 목표값이 충족되었는지 확인할 수 있습니다.
함수
도움말 항목
- 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.