Jump to content
Simio Forum
Mgeorgia

count entities

<t></t>  

  1. 1. <t></t>



Recommended Posts

hello!!!
i would like to count the entities that are entered in a server!! how can i fix it??
( i have posted in welcome forum by misstake)

thank u in advance

Share this post


Link to post
Share on other sites
In the Results -> Pivot Grid under Server you will see several [b]Throughput [/b]Categories that each have [b]NumberEntered[/b] and [b]NumberExited[/b]. [attachment=313:name]

Share this post


Link to post
Share on other sites
thank u very much about your answer. however, i would like to have a status label to count each time an entity enters a server. is there that possibility???

Share this post


Link to post
Share on other sites
Sure.

Finding the data you want in the pivot chart (see red circle) is one good way of figuring out what function value you want to use. For many functions, the [b]Object Name[/b], [b]Data Source[/b], and [b]Data Item[/b] in the pivot table define the expression to use in Simio.
In this case it would be: [b][color=#0000FF]Server1.Processing.NumberEntered[/color][/b].

Of course you could also just use the expression builder and read the help on each pull-down item until you find what you are looking for.

Share this post


Link to post
Share on other sites
HI every one. i´m trying to do a reset of the value that displayed in the "statuslabel" that i have assigned to a Source. This label have the expression: "OutputBuffer.NumberExited". So, when i start my simulatión I did diferent amounts of through the time. For this reason i´m searching how can i see dinamically the quantity of entites they have exited of the source in diferent intervals of times. as an example, my first interval of arrivals it´s between 00:00 a.m. and 8:00 a.m., for this a section of time i wanted see the results in a display facility or in a report of total amount of entities arrival in this interval. And, in the next interval horary the next total amount and so on

[url=http://subefotos.com/ver/?f2450ecca8e78c69973344e2420e75f4o.jpg][img]http://thumbs.subefotos.com/f2450ecca8e78c69973344e2420e75f4o.jpg[/img][/url]


[url=http://subefotos.com/ver/?e088222bfa648bd7af7e451b0256353ao.jpg][img]http://thumbs.subefotos.com/e088222bfa648bd7af7e451b0256353ao.jpg[/img][/url]

Thanks So much

Rewars..

Share this post


Link to post
Share on other sites
you should use a timer element (it can be triggered once every two hours or any other time interval you determined) or an add-on process (wherever it is appropriate) which triggers a process (create a new process) which includes some assignments. You should assign StaCurrentValue (current value of the statistic you collect) to a new state variable let it call StaPeriodicValue (the state variable that is shown in status label)-->in an assign step StaPeriodicValue=StaCurrentValue...

Share this post


Link to post
Share on other sites
Dave is right, the HourlyStatistics simbit includes the logic what u want.
I realised that I have missed some assignments. see the attached file under "SI General Discussions" title of the forum for what u want.

http://www.simio.com/forums/viewtopic.php?f=6&t=2316

Share this post


Link to post
Share on other sites

×