Showing results for 
Search instead for 
Do you mean 
Reply

different traffic intensity at different time intervalls

Hi!

I am a total PlantSimulation newbie and want to simulate a production process where machines produce parts in 3 shifts (e.g. 10 parts per hour) from monday to friday. On saturday and sunday only some of the machines are producing, so the arrival rate is lower than on weekdays (e.g. saturday shift 1 is 9 parts per hour, shift 2 is 5 parts per hour, shift 3 is 5 parts per hour, and then sunday shift 1 is 2 parts per hour, shift 3 is 2 parts per hour and shift 3 is not producing at all). This model would highly resemble a call-center model where the arriving calls are the machines producing parts, and the agents are employees handling these parts after the production process. I played around with the shift calendar, but i didnt get how to individually change the arrival rate of the source with every shift. I want to simulate how the inventory after the production process is changing with different shift models.

As i am new to this program i am assuming that my request is realizable using some basic function of plant simulation that i just havent found, so thanks in advance for helping me with this.

Thanks in advance

1 REPLY

Re: different traffic intensity at different time intervalls

I guess the easiest way would be to use a formula in the interval field of the source.

First you need to insert all your intervals into a tableFile:

sk.png

Then add a shiftcalendar into the frame (21 shifts!).

You can use dayOfWeek to read the weekday (sunday = 0) and <shiftCalendar>.getCurrShift to read the Shift-name from the shiftcalendar.

With these two values, you can create a formula to read the interval from the table, e.g.

 

times[shiftCalendar.getCurrShift,dayOfWeek(eventController.absSimTime)+1]

 

Plant Simulation will call this formula for create the create-events in the event-list.

 

To insert a shift without MUs, deactivate "blocking" in the source and assign a shift calendar with less shifts to the source.

 


Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net