Model an ERM attribute condition
Use ERM attributes to control the conditions that determine the paths that a control flow is to pass.
Procedure
- Place an object of the ERM attribute type beside the relevant function before the XOR rule.
- Specify the ERM attribute's Data type attribute (Simulation attribute type group).
- Draw a connection of the has as output type from the function to the ERM attribute.
- Enter the operator and the operand for the has as output connection.
- Place an occurrence copy of the ERM attribute between the two events after the branch.
- Draw a connection of the is compared to type from the ERM attribute to the events.
- For each event, define the Comparison value attribute and specify the comparison operator.
The model paths are passed according to your input during the simulation run.
Example
ERM attribute conditions