question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked SudheerReddy commented

Material Consumption and Replenishment Process Flow Template

I am using Material Consumption and Replenishment Process Flow Template, I found for each instance we need to manually go to process flow variables and update it. As number of processors increases it will be difficult to update the variables manually.

I have process flow variables input values in Global table for each processor as shown in below image and is there any way to update the process flow variables for each instance through this global table through code or different approach. Instead of going to each instance and update the same.

I am attaching the model for reference

mcr.fsm

FlexSim 20.0.0
process flow
mcr1.jpg (139.6 KiB)
mcr.fsm (63.2 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.

SudheerReddy avatar image SudheerReddy commented ·

@Matthew Gillespie any feedback on this?

0 Likes 0 ·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered SudheerReddy commented

If you want all the values to be pulled from a table then I would just stop using the process flow variables. As you've noticed, there's not an easy way to set them. In this model it looks like they're only being used to set some values on the token and on the current object when the model starts. So I would modify the model to pull those values from the table rather than from the process flow variables like in this model:

mcr-fromtable.fsm


mcr-fromtable.fsm (64.2 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.

SudheerReddy avatar image SudheerReddy commented ·
@Matthew Gillespie

Thanks it helps me.

0 Likes 0 ·
zacharyh avatar image
0 Likes"
zacharyh answered SudheerReddy commented
@Sudheer R

I am not sure if this will be a solution to your problem but could be helpful.

Create a Dashboard and insert a Static Text for reference and a Dynamic Text for input. (Those options are found at the bottom of your library for the Dashboard.)

Create a Global Variable. You can then connect the Dynamic text to the Global Variable.


In Process Flow or Global Table you can then connect that to the global variables that you might be changing often and rather than going to every instance you can change that variable from the Dashboard.

I hope that is helpful.


· 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.

SudheerReddy avatar image SudheerReddy commented ·

@zachary.h thanks for your suggestion.

Could you please attach sample model. It will help me to understand. Thank you

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.