Professional Documents
Culture Documents
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Buffer1 0:10 8
Buffer2 0:10 8
Buffer3 0:10 8
Buffer4 0:10 8
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Buffer6 0:10 8
Buffer7 0:10 8
Buffer8 0:10 8
Buffer9 0:10 8
To determine the steady state we will look at both the throughput per hour and average wip. The
throughput per hour is already defined in the drain and we can use it as we have before but we will
have to calculate the average WIP ourself.
Take a variable from the information flow and place it in the frame, Open it and change the datatype
to real, the name to WIP and put in an initial value of 0.
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Run the model and verify that the WIP variable in the frame increases when part enter the source
and decreases when parts are leaving the model.
Now take a DataTable and place it in the frame and rename it to SteadyState by right clicking it and
choose rename.
Open the SteadyState and in the top right square right click and choose format.
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Codes can be triggered in a number of ways for example: on entrance, on exit, on starting the model
etc. For this code we will use a generator. Drag and drop a generator in to the frame and rename it
SteadyStateGenerator.
Drag and drop the SteadyStateMethod onto the SteadyStateGenerator, this will connect the two
objects. Open the SteadyStateObject and put in 1:00:00 in the interval field, this will make the code
in the steadyStateMethod trigger with an interval of 1 hour. If you go to the Controls tab you can see
that the SteadyStateMethod is set in the interval.
Now run the model, you should get a pop up that looks like this.
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Open the init method and write the code in the picture. This will delete all the data from the
SteadyStateTable every time the model started to prevent old data from being mistakenly included.
Remove the break point by clicking F9 when the row is active and run the model to the end.
Open the SteadyState table and you will see that a lot of data has been logged. To analyse it we will
copy the data we need to excel. Open excel and copy the columns TH and WIP average.
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Now make a line diagram of both the TH and the WIP average.
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07
Virtual Manufacturing Sweden AB, Fabriksgatan 21, 412 50 Göteborg, Org,nr 556717-2084 2021/09/07