주요 콘텐츠

아키텍처 모델의 Variant 컴포넌트

System Composer™ 아키텍처 모델에서 Variant 선택지 생성, 관리 및 분석

Variant 컴포넌트를 사용하면 아키텍처 모델에서 별도의 요구 사항 세트를 충족하기 위해 시스템에 대한 다양한 설계 대안을 만들고 사용할 수 있습니다. Variant 컴포넌트는 여러 Variant 선택지 간에 전환할 수 있는 모델의 일부를 나타냅니다. Variant 선택지는 시뮬레이션 중에 활성 선택지로 추가, 분석, 선택할 수 있는 설계 대안입니다. Variant 컴포넌트를 사용하면 설계 선택지를 신속하게 프로토타이핑하고, 재사용 및 사용자 지정을 위한 모듈식 서브시스템을 빌드하는 데 도움이 됩니다. Variant 컴포넌트의 기본 개념에 대한 자세한 내용은 What Are Variants and When to Use Them 항목을 참조하십시오.

Variant Component 블록에 Variant 선택지를 추가하여 설계 대안을 만들고 관리합니다. Variant Component 블록에 대한 활성 선택지를 설정하고, 사용 가능한 선택지를 가져오고, Variant 선택지를 프로그래밍 방식으로 활성화하기 위한 조건을 설정합니다. Variant 관리자를 사용하여 모델 계층 구조를 보고 모델의 Variant 요소를 관리합니다. 다양한 Variant 선택지를 배포할 수 있는 아키텍처 모델을 설계 및 빌드하고, 파라미터(예: 생산 시간) 측면에서 가장 효과적인 선택지를 결정하기 위해 분석 함수를 실행합니다.

블록

Variant ComponentAdd components with alternative designs

클래스

systemcomposer.arch.VariantComponentVariant component in System Composer model

함수

addChoiceVariant 컴포넌트에 Variant 선택지 추가
addVariantComponentAdd variant components to architecture
getActiveChoiceGet active choice on variant component
getChoicesGet available choices in variant component
getConditionReturn variant control on choice within variant component
makeVariantConvert component to variant choice
makeVariantAssemblyConvert variant component to variant assembly component (R2023b 이후)
setActiveChoiceSet active choice on variant component
setConditionSet condition on variant choice
updatePortsFromChoicesUpdate ports in Variant Component block to match its variant choices (R2024a 이후)

도움말 항목

  • Variant Components

    Create multiple variant choices for a component and select a choice using variant controls.

  • Variant Assembly Components

    Add or remove variant choices to a Variant Assembly Component block from external sources without modifying the model.

관련 정보

추천 예제