Dear Plant Simulation Expert,
I have a question on the number of collisions between transporters.
For instance, there are many inter-sections on the lanes, in case of that, could i check the number of collisions between transporters each other ?
as I know, there is a method 'collided' to just show true or not(i.e collided or not).
But, if collided, then, I want to know the number of collisions.
Thanks in advance.
Solved! Go to Solution.
you can create your own statistical value for this case:
insert into the transporter in the class library a user defined attribute (e.g. statNumCollided: integer).
Add an observer for collided to the transporter in the class library;
param Attribut: string, oldValue: any if oldValue = false then self.~.statnumCollided:= self.~.statNumCollided+1 end
freelance simulation specialist