Variant Physical Network Components
With the Variant Connector (Simscape) block, you can represent all design alternatives of a physical network in a single model. Each design choice is incorporated into the model as a variant choice. Such models have a fixed common structure and a finite set of variable components that are activated or deactivated depending on the Types of Variant Control Modes in Variant Blocks you select.
Consider an in-flight fuel imbalance scenario, where the quantity of fuel between the fuel tanks in the left and right wings of an aircraft is unequal. To maintain airplane lateral balance, you must pump the fuel so that the load between the left- and right-wing tanks is symmetrical. In this scenario, the only component required is the pump. All other power distributor components such as, Transformer & Rectifier Unit (TRU), AC lamps, and actuators can be excluded from simulation as they are not required to balance the fuel in the wings. You could set the variant control appropriately to activate the pump. You can then activate other components based on the Types of Variant Control Modes in Variant Blocks you select.
The code that you generate for the Variant Connector block contains only the active components of a system. Inactive components do not participate in code generation.
Bloques
Variant Connector | Remove or disconnect physical components from network |
Clases
Temas
- Model Variants in an Electrical Circuit Using Variant Connector Blocks (Simscape)
Restrict propagation of Variant condition in an electrical circuit using primary and nonprimary type Variant Connector blocks.
- Model Variants in a Mechanical System Using Variant Connector Blocks (Simscape)
Restrict propagation of Variant condition in a mechanical system using leaf type Variant Connector block.