ATTENTIONThis 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 |
#1
|
|||
|
|||
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
|
||||
|
||||
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
|
||||
|
||||
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 |