Expressing Opaque Behaviors through Simulation

 

There have been many questions now about ways to parse the model to manipulate values during simulation. This is a complex topic due to the separation between run-time simulation data and cross-cutting information. 

One way to accomplish this is using structured expressions within an opaque behavior to pull cross-cutting information into variables that can be used for calculations and then feeding this through a parametric diagram to send those values to value properties.

This topic was first discussed during during INCOSE IS in 2024's "The Convergence of COSYSMO Parametric Cost Estimation with Model-Based Systems Engineering" and  "Enhancing Capabilities of Parametric Diagrams with Opaque Behaviors".

Here we will take a simple sample of a block with P1, P2, and P3 to sum P1 and P2 to save the sum in P3 using structured expressions, parametric diagrams, and opaque behaviors.

Model:

Scripts:

  • vpSumCall

  • vpSumMap

 

Video: https://youtu.be/J_CwpfgMw3A