I could not get BooleanIndicator to work (will discuss in another post), so I tried some logic of my own using UniformDistribution.
See the two attached screenshots.
The logic works, but when I save and re-load I get the error message:
*** INPUT ERROR *** Entity: Branch1, Keyword: Choice - Unit mismatch: 'Unknown Unit' and 'DimensionlessUnit' are not compatible
([UniformDistribution1].Value<=[UniformDistribution1].ProbabilityOfSuccess)+1
After experimenting with it, it seems "1" and [UniformDistribution1].ProbabilityOfSuccess are both Unknown Unit, but I do not see a way to add a Unit "Dimensionless".
Could JaamSim be made to default to "Dimensionless" if a unit is not specified?