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 11-26-2007
danieldiep danieldiep is offline
Flexsim User
 
Join Date: Nov 2007
Posts: 3
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
danieldiep is on a distinguished road
Default manual entry

Is it possible to generate a flow item manually, using e.g. a button in a GUI ?
  #2  
Old 11-26-2007
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

yes it is. The easiest solution in my opinion would be to take a source and on reset and on the onexit trigger close the output. Then make the GUI with a button and on the onpress of that button, open the output of the source. Then 1 product is released, and the exit trigger makes sure that the output is closed again straight away, so only 1 product is generated. If you link the GUI to the source that makes it easier to refer to the source when opening the output.

Hope this helps,

Steven
  #3  
Old 11-26-2007
danieldiep danieldiep is offline
Flexsim User
 
Join Date: Nov 2007
Posts: 3
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
danieldiep is on a distinguished road
Default

Thank you Steven, seems to be easy.
Actually, the simulation halts when the source output is blocked, and my button has no action. Have I missed something ?
Sorry, I am just a beginner with Flexsim.
  #4  
Old 11-26-2007
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

No that sounds correct. If there are no products entering your model, no events are created and nothing happens. But if you say that you are a beginner, this GUI stuff is quite complex so I have attached a small model that does exactly what I think that you want.
Load it, Reset it and run it. Nothing happens after 1 second. Than double click on the source and a gui with button comes up, when you press the button a product leaves the source. After 1 second a next product is available in the source and you can let it leave again.

Regards,

Steven
Attached Files
File Type: zip CreateProductWithGUI.zip (40.3 KB, 322 views)
  #5  
Old 11-26-2007
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default

I guess that your problem is, that you have no events in your model and therefore the model stops.

What you could do is have another Source and Sink in your model, just connected. Give this 'dummy' Source a high Arrival Time value and you have always an event.

Or you use a User Event at time (very high value) and repeat this event (also very high value) and you also always have an event.

I hope this is a correct answer, because I did not test my answer.

Good success
tom the (A)tom
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
  #6  
Old 11-26-2007
danieldiep danieldiep is offline
Flexsim User
 
Join Date: Nov 2007
Posts: 3
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
danieldiep is on a distinguished road
Default

Steven, your model works perfectly !
Thanks a lot.
Daniel



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.