question

Moisés Cálderon avatar image
0 Likes"
Moisés Cálderon asked Jason Lightfoot commented

How to make system changes in the parameters?

base-del-modelo-mejorado-33-8-new-final_ UPC.fsm
I have already made a very solid structure and I want to make some changes, but I have tried to do it on my own and the system does not respond anymore (I have moved several established logics and I feel locked).

I wish you could help me, what I am trying to do is to remove (Source5, source6, Combiner3, Station2, Queu4 and Waiting Queue) by removing the system should work that when there is a client in Queue8 the machine Separator to activate to work to work while there is no client should be closed.

On my part I have eliminated the mentioned resources but it attributes to several logics and destabilizes the system.


I copy the following images


1693389426459.png

1693390437408.png


Base 1.4.fsm

FlexSim 23.0.8
parameters
· 1
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @Moisés Cálderon, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

In your custom code for OpenInputStation2 you have references to Queue4 which , as you say, you've deleted:

1693391584287.png

This is identified in the exception shown:

time: 233.170609 exception: FlexScript exception: MODEL:/Tools/ProcessFlow/ProcessFlow/Open Input Station 2>variables/codeNode

Then in the Operator Arrives push to list you're referencing the item label on the token, but you've not put that label on the token. The source is based on content change and does not automatically add an item label.

This is also described in the exception shown:

time: 233.170609 exception: Label property item retrieved on token "id:4". Label does not exist. At activity Operator Arrives/Push to List in process flow "ProcessFlow".

1693391584287.png (10.9 KiB)
· 2
5 |100000

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

Moisés Cálderon avatar image Moisés Cálderon commented ·

Yes but I want to get to work as this raised in the following image, how can I do it and that this meets the logic that when the machine of the Separator1 is activated when there is customer in Queue8 and if there is no customer it must be empty if no product. that I have to add or delete; you can help me with it.

1693392983721.png

0 Likes 0 ·
1693392983721.png (1.9 MiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Moisés Cálderon commented ·
Find your references to Queue4 and WaitingQueue and any other objects you've deleted and decide what you want to replace them with or remove those references accounting for the change in behaviour. You know this model better than we do so are better placed to make those judgements.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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