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 01-26-2012
George Serhan George Serhan is offline
Flexsim User
 
Join Date: Oct 2011
Posts: 49
Downloads: 10
Uploads: 0
Thanks: 59
Thanked 0 Times in 0 Posts
Rep Power: 107
George Serhan is on a distinguished road
Default Unexpected program stop

Hi,

The program stop working at the same spot every time, and I can't debug the problem. I don't understand what caused it to just stop functioning. The max run time before stopping was 1135 . Any idea what could be the culprit.

Thanks
Attached Files
File Type: fsm Version1.fsm (56.3 KB, 91 views)
  #2  
Old 01-26-2012
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

Hi Simul,

please open your system console and have a look at your errors. Some referenced labels doesn't exist.

The Simulation stops because you haven't left any events (Debug > Event List).

Greetings

Carsten
The Following User Says Thank You to Carsten Seehafer For This Useful Post:
George Serhan (01-26-2012)
  #3  
Old 01-26-2012
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

But there aren't any events left because there is an error in your logic. On the separator you write: getrank(parnode(1))%2+2

so if you have 2 left the first goes to port 2 the last goes to port 1. But if port 2 needs this last box it will never get it. The same goes for the other separators, so I guess your model is in a deadlock situation.

I changed your model by giving the pallets a different item type, make all sendtoport 0 and use the pull on both CM's and the Qu. As a condition on the QU you can say to only pull itemtype 1

Model is attached
Attached Files
File Type: fsm Version2.fsm (56.2 KB, 80 views)
The Following User Says Thank You to Steven Hamoen For This Useful Post:
George Serhan (01-26-2012)
  #4  
Old 01-26-2012
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

If you check the 'ReevaluateSendTo...' option on the flow tab of the sp_part seperators it will work.

The system console message are about missing labels. But also, set your itemtypes in the source sequence table back to numeric - somehow they've changed to strings.
The Following 4 Users Say Thank You to Jason Lightfoot For This Useful Post:
Steven Hamoen (01-26-2012)
  #5  
Old 01-26-2012
George Serhan George Serhan is offline
Flexsim User
 
Join Date: Oct 2011
Posts: 49
Downloads: 10
Uploads: 0
Thanks: 59
Thanked 0 Times in 0 Posts
Rep Power: 107
George Serhan is on a distinguished road
Default

Thank you all for taking the time to respond back.
Jason, all my itemtypes in the source (Sr_Inbound_....) are set to numbers from 1 through 3. Is there a way to verify that they're set to numeric.
Thanks
  #6  
Old 01-26-2012
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

Visually, if the value is right justified it's numeric, left justified means text.

I don't think you can change it by assigning string to the table column , so right click the cell and choose "explore tree" and then select the node in the tree and hit the 'N' key to add numeric data. If that fails, duplicate the one that works or get a new one from the library.
The Following User Says Thank You to Jason Lightfoot For This Useful Post:
George Serhan (01-26-2012)
  #7  
Old 01-26-2012
George Serhan George Serhan is offline
Flexsim User
 
Join Date: Oct 2011
Posts: 49
Downloads: 10
Uploads: 0
Thanks: 59
Thanked 0 Times in 0 Posts
Rep Power: 107
George Serhan is on a distinguished road
Default

That works.
Thank you


Thread Thread Starter Forum Replies Last Post
How to Interlinking between 2 flexsim program? smin Jeon Q&A 3 07-11-2011 08:22 AM
Stop a Transporter Nischith Kashyap Q&A 1 02-24-2011 03:05 AM
Screen won't refresh using stop and go Steven Hamoen Q&A 2 08-20-2010 01:22 AM
Stop product on conveyor Derrick Serbonich Q&A 4 04-27-2009 03:28 PM
Make sure you stop model with the stop button before collecting state based statistics Paul Dowling Tips and Tricks 2 06-10-2008 08:10 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.