Instantiate Architecture Model
Create an instance of the architecture model that you can use for analysis
Instantiate Architecture Model creates an instance of an architecture model for analysis.
The Select Stereotypes tree lists the
stereotypes of all profiles that have been loaded in the current session and allows you to
select those whose properties should be available in the instance model. You can browse for an
analysis function, create a new analysis function, or skip analysis at this point. If the
analysis function requires inputs other than elements in the model, such as an exchange rate to
compute cost, enter it in Function arguments. Select a mode for iterating
through model elements, for example,
Bottom-up to move from the
leaves of the tree to the root. Strict Mode ensures elements in the
instantiated model get properties only if the corresponding element in the composition model has
the stereotype applied.
Click Instantiate to open the Analysis Viewer.
Open the Instantiate Architecture Model
System Composer™ toolstrip: Navigate to Modeling > Analysis Model.
Analysis Function — Analysis function
Analysis function, specified as the MATLAB® function handle to be executed when analysis is run. For more information, see Analysis Function Constructs.
Function arguments — Analysis arguments
Comma-separated values of optional arguments to the analysis function.
Iteration Order — Iteration type
Iteration type to specify how to process instances while using the analysis function. Select one of these options from the list:
Pre-order— Start from the top level, move to a child component, and process the subcomponents of that component recursively before moving to a sibling component.
Top-Down— Like pre-order, but process all sibling components before moving to their subcomponents.
Post-order— Start from components with no subcomponents, process each sibling, and then move to parent.
Bottom-up— Like post-order, but process all subcomponents at the same depth before moving to their parents.
Normalize Units — Whether to normalize value based on units
off (default) | on
Whether to normalize value based on units, if any, specified in property definition upon instantiation.
Strict Mode — Condition for instances getting properties
off (default) | on
Condition for instances getting properties only if the corresponding element in the composition model has the stereotype applied.
Analysis is a method for quantitatively evaluating an architecture for certain characteristics. Static analysis analyzes the structure of the system. Static analysis uses an analysis function and parametric values of properties captured in the system model.
Use analyses to calculate overall reliability, mass roll-up, performance, or thermal characteristics of a system, or to perform a SWaP analysis.
An analysis function is a MATLAB function that computes values necessary to evaluate the architecture using the properties of each element in the model instance.
Use an analysis function to calculate the result of an analysis.
An instance model is a collection of instances.
You can update an instance model with changes to a model, but
the instance model will not update with changes in active variants or model references. You can
use an instance model, saved in a
MAT file, of a System Composer architecture model for analysis.
An instance is an occurrence of an architecture model element at a given point in time.
An instance freezes the active variant or model reference of the component in the instance model.
Introduced in R2019a