This module represents an statistical or conditional division in the flow of entities.
The model can be configured in two ways:
- Chance. Defines an statistical division in the flow of entities. The Percent_true percentage of entities are sent through the Out1 port, and the rest through the Out2 port.
- Condition. Defines a conditional division in the flow of entities. If the Condition is true, the entity is sent through the Out1 port, and otherwise through the Out2 port.
Additional rules can be connected to the ports of the Decide module to represent other percentages or conditions in the division of the flow of entities.
Notice that the percentages of all the rules, including the Decide module, has to sum 100.
Outputs
This module does not generate any output.
model Decide = SRC.BasicProcess.Decide;
Generated at 2024-12-03T19:25:34Z
by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos