Hi, I want to have a quality check for an OptionalGage. I want the RobotC to take one in every ten entities. Right now I have it set up so that it chooses a random number and if that number is in the .00-.10 range the RobotC takes it. This is 10% as opposed to one in ten and I was wondering if there was any way to simulate that. I've attached a picture below. Thanks in advance!
Did you for example have a look at the discrete Empirical (dEmp) or uniform (z_uniform) distribution if that's you
you mean by "simulate that"
@dEmp and z_uniform
These are defined distributions.
For details please refer to the plant Simulation help
Looking at your posted screenshots - you are already using the z_uniform distribution