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
FAQ Downloads Calendar Search Mark Forums Read

Q&A Using Flexsim and building models

Reply
 
Thread Tools Display Modes
  #1  
Old 11-24-2009
wilmermoncada wilmermoncada is offline
Flexsim User
 
Join Date: Oct 2009
Location: Tegucigalpa, Honduras.
Posts: 5
Downloads: 8
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
wilmermoncada is on a distinguished road
Default How to process with 2 processors at the same time

I wonder i someone can help me with this.

I have 2 processor: Processor 1 and Processor 2. I need to process persons but i need to set when #1 is processing, # 2 is depending on #1, and should wait for #1 until it finish processing altough it is receveing persons from other processors.
Reply With Quote
  #2  
Old 11-25-2009
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: 514
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

My first idea would be to control the Processor #2 from Processor #1.
OnEntry: stopobject()
OnProcessFinish: resumeobjet()

You need a pointer to Processor #2, which could be a center port connection (centerobject(current,1)).

This should work.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
Reply With Quote
The Following User Says Thank You to Tom David For This Useful Post:
wilmermoncada (11-25-2009)
  #3  
Old 11-25-2009
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 313
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

DonĀ“t really know, if I understood your problem right. Probably it would help to use only one person which is used in both Processors or try it out with connecting both Processors per CenterPort and then close and open the Input Ports of even the other Processor, while one is working.
Sorry, if I understood you completely wrong. This way it would be better to load up an example modell.
Reply With Quote
Reply

Tags
processor, same time

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Picking process Simon Farsah Q&A 9 03-23-2015 06:55 AM
different process times mohanboyapati Q&A 1 11-02-2009 11:59 AM
All time related values 0,0000001 time units delayed Patrick Cap Q&A 2 05-01-2009 01:50 AM
Re-entrant Process ankus d Q&A 2 02-09-2009 07:53 PM
operators working together to decrease process time Alex Christensen Tips and Tricks 4 07-14-2008 09:22 AM


All times are GMT -6. The time now is 03:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.