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 > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 09-17-2008
Simon Farsah Simon Farsah is offline
Flexsim User
 
Join Date: Jan 2008
Posts: 23
Downloads: 4
Uploads: 0
Thanks: 23
Thanked 0 Times in 0 Posts
Rep Power: 151
Simon Farsah is on a distinguished road
Default State report based on the operational time

Hi Guys,

I have a model with a time table, and I want to generate the state report without the « schedule down state »and based only on the operational time. If I take off the “schedule down” from the States to report in Report and statistics/State report, is there a way to generate the state report with the processing and Idle state as percentages of the operational time only ?
Thanks for ur help.

Simon
  #2  
Old 09-17-2008
Simon Farsah Simon Farsah is offline
Flexsim User
 
Join Date: Jan 2008
Posts: 23
Downloads: 4
Uploads: 0
Thanks: 23
Thanked 0 Times in 0 Posts
Rep Power: 151
Simon Farsah is on a distinguished road
Default

and if we consider that I adapted the state report manually on Excel, how can I display the recorder state graph of an object without the "schedule down" percentage ?

Simon
  #3  
Old 09-17-2008
Lars-Olof Leven Lars-Olof Leven is offline
Flexsim Distributor
 
Join Date: Aug 2007
Location: Sweden, Borlnge
Posts: 312
Downloads: 278
Uploads: 2
Thanks: 300
Thanked 256 Times in 139 Posts
Rep Power: 330
Lars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to behold
Default

Hi Simon,

You need to calculate the percentage your self. (What I know).

You can use both summary report and state report to do the calculation, if
you use state report be sure you are not generating the report as percentage.
Have "Display values as percentage" unchecked, then the state reports will
show the the time for each state instead of percentage.
Now you can do your own calculation and only include what you want in
your calculations.

Lars-Olof
The Following User Says Thank You to Lars-Olof Leven For This Useful Post:
Simon Farsah (09-23-2008)
  #4  
Old 09-18-2008
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

Simon,

To make a graph that shows you only the %'s that you want you have to have the underlying data only contain that information.
So if you have the data correct in excel you can use the excel graphs to show you the graph that you want. If you want to do it in Flexsim, the easiest solution (as far as I can think off at this moment):

If you go to explore tree of an object and you go to stats/state/state_profile you will find all the states that that object can have and every state that has a value > 0 will be displayed in the stategraph (the values are the number of seconds that an object has been in that state)
What you can do is to get the values of the schedule down state and ad those to the state that you want it to get (eg idle) You could do this for instance in the "On Run Stop" of the model triggers.

example code:
treenode Object= node( "/ObjectName", model());
treenode IdleNode = node( "/idle", state_profile(Object));
treenode ScheduleDownNode = node( "/scheduled_down", state_profile(
Object));

setnodenum( IdleNode, getnodenum(IdleNode) + getnodenum(ScheduleDownNode));
setnodenum( ScheduleDownNode, 0);

Other solutions could be to get the state data and put it in a table or something and get the data from there by either creating your own statepie chart or using the userdefined options of the recorder, but I think this is more complex than the first option.

Steven
The Following 5 Users Say Thank You to Steven Hamoen For This Useful Post:
Tom David (09-23-2008)
  #5  
Old 09-23-2008
Simon Farsah Simon Farsah is offline
Flexsim User
 
Join Date: Jan 2008
Posts: 23
Downloads: 4
Uploads: 0
Thanks: 23
Thanked 0 Times in 0 Posts
Rep Power: 151
Simon Farsah is on a distinguished road
Default

Thank you Lars-Olof and Steven for your help.

Simon
  #6  
Old 09-24-2008
Nico Zahn's Avatar
Nico Zahn Nico Zahn is offline
Flexsim User
 
Join Date: Sep 2007
Location: Bingen am Rhein, Germany
Posts: 179
Downloads: 19
Uploads: 4
Thanks: 66
Thanked 60 Times in 32 Posts
Rep Power: 201
Nico Zahn has a spectacular aura aboutNico Zahn has a spectacular aura about
Default

Hi,
where is the keyword state_profile documented?
Are there other keywords defined?
I looked through the documentation but could not find anything.
__________________
kind regards Nico.
  #7  
Old 09-24-2008
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

Nico,

Most of the nodes in the tree of an object can be directly reached via the so called attributes. If you look at the help, you find attribute hints. All these words give you pointers to nodes in the tree.
So for instance "getnodenum( spatialx(current))" will return the x position of current.

Steven
The Following User Says Thank You to Steven Hamoen For This Useful Post:
Nico Zahn (09-24-2008)
  #8  
Old 05-20-2011
Stefan Trabut Stefan Trabut is offline
Flexsim User
 
Join Date: Mar 2011
Posts: 29
Downloads: 12
Uploads: 0
Thanks: 34
Thanked 5 Times in 5 Posts
Rep Power: 115
Stefan Trabut is on a distinguished road
Default State recorder

Hi,

I found the post http://www.flexsim.com/community/for...ight=bar+chart by Kris Geisberger very useful (a homemade state recorder).

I simply subtracted the state SCHEDULED_DOWN from the total time to make a recorder not taking the state SCHEDULED_DOWN into consideration (not sure this solution is very "clean", but it works).
Attached Files
File Type: fsm StateBarGraph.fsm (39.3 KB, 139 views)

Last edited by Stefan Trabut; 05-20-2011 at 06:51 AM.
The Following User Says Thank You to Stefan Trabut For This Useful Post:
Sebastian Schreiber (05-25-2011)
  #9  
Old 06-07-2011
Stefan Trabut Stefan Trabut is offline
Flexsim User
 
Join Date: Mar 2011
Posts: 29
Downloads: 12
Uploads: 0
Thanks: 34
Thanked 5 Times in 5 Posts
Rep Power: 115
Stefan Trabut is on a distinguished road
Default Wrong file

Sorry, this is the right file
Attached Files
File Type: fsm RECORDER_SCEDULED_DOWN.fsm (45.4 KB, 142 views)


Thread Thread Starter Forum Replies Last Post
Suggestions on Experimenter and Report AlanZhang Gripes and Goodies 6 11-09-2011 02:32 AM
Image Swap Based on Position Logic William Clausen Q&A 8 08-06-2008 11:42 AM
Make sure you stop model with the stop button before collecting state based statistics Paul Dowling Tips and Tricks 2 06-10-2008 08:10 AM
Object order in the summary report AlanZhang Q&A 4 10-16-2007 05:50 PM
How to report setup cost? jbruxelle Q&A 1 09-05-2007 12:07 PM


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.