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 04-13-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 Record multiprocessor states

Hi,

Multiprocessors have their own states (e.g. Process1 = 51, Process2 = 52). I would like to record the state profile in an excel sheet.

To plot a state graph using Recorder/Standard Data/State works fine (attached model). To generate a table plotting all state events works also (Recorder/User-Defined Data/Table/state_current) - but to generate the state profile (time & time fraction of the different states) would need further calculations in excel.

The Flexsim report doesn't consider non-standard states (>50). Is there a simple way to have the state profile in a report or excel sheet?

Thanks!
Attached Files
File Type: zip Multiprocessor_states_record.zip (29.6 KB, 154 views)
  #2  
Old 04-13-2011
Jörg Vogel's Avatar
Jörg Vogel Jörg Vogel is offline
Flexsim User
 
Join Date: Sep 2007
Location: Hannover, Germany
Posts: 643
Downloads: 35
Uploads: 0
Thanks: 802
Thanked 665 Times in 410 Posts
Rep Power: 642
Jörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond repute
Default

Hi Stefan,
have you considered to move the states above 50 to another not used state below 50 at the end of simulation run?

Jörg
  #3  
Old 04-13-2011
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 451
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default

I guess the issue is that if you have more than one MultiProcessor with different process names, the report would get confusing because the 51st state node represents different states for different objects.

Understanding this, here is a way to get your data into the report.

1. Statistics > Reports and Statistics > State Report | Generate Report with say just the idle state chosen. This will create a Charting folder in the Tools folder in your model tree.
2. In the tree view, dive into Tools/Charting/statereport/statelist and add a folder node with numerical data (click on the idle folder, then spacebar to create below. Click on new node, then "n" for number data). Name it something generic like "state51" and give it the number 51.
3. Build Flexscript, under the Build menu (not sure this is necessary)
4. Generate Report again, this time state51 will be shown in the States to Report list.
Attached Thumbnails
Click image for larger version
Name:	adding custom states to StateReport.JPG
Views:	158
Size:	24.0 KB
ID:	1352  
The Following User Says Thank You to Kris Geisberger For This Useful Post:
Stefan Trabut (04-14-2011)
  #4  
Old 04-14-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

Hi Kris,

The state report works fine now, thanks! Unfortunately the full report doesn't work anymore with the node added. ...the full report can be generated, the node added, and the state report generated - the file shouldn't be saved afterwards.


Thread Thread Starter Forum Replies Last Post
Record object variance staytime Vic Li Q&A 8 12-22-2010 11:01 AM
Record label manuel fernandez Q&A 1 03-21-2010 12:29 PM
Record Staytime Jamie Santa Ana Container Terminal (CT) Library 1 09-29-2009 02:35 PM
Multiprocessor states and MTBF Markus Bans Q&A 1 03-30-2009 01:34 AM
stopping the MultiProcessor Pablo Concha Q&A 4 10-31-2007 07:34 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.