Jump to content

Counting the number of times the capacity is increased


slar18
 Share

Recommended Posts

Hi,

We want to count the number of time an extra counter is opened in our model. We tried adding and assign step in the capacity-logic process with the New value to NumberCashier +1 which is our state variable name. We tried referencing to it in an output statistic but it showed 0. What are we doing wrong?

Apoteksimulering (1).spfx

Link to comment
Share on other sites

Hi,

 

It seems your count work to count it amount of times it changes (NumberCashiers). (Also just try adding the 's', and/or just altering the expression of NumberCashier)

I would suggest using a state statistic element, that takes Cashier.CurrentCapacity as it state variable.  It will give you the average value of Cashier.CurrentCapacity over time.

 

Regards,

Willem

Link to comment
Share on other sites

×
×
  • Create New...