This is for the improvement of flexsim further
This is for the improvement of flexsim further
Hi,
I have updated the combiner target quantity by distribution. Attached the model for your reference.
Combiner OnEntry Trigger:
Object current = ownerobject(c); Object item = param(1); int port = param(2); double dblCombineQty= duniform(2,5); if (port == 1) { Table thelist = getvarnode(current, "componentlist"); treenode thesum = getvarnode(current, "targetcomponentsum"); thesum.value = 0; for(int index = 1; index <= thelist.numRows; index++) { thelist[index][1] =dblCombineQty; inc(thesum,dblCombineQty); } }
Thanks
Standard approach: you add a global table for different recipes, which you control by the Type of the item entering the combiner through the input port 1. You choose the value of the Type label for this item by a discrete statistical distribution before it enters the combiner
9 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved