question

Pablo C36 avatar image
0 Likes"
Pablo C36 asked Ryan Clark commented

Doubt about error message

answer-10-fm.fsm
Good, I am making this model and I get some warnings on the console, I imagine that some error, I do not know what they are, I have discovered that if the time of processor 4 is reduced, the error does not appear. If anyone knows what could be wrong. mensaje-de-error.png

FlexSim 22.1.0
processflowprocesorsystem console
answer-10-fm.fsm (70.7 KiB)
· 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.

Ryan Clark avatar image Ryan Clark commented ·

Hi @Pablo C36, was Felix Möhlmann'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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

The "Wait for Event" for processor 4 should be configured to wait for the item specific to the token to trigger the event, because there might be multiple items on the processor at the same time. Sorry, I seem to have forgotten to do this in my previous answer.

1648543620653.png

Otherwise an operator will remove its item as soon as any item finishes processing. Removing an item from the processor prior to it finishing results in the error messages, because the item reference is no longer valid for the pending events on the processor.

answer-10-fm2.fsm

Google Translate:

La "Wait for Event" para el procesador 4 debe configurarse para esperar a que el elemento específico del token active el evento, ya que puede haber varios elementos en el procesador al mismo tiempo. Lo siento, parece que olvidé hacer esto en mi respuesta anterior.

De lo contrario, un operador eliminará su artículo tan pronto como cualquier artículo termine de procesarse. Eliminar un elemento del procesador antes de que finalice genera mensajes de error, porque la referencia del elemento ya no es válida para los eventos pendientes en el procesador.


1648543620653.png (31.2 KiB)
answer-10-fm2.fsm (69.3 KiB)
5 |100000

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