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 11-14-2014
Allan Schiotz Allan Schiotz is offline
Flexsim User
 
Join Date: Jan 2014
Posts: 3
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Allan Schiotz is on a distinguished road
Default Static scale of ‘Y axis’ in ’content vs. Time’?

Hi.

I am using the ’Content vs. Time’ stat chart in the dashboard, to measure content of different buffer areas (racks).

The ‘Y axis’ of ’content vs. Time’ is dynamically scaled when I am running the model, according to the dynamic content. This makes it hard for the customer to compare the different buffer areas.

Is it possible to set/lock the Y axis to scale according to the max content of the racks (as set in the objects properties), instead of 'auto scaling' to the dynamic content?

Thanks

Allan
  #2  
Old 11-16-2014
sagar bolisetti's Avatar
sagar bolisetti sagar bolisetti is offline
Flexsim User
 
Join Date: Aug 2013
Location: Hyderabad,India
Posts: 160
Downloads: 145
Uploads: 0
Thanks: 124
Thanked 99 Times in 63 Posts
Rep Power: 150
sagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the rough
Default

I used this model some time ago from the post.I hope this helps.

Quote:
Originally Posted by Phil BoBo View Post
Attached is a sample model that shows how you can get interesting statistics like this by using tracked variables.

What's in the model:

There are four processing lines. On each Queue, I call a user command OnExit and OnEntry. Those user commands update the tracked variables. (They are in user commands so that I'm not repeating my code on every queue. I can update the code in one place and affect the entire system.)

There are three tracked variables:
1. TotalContent: the total content of all four queues.
2. Overcapacity: a boolean value telling whether the system is over capacity or not.
3. TimeOverCapacity: a history of the durations when the system was overcapacity.

Additionally, I have two user events near time 0 that set the Overcapacity's value to 2 and then 0 to control its y-axis values in the dashboard.

On the dashboard, I have five statistics objects:
1. Model documentation that shows the current/maximum content and whether the system is overcapacity.
2. The total content vs time (tracked variable vs time).
3. Over capacity vs time (tracked variable vs time).
4. Time spent over capacity dot plot (tracked variable vs time). (This is a dot plot because the tracked variable it is showing is not time weighted.)
5. Time spent over capacity histogram (tracked variable histogram).

(The model also has two global variables. One for setting the system's max capacity and another one used to calculate the time spent over capacity.)

Another note:
Because these values are stored using tracked variables and Dashboard Statistics, they can easily be added as performance measures to the experimenter so that you can analyse this data on multiple replications.
Attached Files
File Type: fsm tracked_variables_example.fsm (42.8 KB, 429 views)
  #3  
Old 11-17-2014
sagar bolisetti's Avatar
sagar bolisetti sagar bolisetti is offline
Flexsim User
 
Join Date: Aug 2013
Location: Hyderabad,India
Posts: 160
Downloads: 145
Uploads: 0
Thanks: 124
Thanked 99 Times in 63 Posts
Rep Power: 150
sagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the roughsagar bolisetti is a jewel in the rough
Default

If i am not misunderstood.After showing the values in a widget in the dashboard,You can collect the rawdata from that particular widget by right clicking on it and choosing "Export Data".You export the data as a csv file and can draw a line graph from that values.In excel you can change the scale of vertical and horizontal axis of line chart.

For those who want to see previous model ,widgets does not seem to be displayed that was built from Version6.Here is the model in version7.
Attached Files
File Type: fsm tracked variable v7.fsm (19.4 KB, 381 views)

Last edited by sagar bolisetti; 11-17-2014 at 01:36 PM.


Thread Thread Starter Forum Replies Last Post
Actual Content vs Time Esther Bennett Q&A 2 04-03-2014 02:29 AM
Modifying Time Axis in Dashboard Lorenzo Gutierrez Q&A 2 11-19-2013 05:04 PM
Dashboard Graph Content vs Time for Fluid object Abdul Mirza Q&A 3 05-10-2013 08:29 AM
Efficient way to analyze queue content over time Jens Mühlheimer Q&A 15 07-02-2012 12:27 AM
Scale contents in pallet Lydia Franck Gripes and Goodies 4 08-24-2011 04:55 AM


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.