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 04-30-2014
Ryan Davis Ryan Davis is offline
Flexsim User
 
Join Date: Jul 2012
Location: Grand Rapids, MI
Posts: 12
Downloads: 2
Uploads: 0
Thanks: 9
Thanked 12 Times in 5 Posts
Rep Power: 102
Ryan Davis is on a distinguished road
Default Unable to set model start time with custom repeating Time Table?

Hello,

I have set up a Time Table with a custom repeat time and it appears this doesn't allow me to set the start time for the simulation. It seems I can only start the simulation at time 0 (Monday 12:00 AM). You can see this by going into the tree and changing the repeattype for a time table to 4 (Custom) and then trying to set the modelstarttime in the tree. When resetting the model the modelstarttime will always revert back to 0. If you set the repeattype to 3 (Weekly) the modelstarttime will instead revert to the start time specified in the settings menu on reset. Is this the intended behavior for custom repeating time tables?

Secondly, is there a way to define the bucket size in the GUI for time tables? My custom repeating table is in fact set up to repeat on a weekly schedule but the GUI for weekly tables only allows 15 minute increments and I need 5 minute increments. The daily repeating option has 5 minute increments but that leaves the problem of Saturday and Sunday needing to be different.
  #2  
Old 04-30-2014
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

This is by design.

If you set a custom repeating table, then the table values are based on the model start time already. A value of 5 means 5 time units from the model start time. If you change your model's start time, the value of 5 will still mean 5 units from the model start time. That's how custom repeating time tables work.

The modelstarttime variable on the time table is not the model's start time. It is a local variable on the time table object that is used in calculating the time table's down times explicitly when you are repeating daily or weekly.

The model's start time is stored in MODEL:/Tools/ModelUnits/ModelDateTime/start

We are currently working on developing another repeat mode that is like "Custom," but where you specify the start time of the time table. Then each line will be an offset from the time table's start time and changing the model's start time will affect when each of those custom down times happens relative to when the model starts.
The Following 3 Users Say Thank You to Phil BoBo For This Useful Post:
Tom David (05-06-2014)

Tags
time table


Thread Thread Starter Forum Replies Last Post
Time Table triggers don't work Abdul Mirza Q&A 2 05-08-2013 01:19 PM
Custom GUI processing time input & script control shashanktrivedi Q&A 2 05-19-2011 10:28 AM
Simulation Start Time Jamie Santa Ana Container Terminal (CT) Library 1 04-14-2010 09:02 AM
Regarding the function of Time table in Flexsim Ong Wu Sheng Q&A 2 12-16-2009 08:58 AM
What is the exact start time of dewell time? zhang xin Container Terminal (CT) Library 1 11-23-2009 10:56 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.