Non-normative extensions to SysML considered for standardization in future versions of the language consist of stereotypes and model libraries. They are organized by major diagram types, which are consistent with how the main body of this specification is organized. Distribution ExtensionsA Distributed Property is a property of a Block or a Value Type used to apply a probability distribution to the values of the property. Specific distributions can be defined by applying a Subclass of the «DistributedProperty» stereotype to a property according to OMG SysML 1.4, E.7 Distribution Extensions. Magic Model Analyst Cameo Simulation Toolkit supports three types of distributions: Uniform, Normal, and Triangular.
To set a distributed property
- Select a property and double-click it to open the Specification window.
- Select Applied Stereotype and click [...] to include a distribution property.
Specify the required properties. These include Mean, Standard Deviation, etc. for «normal» and Min, Max, etc. for other distributed properties.
Image Removed
Image Added
- Click Close. The distributed property will be applied.
- Run the simulation model. Depending on the applied stereotype, the distributed properties will be initialized with a random value, such as normal distribution, constant distribution between min & max
value- values. You can review sampling results by running the model with association end multiplicity (e.g., 100), and keep the result with «CSVExport» for analysis.
Results of the distributed property normal «normal» (with 500 100000 samples) can be plotted as a normal distribution chart via MATLAB or other tools.
Image Removedwith a Mean value of 10 and a Standard Deviation value of 2. Image Added
You can apply a «uniform» distributed property stereotype with Min and Max properties (e.g., 1 0 and 10100) to plot a uniform distribution chart.
Image Removed Image Added
- You can apply a «triangular» distributed property stereotype with Min, Max, and Peak properties to plot a triangular distribution chart.
The sample project used is <modeling_tool_installation_directory>\samples\simulation\AircraftProjectAnalysis.mdzip.
Image Removed
Image Added
|