Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

시뮬레이션 조건 구성하기

솔버 선택, 초기 조건 설정, 입력 데이터 세트 선택, 스텝 크기 설정

Simulink®에서 모델을 구축한 후에는 시뮬레이션을 구성하여 모델을 구조적으로 변경하지 않고도 빠르고 정확하게 실행할 수 있습니다.

시뮬레이션 구성의 첫 번째 단계는 솔버를 선택하는 것입니다. 기본적으로, Simulink에서는 가변 스텝 솔버를 자동으로 선택합니다. 구성 파라미터 대화 상자의 솔버 창에서 솔버 옵션을 미세 조정하거나 다른 솔버를 선택할 수 있습니다.

경우에 따라 시뮬레이션이 느려지거나 멈출 수 있습니다. 시뮬레이션에서 병목 현상을 식별하고 솔버 성능을 개선할 수 있는 권장 사항을 얻으려면 솔버 프로파일러를 사용하십시오.

함수

모두 확장

openDialogOpen configuration parameters dialog
closeDialogClose configuration parameters dialog
Simulink.BlockDiagram.getAlgebraicLoopsIdentify and analyze algebraic loops in a model
solverprofiler.profileModelProgrammatically analyze solver performance for model using Solver Profiler

모델 설정

모두 확장

시작 시간Simulation start time
중지 시간Simulation stop time
유형Choice of variable- or fixed-step solver
솔버Solver that computes states and outputs for simulation

스텝 크기 및 오차의 허용오차

최대 스텝 크기Maximum step size for variable-step solver
최소 스텝 크기Minimum step size for variable-step solver
초기 스텝 크기Size of first time step for variable-step solver
연속 최소 스텝 수Number of steps less than or equal to minimum step size allowed before minimum step size violation occurs
상대 허용오차Relative tolerance for solver tolerance calculation
절대 허용오차Absolute tolerance for solver tolerance calculation
절대 허용오차 자동 스케일링Option to scale absolute tolerance based on state values
형태 보존Option to preserve shape of states using derivative information at each time step

영점교차 검출

영점교차 제어Option to control how zero-crossing detection is enabled in the model
알고리즘Algorithm for zero-crossing detection with variable-step solver
시간 허용오차Definition of consecutive zero crossings
신호 임계값State value at which adaptive zero-crossing algorithm can stop bracketing
연속 영점교차 개수Threshold for issuing diagnostic due to consecutive zero crossings

솔버 계산 옵션

적분 방법Integration for nonadaptive odeN variable-step solver (R2020a 이후)
최대 차수Order of numerical differentiation formulas used for ode15s solver
솔버 재설정 방법Option to specify whether solver recomputes Jacobian matrix during solver reset
솔버 야코비 행렬 방법Method implicit solvers use to compute Jacobian matrix
외삽 차수Extrapolation order for ode14x fixed-step solver
뉴턴의 반복 횟수Number of Newton's method iterations used by ode14x and ode1be solvers
Daessc 모드Mode of operation for daessc solver

태스킹 및 샘플 시간 옵션

데이터 전송을 위한 레이트 변경 자동 처리Option to ensure integrity of data transfer between different sample times in deployed code
여러 태스크에서 입력 및 출력에 액세스할 수 있도록 허용Option to treat root-level input and output ports as part of each connected task in rate-based model (R2021b 이후)
더 높은 우선 순위 값은 더 높은 태스크 우선 순위를 나타냄Priority ordering for real-time system targets
결정적 데이터 전송Deterministic data transfer behavior for automatically inserted Rate Transition blocks

스텝 크기

고정 스텝 크기(기본 샘플 시간)Step size for fixed-step solver

영점교차 검출

고정 스텝 솔버에 대한 영점교차 검출 활성화Option to use zero-crossing detection with fixed-step solver (R2022a 이후)
영점교차 제어Option to control how zero-crossing detection is enabled in the model
탐색 구간의 최대 반복 횟수Maximum number of iterations performed when locating zero crossing (R2022a 이후)
스텝별 최대 영점교차 수Maximum number of zero crossings to locate in a single time step (R2022a 이후)

솔버 계산 옵션

솔버 야코비 행렬 방법Method implicit solvers use to compute Jacobian matrix
외삽 차수Extrapolation order for ode14x fixed-step solver
뉴턴의 반복 횟수Number of Newton's method iterations used by ode14x and ode1be solvers

태스킹 및 샘플 시간 옵션

주기적인 샘플 시간 제약 조건Option to specify constraints on model sample times
샘플 시간 속성Discrete sample time periods, offsets, and priorities
각 이산 레이트를 별개의 태스크로 처리Option to enable multitasking execution
타깃에서 태스크를 동시에 실행하도록 허용Enable concurrent tasking behavior for model
데이터 전송을 위한 레이트 변경 자동 처리Option to ensure integrity of data transfer between different sample times in deployed code
여러 태스크에서 입력 및 출력에 액세스할 수 있도록 허용Option to treat root-level input and output ports as part of each connected task in rate-based model (R2021b 이후)
더 높은 우선 순위 값은 더 높은 태스크 우선 순위를 나타냄Priority ordering for real-time system targets
결정적 데이터 전송Deterministic data transfer behavior for automatically inserted Rate Transition blocks
대수 루프Diagnostic behavior when algebraic loop detected during compilation
대수 루프 최소화Diagnostic behavior when the software is unable to resolve artificial algebraic loops
블록 우선 순위 위반Diagnostic behavior when the software detects block priority specification error
최소 스텝 크기 위반Diagnostic behavior when minimum step size violation occurs
연속 영점교차 위반Diagnostic behavior when zero-crossing violation occurs
솔버 파라미터 자동 선택Diagnostic behavior when the software changes a solver parameter value
상태 이름 충돌Diagnostic behavior when more than one state has same name

도움말 항목

Simulink의 솔버

상태 정보

솔버 프로파일러

대수 루프