ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > Downloads > Models > Flexsim Concept
Downloads

Latest Files
Latest Files
Most Popular Files
Most Popular Files
Top Contributors
Top Contributors
Tom David 47
Tyson Nordgren 35
Paul Toone 31
Matt Long 29
Phil BoBo 18
Regan Blackett 16
Cliff King 14
Cameron Pluim 11
Alex Christensen 8
Brandon Peterson 6

Uploaded files must be in one of the following formats: zip rar jpg jpeg jpg2 gif png pdf fsm xls xlsx doc docx ppt pptx

Please no copyrighted material without author's permission!!
  
Navigation
Main | Category Tree | Stats
Downloads [Download Labels_ProcessTime]
File Name: Labels_ProcessTime (44.3 KB) Download
Author: Tyson Nordgren)
Date Added: 06-17-2008
Downloads: 2137
Grade: Not Rated
Description
This model Simulates three different types of a product, which each need to be processed a certain amount of time.

Model Specific Implementation:


1. In the Flowitem Bin, create a label on the Textured Colored Box
called type.

2. Add a function to the OnExit trigger of the Source using the
Set Label option. Edit the blue text to read as follows:
Object: Item
Label: "type"
Value: duniform(1,3).

3. Add another function to the OnExit trigger of the Source using
the Set Color by Value option. Edit the blue text to read as
follows:
Value: getlabelnum(item,"type&quot
case 1: colorred(item); break;
case 2: colorgreen(item); break;
case 3: coloryellow(item); break;

4. In one of the Processor's Parameters window, on the ProcessTimes tab, select Cases by Value in the Process Time list. edit the blue text to read as follows:
Value: getlabelnum(item,"type&quot
Repeat for the other two Processors.


General Implementation

1. First, create a label on the class of flowitem that will be
generated by the Source in the model. Flowitem classes are found
in Tools > Flowitem Bin, and new labels can be created on the
flowitem using the Labels tab of its Properties window. Be
sure to give the new label an applicable name, and an initial value.
2. The specific value of the label on each flowitem can be set as
they leave the Source using the Set Label option of the OnExit
trigger.
3. The values assigned to each flowitem's label can be queried at
downstream objects in the model to help define the process time. The By
Expression
and Cases by Value options in the Process Time
field of an object are especially useful for this purpose.
Images
Ben Wilson on 10-16-2008
Downloads [Download Labels_ProcessTime]


Comments
Ariel Estrada
04-29-2010 at 10:33 AM
Hi, I see de Description, but its not correct.... I changed some things and now it works.

Anyway, thank you very much by example helps me to keep learning and applying what I learned!

This model Simulates three different types of a product, which each need to be processed a certain amount of time.

Model Specific Implementation:


1. In the Flowitem Bin, create a label on the Textured Colored Box
called tipo .

2. Add a function to the OnExit trigger of the Source using the
Set Label option. Edit the blue text to read as follows:
Object: Item
Label: tipo
Value: duniform(1,3).

3. Add another function to the OnExit trigger of the Source using
the Set Color by Value option. Edit the blue text to read as
follows:
Value: getlabelnum(item, tipo
)
case 1: colorred(item); break;
case 2: colorgreen(item); break;
case 3: coloryellow(item); break;

4. In one of the Processor's Parameters window, on the ProcessTimes tab, select Cases by Value in the Process Time list. edit the blue text to read as follows:
Value: getlabelnum(item, tipo
)
Repeat for the other two Processors.


Greetings,
Ariel
Santiago, Chile


DownloadsII 5.1.2 by CyberRanger & Jelle
Based on ecDownloads 4.1 © Ronin

All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.