Moosa avatar image
Moosa asked Moosa commented

the model stops itself before its stop time

Please find the attached model, this model stops itself before its allotted stop time.when I run with 3 independed scheduled tokens it stops at some 150000; but the same model if run with 2 scheduled tokens stops after it transverses all the rows of the assigned global table.Please note that I will have to extend this logic for 25 different tables,for now in this model I am trying with 3 tables , but i am not successful in establishing the complete logic, but the logic works well for 2 tables.TRANSPORTATION_LOGIC_rev02.fsm

FlexSim 23.1.0
pullglobal tablespartition id
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jason Lightfoot avatar image
Jason Lightfoot answered Moosa commented

rm301_row_decide sends the only token remaining to the sink at time 2563929.82 as a result of testing if x<y and evaluating to false where:

int x=token.index;
int y=Table("rm302").numRows/96-1;
· 20
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Moosa avatar image Moosa commented ·

it is true when 2 tokens are running , but when 3 tokens are used it stops at 156,998.94 seconds, which cant be true as the model has to run until 2563838.832 seconds.


0 Likes 0 ·
1680537894420.png (93.0 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Moosa commented ·

Is that a different model? Post the model you want explaining with it set up to run the relevant case.

0 Likes 0 ·
Moosa avatar image Moosa Jason Lightfoot ♦ commented ·

its the same model attached with 3 scheduled sources, only that i have not attached the third schedule source to the process flow block.


0 Likes 0 ·
1680538327452.png (140.4 KiB)
Show more comments