이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
아키텍처 모델의 Variant 컴포넌트
Variant 컴포넌트를 사용하면 아키텍처 모델에서 서로 다른 요구 사항 세트를 충족하기 위해 시스템에 대한 다양한 설계 대안을 만들고 사용할 수 있습니다. Variant 컴포넌트는 다양한 Variant 선택 간에 전환할 수 있는 모델의 일부를 나타냅니다. Variant 선택지는 설계 대안이며 시뮬레이션 중에 추가, 분석, 선택할 수 있는 활성 선택지입니다. Variant 컴포넌트를 사용하면 설계 선택지에 대한 프로토타입을 신속하게 제작하고 재사용 및 사용자 지정을 위한 모듈식 서브시스템을 구축할 수 있습니다. Variant 컴포넌트의 기본 개념에 대한 자세한 내용은 What Are Variants and When to Use Them를 참조하십시오.
Variant Component 블록에 Variant 선택지를 추가하여 디자인 대안을 만들고 관리합니다. Variant Component 블록에 대한 활성 선택지를 설정하고, 사용 가능한 선택지를 검색하고, Variant 선택지를 프로그래밍 방식으로 활성화하기 위한 조건을 설정합니다. Variant Manager를 사용하여 모델 계층 구조를 보고 모델의 변형 요소를 관리하십시오. 다양한 Variant 선택지를 배포할 수 있는 아키텍처 모델을 설계하고 구축하고, 생산 시간 등의 파라미터 측면에서 가장 효과적인 선택을 결정하기 위한 분석 함수를 실행합니다.
블록
Variant Component | Add components with alternative designs |
클래스
systemcomposer.arch.VariantComponent | Variant component in System Composer model |
함수
addChoice | Add variant choices to variant component |
addVariantComponent | Add variant components to architecture |
getActiveChoice | Get active choice on variant component |
getChoices | Get available choices in variant component |
getCondition | Return variant control on choice within variant component |
makeVariant | Convert component to variant choice |
makeVariantAssembly | Convert variant component to variant assembly component (R2023b 이후) |
setActiveChoice | Set active choice on variant component |
setCondition | Set condition on variant choice |
updatePortsFromChoices | Update 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.