ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 06-12-2012
Jens Mühlheimer Jens Mühlheimer is offline
Flexsim User
 
Join Date: Jul 2008
Location: Stuttgart, Germany
Posts: 140
Downloads: 8
Uploads: 0
Thanks: 40
Thanked 35 Times in 27 Posts
Rep Power: 174
Jens Mühlheimer will become famous soon enoughJens Mühlheimer will become famous soon enough
Default Simulating daily customer demand

Hello everybody,

I would like to discuss a general topic on how to simulate daily customer demands.
In my model, the ordered material is pulled from a supermarket with multiple conveyors for the specific item numbers. In detail I realized this by opening the output ports through a couple of messages coming from reoccurring UserEvents and closing them after the daily amount has been released and counted.

Now the problem is that it might not be realistic that the same amount is ordered every day OR if you have a 'calculated' demand of e.g. 6.3 FlowItems per day, you have to think about a way to model 0.3 FlowItems somehow.

I thought about 2 ways.

Idea 1: Use 10 different UserEvents and 10 different table values (e.g. pull 6 FlowItems on 7 days and 7 FlowItems on 3 days -> equal average of 6.3 Flowitems/day)

Idea 2: Use a probability distribution function and round it to an integer, the pull amount will vary, but the advantage will be correct over time. I built a sample model (see attachment) and I'm quite happy with the result.

I used the following code:

Code:
round(exponential(gettablenum("abruf",1,1)-1,1
Note: 'abruf' means 'demand' in German



In the screenshot you can see the pull amount I specified in the experimenter and the results on the right hand side.

What do you think about the ideas and have you had similar problems or alternative approaches?

Thanks in advance!
Jens
Attached Files
File Type: fsm variable demand.fsm (62.1 KB, 88 views)
  #2  
Old 06-12-2012
Peppino Peppino is offline
Flexsim User
 
Join Date: May 2012
Location: Leverkusen, Germany
Posts: 27
Downloads: 1
Uploads: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 98
Peppino is on a distinguished road
Default

You could take a separate source and sink to bild a customer demand takt. Set the arrival time to whatever you want, and send on exit trigger a message to your queue to releas the flowitem.


Thread Thread Starter Forum Replies Last Post
Pull logic based on daily demand Jens Mühlheimer Q&A 1 03-20-2012 03:27 AM
How to simulate monthly demand scenarios? naren nataraj Tips and Tricks 1 02-29-2012 08:27 AM
Simulating Distribution Center Taping Area CasimiraFederspiel Q&A 2 05-25-2011 07:41 AM
Demand Simulation manuel fernandez Q&A 2 03-11-2010 07:44 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.