question

MajWest avatar image
0 Likes"
MajWest asked Logan Gold commented

Variables and Syntax Errors

FS Model.fsm

Hi, I am building a FlexSim model where an Operator is responsible for the following sequence of tasks:

1- Transport Flowitems: The Operator transports Flowitems from Queue 1 to a Processor.

2- Perform Setup Time: After each transport, the Operator performs a setup operation that takes 2 seconds.

3- Processing Flowitems: Once 15 Flowitems have been processed at the Processor, the Operator needs to:

a. Switch Queues: Move to Queue 2 and transport one Flowitem to the same Processor.


b. Extended Setup: Perform a different setup operation for this Flowitem, which takes 10 seconds.


4- Return to Queue 1: After completing the task for Queue 2, the Operator returns to Queue 1 to continue the cycle.


I keep getting an error which I believe is related to the way I am identifying my variable (processed Count) which tracks the output of the processor. Could be please advise. Thanks!

FlexSim 24.0.2
variablesprocesflowsyntax error
fs-model.fsm (51.6 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.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @MajWest, 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

That output stats are updated automatically so you don't need to have a variable to reference them or set them.

5 |100000

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