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 05-20-2011
shashanktrivedi shashanktrivedi is offline
Flexsim User
 
Join Date: Apr 2011
Posts: 59
Downloads: 26
Uploads: 0
Thanks: 26
Thanked 16 Times in 3 Posts
Rep Power: 122
shashanktrivedi will become famous soon enough
Default Graphs on GUI

I want to draw graphs on GUI for easy reference to end user, was trying to replicate features available on Hot Rolling Mill model (from the download section). In the sample model throughput vs time,content vs time and cycle time are plotted on the GUI.

Since we have to do the same as on sample model but we are unable to trace how data is coming into graph dynamically only one thing we noticed, node is automatically created in total throughput node.

In our example , there is a queue and we have to plot content vs time over gui, we are not sure how to do it.

As per the user manual we are able to draw pie chart on gui and changed it to xy by disabling pie chart but data was not coming on it.

Attaching sample Hot Rolling mill model for reference, downloaded from flexsim

Any help is deeply appreciated.

Thanks in advance.

Regards
Shashank Trivedi
Attached Files
File Type: zip X_Hot Rolling Mill.zip (1.71 MB, 162 views)
  #2  
Old 05-23-2011
shashanktrivedi shashanktrivedi is offline
Flexsim User
 
Join Date: Apr 2011
Posts: 59
Downloads: 26
Uploads: 0
Thanks: 26
Thanked 16 Times in 3 Posts
Rep Power: 122
shashanktrivedi will become famous soon enough
Default

Since no reply came so far, may be my query is not clear to community members, i am putting up my point again.

Basically I am making Dashboard (GUI) for easy control and performance assessment of the model.

In the model, i am using a queue block and have to access queue content dynamically.

Our requirement is to draw xy plot of the queue content vs time.

We have found same activities has been already done in hot rolling mil model' GUI, followed it completely but could not trace it out how it has been done.

Hoping it is clear now.
  #3  
Old 05-23-2011
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

Hi,

What you have to do is somewere in your model you have to have a node X that contains subnodes in this order:
time
amount
time
amount
time
amount

etc...

Then the viewfocus of your graph has to point to that node X and that is it.
In the GUI of the rolling mill you can right click -> view -> explore structure. There you see a viewfocus of: MAIN:/1/3/1/6/1/1/4/2

An easy way to follow that is go to the script window and type in:
getname( node( "MAIN:/1/3/1") ) and press execute and everytime simply add a number and you can follow exactly where in the tree you end up.
In this case they created that node X on the GUI itself. If you translate
MAIN:/1/3/1/6/1/1/4/2 into strings you get: MAIN:/project/model/Tools/GUIs/ModelControlGUI/ModelSpecific/ModelStats/TotalThroughput and that is where the data is stored.

Hope this helps you.
  #4  
Old 05-23-2011
shashanktrivedi shashanktrivedi is offline
Flexsim User
 
Join Date: Apr 2011
Posts: 59
Downloads: 26
Uploads: 0
Thanks: 26
Thanked 16 Times in 3 Posts
Rep Power: 122
shashanktrivedi will become famous soon enough
Default

Thanks for your reply.

We are not sure how this subnodes will be created automatically as it is happening in hot rolling model and how this subnode data will be linked to related queue content data.

If there is alternate way to achieve what we want, will be great help since our objective is very simple.

In the hot rolling model it looks like a very cumbersome process.

Kindly suggest.

Regards
Shashank Trivedi
  #5  
Old 05-23-2011
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

It is not a cumbersome proces, but in case of the Hot Mill model there is not 1 object but a string of objects of which they want to show the content time. So in that case you have to create this list of nodes your self for the entry and the exit point of your system. But this is actually quite easy: insert a node and write the time to it, insert a node and write the amount to it.

But in your case if you only have a queue, go to the statistics tab page and switch on "Record data for content and staytime charts" if you reset and run you will find this same list of nodes under: stats/content/stats_contentgraph

If you go to the statistics tab again and press the chart button a content - time diagram shows up. right click and go to view -> explore structure and again there is the viewfocus node showing you where the data is coming from
The Following 2 Users Say Thank You to Steven Hamoen For This Useful Post:
Sebastian Hemmann (05-23-2011)

Tags
chart, graphs, gui



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.