Skip to content

Calculates the number of agents needed given call rate, service time and average wait time.

License

Notifications You must be signed in to change notification settings

tennety/erlang_c_calculator

Repository files navigation

What does it do?

Given the average call arrival rate per second, the average service time and acceptable wait time, calculate the load, Erlang C probability that a caller waits, and the number of agents needed to service the call station.

Installation

  gem install erlang_c_calculator

Usage

  require 'rubygems'
  require 'erlang_c_calculator'

  e = ErlangC::Calculator.new(0.01, 300, 20)
  e.traffic_intensity  # => 3.0
  e.agents_needed      # => 6

Dependencies

ErlangC Calculator does not have any dependencies.

References

This gem uses material from the online book "Call Center Mathematics" by Professor Ger Koole of the VU University of Amsterdam's Department of Mathematics. More tools and research are available at the CCMath website.

About

Calculates the number of agents needed given call rate, service time and average wait time.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages