ATTENTIONThis 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 |
#1
|
|||
|
|||
¿How can i export breakdown time?
Hi,
I need to export the downtime from some processors to a global table but do not know the correct code. I need something like this... settablenum("MyTable",1,1,GetbreakdownTime(current)); if anyone can help... I'd appreciate Thanks. |
#2
|
||||
|
||||
Because I think you need this value at the end of your Simulation Run maybe you should check out the functions of Experimenter.
If this doesn´t help you can find this value in tree under ">stats/state/state_profile/breakdown" of your Taskexecuter.
__________________
Hemmi |
The Following User Says Thank You to Sebastian Hemmann For This Useful Post: | ||
Gutirallo (01-25-2012) |
#3
|
||||
|
||||
Hi,
if you manage the breakdown with the tool MTBF MTTR, you can write your code to the MTTR-function. The current time, the downtime begins, is the moment that the function MTTR is executed. time() is the command to the current simulation time, as you probably know. The return value is the duration of the down time. If you use a variable to preprocess the return value, you can store the value, the current time and other information to a table. If you are not so experienced to write such a code to store, you can copy the picklist code "Add Row and Data to GlobalTable" from any OnExit, OnEntry-trigger. Jörg |
The Following User Says Thank You to Jörg Vogel For This Useful Post: | ||
Gutirallo (01-25-2012) |
#4
|
|||
|
|||
Quote:
Thanks Jörg, It's an option, but i have many types of "downtimes" and I think that it would be much easier if i can get the value directly from the tree under or something like that... and if not, then i'll take your way. |
#5
|
||||
|
||||
This is the example for Operator 6:
getnodenum(node("/Operator6>stats/state/state_profile/breakdown",model()));
__________________
Hemmi |
The Following User Says Thank You to Sebastian Hemmann For This Useful Post: | ||
Gutirallo (01-10-2012) |
Tags |
breakdown, downtime |
Thread | Thread Starter | Forum | Replies | Last Post |
Experimenter Export | Susan Pevovar | Q&A | 6 | 06-02-2011 05:20 PM |
problem with excel export | Congshi Wang | Q&A | 1 | 12-09-2010 09:24 AM |
Operator Utilized During Fixed Resource Breakdown | Ramez Tadros | Q&A | 19 | 08-16-2010 07:03 PM |
Preempting for machine breakdown | Martijn van Oostenbrugge | Q&A | 4 | 10-15-2008 01:49 AM |
Machine breakdown using Operators | Nico Zahn | Q&A | 8 | 07-13-2008 03:07 AM |