View and edit analysis instance model and analyze using analysis function
The Analysis Viewer shows an instantiated architecture.
The Analysis Viewer shows all elements in the first column. The other columns show properties for all stereotypes chosen for the current instance. If a property is not part of a stereotype applied to an element, that field is greyed out. You can use the Filter button to hide properties for certain stereotypes. When you select an element, Instance Properties shows the stereotypes and property values of the element. You can save an instance in a MAT-file and open it again in the Analysis Viewer.
Open the Analysis Viewer
System Composer™ toolstrip: Navigate to Modeling > Analysis Model > Analysis Viewer.
In the Instantiate Architecture Model tool, select Instantiate.
Analyze — Analyze architecture instance
Analyze the architecture instance using an analysis 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.
Update — Push changes from instance to model
Push the changes from the architecture instance to the architecture model.
Refresh — Pull changes to instance from model
Pull changes to the architecture instance from the architecture model.
Continuous — Whether continuous analysis is enabled when values change
off (default) | on
Select this check box to enable continuous analysis when values change.
Automatic — Whether instance automatically refreshes when composition changes
off (default) | on
Select this check box to automatically refresh the instance when the composition changes.
Overwrite — Whether to overwrite entire instance model from composition model
off (default) | on
Select this check box to overwrite the entire instance model from the composition model.
systemcomposer.analysis.loadInstance loads a saved architecture
instance object from a saved MAT-file that can be later opened in the Analysis
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.