Entities entering in the entity processor

62 views
Skip to first unread message

Joana Zuzarte

unread,
May 26, 2024, 12:34:51 PMMay 26
to JaamSim Users Discussion Group
Hi, 

I am creating a supply chain in Jaam Sim and I am trying that an entity (raw material) enters in the entity processor every 5 minutes. 

The fabrication process lasts 8 weeks and I know that I can reflect that on the Service Time. 

Nevertheless, I don't know how to make the entities enter to be processed without waiting 8 weeks (when the last entity leaves). I want a continuous production process where entities enter and leave it continuously. 

Hope someone can help me, 

Kind regards, 
Joana

Cristiano Silva

unread,
May 26, 2024, 7:57:19 PMMay 26
to Joana Zuzarte, JaamSim Users Discussion Group
Hi Joana,

you can use the EntityProcessor.

I have a model, available for download on my github, of a restaurant, follow the link:

https://www.youtube.com/watch?v=wu2sN4IcilI&list=PLRvwRusArl39IYHrsQRj89onSVvFeWIIP&index=14

In it you can see this happening, I put a BarGauge, to represent how full it is, related to the EntityProcessor.

Hope this helps.

Atenciosamente,
Cristiano Luís Turbino de França e Silva
==============================
                      GNU / Linux
    ,                ,       /       .-.
   /                  \     /      (e e)
  ((__-^^-,-^^-__))   /     _.`V'._
    `-_---' `---_-'      /    //~~W~~\\
  <__|o ` 'o|__>   /    //,           ,\\
        \   `  /       /    // |            | \\
         ):  :(      /      \) |            | (/
        :o_o:    /           \           /
          "-"    /              `w -  w'


--
You received this message because you are subscribed to the Google Groups "JaamSim Users Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaamsim-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/jaamsim-users/86f1a739-8c72-495b-b004-386853f43860n%40googlegroups.com.

Joana Zuzarte

unread,
May 27, 2024, 6:32:13 AMMay 27
to JaamSim Users Discussion Group
Hi Cristiano, 

Thank you for your help! 

I understood the use of the BarGauge. Nevertheless, I could not understand how to make the entities enter in the entity processor every 5 minutes. Do I have to add servers previously like you did? 

Kind regards, 
Joana

Cristiano Silva

unread,
May 27, 2024, 6:55:34 AMMay 27
to Joana Zuzarte, JaamSim Users Discussion Group
Hi Joana,

There is no need for servers beforehand.

You can place an EntityGenerator, and configure it to arrive every 5 minutes.

I have a complete playlist here, it might be useful:


Atenciosamente,
Cristiano Luís Turbino de França e Silva
==============================
                      GNU / Linux
    ,                ,       /       .-.
   /                  \     /      (e e)
  ((__-^^-,-^^-__))   /     _.`V'._
    `-_---' `---_-'      /    //~~W~~\\
  <__|o ` 'o|__>   /    //,           ,\\
        \   `  /       /    // |            | \\
         ):  :(      /      \) |            | (/
        :o_o:    /           \           /
          "-"    /              `w -  w'

Joana Zuzarte

unread,
May 27, 2024, 7:16:27 AMMay 27
to JaamSim Users Discussion Group
Hi Cristiano, 

the entities are the raw materials that arrive when is placed an order. 
Therefore, I cannot put them to arrive every 5 minutes since I am reflecting the suppliers in this phase. 
The entities go afterwards to the queue to be processed. I would like the queue to release the raw materials stored every 5 minutes, so that the production never stops. 

Kind regards, 
Joana

Cristiano Silva

unread,
May 27, 2024, 7:32:27 AMMay 27
to Joana Zuzarte, JaamSim Users Discussion Group
You can use a Server with a time of 5 minutes: its job will be to release the entity every 5 minutes. That's ok ?

Atenciosamente,
Cristiano Luís Turbino de França e Silva
==============================
                      GNU / Linux
    ,                ,       /       .-.
   /                  \     /      (e e)
  ((__-^^-,-^^-__))   /     _.`V'._
    `-_---' `---_-'      /    //~~W~~\\
  <__|o ` 'o|__>   /    //,           ,\\
        \   `  /       /    // |            | \\
         ):  :(      /      \) |            | (/
        :o_o:    /           \           /
          "-"    /              `w -  w'

KlausH

unread,
May 27, 2024, 3:05:02 PMMay 27
to JaamSim Users Discussion Group
Hello Joana,
I reviewed you last model "data file.cfg" and changed it a bit.
1) I put the InterArrivalTime to 5[s].
2) The RawMaterialArrival creates an 1st entity after 10[s]. Just as a start point.
3) This 1st. entity goes to the RawMaterialsInventory to count this part.
    1st Check: Whether this is this the first part I check for [RawMaterialsArrival].PartsOrdered==0 , then I know this is the first part and the
                       value is set to [RawMaterialsQuantity].Value.
    2nd Check: Are produced parts < ordered parts minus 1 part (because the 1st part is already there),
                         if YES it counts 1 part more
                         if NO the arrived parts is reset to 0. This indicates the ordered parts are produced.
    3rd Check:  If this arrived parts ==0 then it asks for a new InterArrivalTime using [RawMaterialsA].Value, otherwise it keeps 5 minutes.
    4th Check:  If the arrived parts ==0, it indicates also the ordered parts a done and a new quantity is to ordered by a new value with
                         [RawMaterialsQuantity].Value, if

4) I added an EntityConveyor1 just to visualize the coming of the ordere parts.
5) I replaced EntityProcessor after Queue1 with a server "WaferFab" which has a service time of 5 minutes according your information.
6) The conveyor "BackToWaferFab" was in the wrong direction. So I rotated them by 180dgr.

Please take a look on the attached model.
Best Regards,
Klaus
data file_Klaus_2024-05-27.cfg

Joana Zuzarte

unread,
May 29, 2024, 2:30:57 PMMay 29
to JaamSim Users Discussion Group
Hi Klaus, 

Thanks for your help!

Kind regards,
Joana

Reply all
Reply to author
Forward
0 new messages