question

zaetrab avatar image
0 Likes"
zaetrab asked zaetrab commented

On Resource Available Change Activity

Hi!

I have a simple simulation with an elevator that uses "On Resource Available Change" to make pallets wait for the elevator. The queue next to the elevator represents the elevator's roller conveyor, which picks up two pallets, so pallets can only enter when the elevator is in the down position.
In the "On Resource Available Change" block, "Change rule" I have "Increase to exact value" set. - value 1. If I understand correctly, when the elevator is in use the resource available value is 0 and changes to 1 when the resource is released. Everything works as it should, I only have one problem. When the elevator is in motion and I press reset simulation I get this error:
"exception: Exception caught in evaluation of /Tools/ProcessFlow/ProcessFlow/Elevator>stats/instances/ProcessFlow/resourceAvailable/onChange".

My questions are:
- Do I understand and use the "On Resource Available Change" block correctly in this case.
- Why does this error appear and is it possible to do something about it?


simple_elevator.fsm

FlexSim 24.0.1
wait for eventexception errorquestion
simple-elevator.fsm (54.1 KiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered zaetrab commented

Note sure why this bug is happening, but can you not just use the default behavior for this without a process flow? Do you need it to take 2 every time?

simple-elevator_jl.fsm

I've sent it into the developers.


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.