Renege, SLA, Rand
LegacyHow this worked in the previous version
When you want entities to exit a hold queue (or route to a different location) if entities wait longer than a value you set. To calculate the percentage of calls that meet or exceed a service level time you specify, or to randomizes the order in which the resources are selected.

Where to Find the Model Object
Section titled “Where to Find the Model Object”The following model object can be found in the model objects directory:
- Misc - Renege, SLA, Rand
Difficulty Level
Section titled “Difficulty Level”- Ease of Use: Moderate
- Ease of Modification: Moderate
How to Use the Model Object
Section titled “How to Use the Model Object”-
Open Your Model: Open your model or create a new blank model.
-
Insert the Model Object into Your Model
-
Locate the model object Renege, SLA, Rand and select the insert button.
-
Move the cursor to the point of insertion and left mouse-click. The upper left corner of the model object will be inserted at the location of the mouse-click.
-
Connect to Your Model
-
**Connect **an arrival route or a percentage route from the part of your model where you would like the entities to enter the model object to Hold Queue1.

- **Connect **the percentage route leaving After Call Time1 to the rest of your model.

-
Update Objects
-
**Change **the distributions for On Call Time1 and After Call Time1 in the activities.

-
**Change **the names of Hold Queue1, On Call Time1, and **After Call Time1 **to what maybe appropriate for your model.
-
**Change **the names of the **resources **to match your organization.
This requires changing the name of the resource and changing each instance of that resource name in the action logic of the hold queue.

- Define Values: Define the values for scenario parameters s_LoopDelaySec1, s_MaxWaitMin1, and s_SLA_Time_Min1 based on the information provided under the heading Scenario Parameters below. The values for these Scenario Parameters must be provided before the simulation start.

- Completion: The model object is now integrated into your model, you should now be able to save and then simulate the model.
Controls Usage
Section titled “Controls Usage”Attributes:
Section titled “Attributes:”- a_MaxWait1: Do not change. Entity specific allowed wait time.
- a_Renege1: Do not change. Renege counter, -1 = continue to hold 0 = process entity, 1 = renege entity.
- a_StartWait1: Do not change. Time when the entity began waiting.
- a_TotalWait1: Do not change. The total amount of time that an entity waited in the hold queue.
- a_VATime: Do not change. The value added time at the start of the hold.
Variables:
Section titled “Variables:”- v_Call_Count1: Do not change. Total calls counted at this queue. A customer that reneges before the specified Service Level Agreement (SLA) that call is removed from the total call count.
- v_Call_Count_Within_SLA1: Do not change. The count of calls that were answered under the specified SLA (s_SLA_Time_Min1).
- v_SLA_Percent1: Do not change. The percentage of calls that are handled under the SLA time.
- v_OnCallTime1: Do not change. Reporting of each call time to a variable (can be plotted).
- v_AfterCallTime1: Do not change. Reporting of each after call time to a variable (can be plotted).
Scenario Parameters:
Section titled “Scenario Parameters:”- s_LoopDelaySec1: User input required. Number of seconds to wait before testing loop repeats (this number can be less than 1 but must be greater than 0 to prevent an endless loop).
- s_MaxWaitMin1: User input required. Maximum allowed waiting time (could be a distribution).
- s_SLA_Time_Min1: User input required. The maximum time the Service Level Agreement (SLA) allows for a call to be answered and counted as meeting the SLA.
Advance Topics
Section titled “Advance Topics”How Do I Build This Model Object from Start?
Section titled “How Do I Build This Model Object from Start?”Set an attribute equal to the current simulation clock time using the Clock( ) function in the Hold Queue1 action logic. This sets the start time of the wait timer.
Using a While … Do loop in** Hold Queue1 **action logic, check the wait time by subtracting the starting time from the current time. If the current wait time is greater than the maximum allowed wait time, set an attribute to follow the renege route and exit the loop.
Also, inside the loop, check for the availability of the needed resources and capacity in the Process Items activity. If a resource is available and there is capacity, send the entity to the activity to be processed. Otherwise, continue looping until either the requirements are met, or the maximum wait time is met or exceeded.
How Do I Change the Number of Resources Used?
Section titled “How Do I Change the Number of Resources Used?”Changing the number of resources used to answer calls for this call queue requires changing the action logic in Hold Queue1. For example if a sixth resource was added the logic would need to be modified as follows (modifications in bold):
SW5jIHZfQ2FsbF9Db3VudDEKYV9TdGFydFdhaXQxID0gQ2xvY2soKQphX01heFdhaXQxID0gc19NYXhXYWl0TWluMQphX1ZBVGltZSA9IFZBVGltZQphX1JlbmVnZTEgPSAtMQpXaGlsZSBhX1JlbmVnZTEgPSAtMSBEbwp7CglhX1RvdGFsV2FpdDEgPSBDbG9jaygpIOKAkyBhX1N0YXJ0V2FpdDEKCUlmIGFfVG90YWxXYWl0MSA+PSBhX01heFdhaXQxIFRoZW4ge2FfUmVuZWdlMSA9IDF9CglFbHNlIElmIChGcmVlVW5pdHMoV29ya2VyMSkgP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