I am developing a model which has a routing to move parts from a workcell to another.
The part is supposed to be on a carrier which is moved by the worker.
I don't believe that the concept worker / broker is the right way to use. I need to put a chart at each workcell entry and pick it up at the exit when the part has been put on the 'exit' chart .
There are 2 charts per workcell (IN and OUT). A robot is moving the part around in the workcell. The worker / transported is a Tug type vehicle.
In order to try out another way to do it, I tried out the transportation model example given in the reference doc by Steffen Bangsow (starts page 534). It's always getting stuck at station M2.
How can I debug the Sensor control methods which are triggered at each sensor position. I added local methods to set breakpoints.
I attached my model.
Solved! Go to Solution.
you want to stop the simulation at each event of type 'SensorStart':
Open the Eventcontroller and open the Event Debugger (on the first tab)
Press the button Breakpoints: The dialog Breakpoints is opened, press new.
The dialog Breakpoint is opened. Select the Type 'SensorStart'.
Do not forget to activate the checkbox Breakpoints active.
Start the simulation, at the sensor event use the F11 key to open the debugger.
Please note that you model has no sensor event.
you need to connect the end of the track with its start; if you create a MU on a track, the MU is located at the end of the track by default. Without a connector, you will not be able to enter the track after one loop.
I have made some corrections in your model: you need to fill the attributes in the track; if you use an external method instead of an internal, you need to refer the attributes of the tracks e.g. with ?.attribute instead of self.~.attribute...
And you need only one method.
freelance simulation specialist
thanks for your reply. I don't understand what you mean by 'no Sensor event' ?
I don't see such option in the sensor table.