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
|
|||
|
|||
Average model content performance measure
Hi,
I have built a model and am having trouble with one of my performance measures in the experimenter. I want to record the average content of the model (i.e. how many flow items are in the model) To do this I have created a global table with the current content in the first row and cell (being updated whenever an item enters or leaves the system). I have a recorder capturing this value and providing me with an average, and I want to reference this average in my performance measure within the experimenter. The code I am using for the PM is: return getnodenum(node(">Recorder1/variables/graphdata/1/5", model())); But this doesn't seem to work. Furthermore, if I enter this line into the script window it doesn't work. I've tried various ways of rewriting this code using ranks, etc. but cannot get it to work. What am I doing wrong and/or is there an easier way of doing this? Any help would be greatly appreciated |
#2
|
||||
|
||||
node(">Recorder1/variables/graphdata/1/5", model())
vs node("/Recorder1>variables/graphdata/1/5", model()) You are trying to go into the model's object data instead of the Recorder's. |
Tags |
average, content, experimenter, measure, recorder |
Thread | Thread Starter | Forum | Replies | Last Post |
Measure value added time | Stefan Trabut | Q&A | 6 | 04-13-2011 11:38 PM |
Bug in measuring average content | Congshi Wang | Q&A | 5 | 01-03-2011 11:32 AM |
Performance problems in big model | Lydia Franck | Q&A | 6 | 07-01-2009 07:27 AM |
Flexsim running performance vs Automode performance... | syseo | Marketing and Sales Information | 6 | 06-10-2009 08:35 PM |
How to get interval average,max,etc of a queue content ? | qin tian | Q&A | 5 | 02-14-2008 10:11 PM |