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 06-13-2014
David Chan David Chan is offline
Flexsim Distributor
 
Join Date: Sep 2007
Posts: 326
Downloads: 74
Uploads: 0
Thanks: 217
Thanked 73 Times in 44 Posts
Rep Power: 218
David Chan has a spectacular aura aboutDavid Chan has a spectacular aura aboutDavid Chan has a spectacular aura about
Default collecting state percentage periodically

Hi

anyone has seen any post on collecting state percentage periodically? I would like to collect them by day or by hour. Any advise?

Regards

David
__________________
Advent2 Labs
David
  #2  
Old 06-14-2014
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

Hello David,

You can copy the state node of an object to a different node, e.g. a label. If you save the state node from the last and actual period, you can compare the value, write them result to a table for later inspection or to write the table to a csv-file. In a user event you can define the period of execution. Perhaps you write an own user command which you use at different periods.
Jörg
The Following User Says Thank You to Jörg Vogel For This Useful Post:
Steven Hamoen (06-15-2014)
  #3  
Old 06-16-2014
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 David,

here some additional hints:
By using createcopy to copy the state profile to a label node, flexsim adds a new row to the already saved profiles. You can explore the node as a table and use the table functions referencing the table directly by this node.
Perhaps you have to update the states of the object more often. Please test on your own when to use updatestate(obj.) and updatestates() and follow the hints given in the manual to these functions.

Jörg

Tags
periodically, state


Thread Thread Starter Forum Replies Last Post
Collecting loaded times sagar bolisetti Q&A 2 03-18-2014 01:52 AM
Send flowitems to different ports by percentage! DilAmaya Container Terminal (CT) Library 7 12-26-2013 05:13 AM
Creation of flowitems by percentage vasiliki grigorakaki Q&A 2 12-11-2011 01:43 AM
GUI State Graph Anthony Timmiss Q&A 6 01-26-2009 02:30 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


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.