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 > Tips and Tricks
Downloads

Tips and Tricks Share helpful modeling ideas

  #1  
Old 04-23-2008
Brandon Peterson's Avatar
Brandon Peterson Brandon Peterson is offline
The Flexsim Consultant
 
Join Date: Jul 2007
Location: Salt Lake City, Utah
Posts: 382
Downloads: 29
Uploads: 6
Thanks: 192
Thanked 516 Times in 235 Posts
Rep Power: 490
Brandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant future
Default Inter Arrival Time by Time of Day Mod

All,

The source in this model has a custom built inter arrival time that uses the time of day to lookup an inter arrival time from a table. The table contains the time of day in the first column and the return value in the second. Each line of code is commented to help you understand what I did if you want to edit it.

The following are required fields in the code template field:
Table Name - Name of the global table
Model Time Unit - The unit of measure for the sim time
Table Lookup Time Unit - The unit of measure for the first column (lookup) of the table
Table Value Time Unit - The unit of measure for the second column (value) of the table

Good Luck,
Brandon
Attached Files
File Type: zip Interarrival time by time of day.zip (38.3 KB, 556 views)
__________________
thats not normal.
The Following User Says Thank You to Brandon Peterson For This Useful Post:
KelvinHo (05-13-2008)


Thread Thread Starter Forum Replies Last Post
Displaying the simulation time with the various date/time formats. Regan Blackett Tips and Tricks 12 11-12-2012 08:01 AM
How to run tasks after stop time? Fadhlullah Bin Rahmat Q&A 1 02-26-2008 04:44 PM
Warmup time Nico Zahn Q&A 1 11-29-2007 04:02 PM
How to use the actual date/time data in Arrival Schedule Mode of Source syseo Q&A 0 10-12-2007 08:22 PM
What time units? Anthony Timmiss Q&A 2 08-16-2007 10:08 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.