question

Ignasi P avatar image
0 Likes"
Ignasi P asked Ignasi P commented

How to create a variable that I can modify and plot like the trackedV WIP?

Hi,

I am working in a Model for FlexSim, I am definetly not an expert on it but I'm racking my brain trying to create a variable similar to the tracked variable workinprogress but only from a certain point, and then being able to modify it and plot it in the dashboard the same way I can plot the predifined tracked variable workinprogress.

graphworkinprogress.jpg

Here is an image of my model.

modelcapture.jpg

In other words, I want to create a variable that shows the number of flowitems that have gone throught PEP point, and then reduce it 1 by 1 untill 0 once they are stored in one of the several racks I've created. And then I want to follow that variable in my dashboard the same way I can follow the workinprogress variable.

Thanks a lot in advance, would be really helpful if someone can help me out.

port-model-questions-asked.fsm

FlexSim 18.1.2
FlexSim 17.2.5
simulationtracked variablesdashboard displaytracked variablevariable declaration
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

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered Ignasi P commented

@Ignasi P You can create a new tracked variable, call it what ever you want and then update its value when it has gone through the PEP point and when it enters a rack.

Creating a tracked variable can be done in the Toolbox by right clicking on the Tracked Variables and selecting: "Add Tracked Variable". Setting the value can be done on the entry triggers by using the option: Data -> Set Tracked Variable or by simply writing a code snippet and setting the new value.

· 3
5 |100000

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