Queues And Servers Blocks


Set_Preempt_Resource


File: general_blocks/QuantityShared_Resource/Set_Preempt_Resource.sim

Description

Resource definition model. This model establishes resources. Each Service block must map to a Resource block. Use this model to establish (instantiate) a resource, and set it's parameters. A resource can represent for example, a CPU or set of CPU's. Each resource has a logical name, called ResourceID. You can have multiple resources in a system model. The models which operate on the resource use ResourceID name to reference a specific resource.

This resource block is to be used with the Service and Probe models which support Preemption.

Ports
Input Ports
Output Ports
Parameters

Service_wPriority_Preemption

   

File: /Service_wPriority_Preemption.sim

Description

This model is used to request service from a Server resource. When all inputs are enabled, the values on the inputs and the parameter settings collectively form a transaction. When the transaction has completed its service, the data structure which came in the inDS port is placed on the outDS port. If the transaction is removed prior to completing, the Data Structure is sent out the reject port instead. If a higher priority item arrives than is being serviced,then preempt that service, requeue with reduced service-time, and start the new item's service. Include a context switching delay.This model outputs data for displaying a Process Time Line. The data is output in the correct format so that the Time-Line Tool can be used to set the display format and colors.

Ports
Input Ports
Output Ports
Parameters

Service_wRoundRobin



File: general_blocks/Execution_Control/Service_wRoundRobin.sim

Description

This model is used to request service from a Server resource. When all inputs are enabled, the values on the inputs and the parameter settings collectively form a transaction. When the transaction has completed its service, the data structure which came in the inDS port is placed on the outDS port. If the transaction is removed prior to completing, the Data Structure is sent out the reject port instead. If a higher priority item arrives than is being serviced, then preempt that service, requeue with reduced service- time, and start the new item's service. Include a context switching delay.

Ports
Input Ports
Output Ports
Parameters

SR_Preempt_Server_Occupancy_Probe


File: general_blocks/Probes/SR_Preempt_Server_Occupancy_Probe.sim

Description

This probe computes the Average Server Occupancy for a Server Resource. This value is computed over the time interval from Startup Time to TSTOP, in batches, the result is put in a .dat file at the end of each batch.
Ports
Input Ports
Output Ports
Parameters

SR_Preempt_Server_Response_Probe


File: general_blocks/Probes/SR_Preempt_Server_Response_Probe.sim

Description

This probe computes the mean time each completed transaction spent in the resource. This statistic is an ensemble average, and only transactions which complete service during the observation interval are included in the computation. The observation interval begins when TNow reaches the valueof the StartupTime and ends at the end of the simulation,and is divided into several batches, according to the NBatches.

Ports
Input Ports
Output Ports
Parameters

SR_Preempt_Server_Utilization_Probe


File: general_blocks/Probes/SR_Preempt_Server_Utilization_Probe.sim

Description

This probe computes the Server Utilization for a Server Resource. Server Utilization is the average number of servers in use during each batch interval. Server Utilization is computed as the area under the curve of the number of servers in use versus time, from the beginning of each batch to its end.

Ports
Input Ports
Output Ports
Parameters

SR_Preempt_Server_Utilization_Per_Priority_Probe


File: general_blocks/Probes/SR_Preempt_Server_Utilization_Per_Priority_Probe.sim

Description

This probe computes the Server Utilization for individuals Priorities in a Server Resource. Server Utilization for a priority is the average number of servers in use during each batch interval for that priority. Server Utilization is computed as the area under the curve of the number of servers processing the priority of interest versus time, from the beginning of each batch to its end.
Ports
Input Ports
Output Ports
Parameters

ServiceSetup

   

File: /ServiceSetup.sim

Description

The model combines several blocks into a multi-function "setup"
block intended for feeding a Service block. It will:
-insert TNow into the specified field (optional)
-extract service time related data from the specified field, calculate a service time using the m andbattributes, and send this data out from the ServiceTime port
-either use a fixed priority specified as an attribute, or (optionally) extract the priority from the specified field, and send this data from the Priority port
-send the incoming data structure out the DS port

Ports
Input Ports
Output Ports
Parameters

Set_Resource


File: general_blocks/QuantityShared_Resource/Resource.sim

Description

Resource definition model. This model establishes resources. Each instance of a Quantity Shared Resource must have a Set_Resource. Use this model to establish (instantiate) a resource, and set it's parameters. A resource can represent for example, a CPU or set of CPU's.  This resource model is to be used with the Server and Probe models. Each resource has a logical name, called resourceID. You can have multiple resources in a system model. The models which operate on the resource use resourceID name to reference a specific resource.

Ports
Input Ports
Output Ports
Parameters

Service_wPriority



File: QueuesAndServers/Service_wPriority.sim

Description

This model is used to request service from a Server resource. When all inputs are enabled, the values on the inputs and the parameter settings collectively form a transaction. When the transaction has completed its service, the data structure which came in the inDS port is placed on the outDS port. If the transaction is removed prior to completing, the Data Structure is sent out the reject port instead.

Ports
Input Ports
Output Ports
Parameters

SR_Server_Occupancy_Probe



File: QueuesAndServers/SR_Server_Occupancy_Probe.sim

Description

This probe computes the Average Server Occupancy for a Server Resource.
This value is computed over the time interval from Startup Time to TSTOP, in batches,
the result is put in a .dat file at the end of each batch.

Ports
Input Ports
Output Ports
Parameters

SR_Server_Response_Probe



File: QueuesAndServers/SR_Server_Responce_Probe.sim

Description

This probe computes the mean time each completed transaction spent in the resource.
This statistic is an ensemble average, and only transactions which complete service
during the observation interval are included in the computation. The observation interval
begins when TNow reaches the valueof the StartupTime and ends at the end of the
simulation, and is divided into several batches, according to the NBatches .

Ports
Input Ports
Output Ports
Parameters

SR_Server_Utilization_Probe



File: QueuesAndServers/SR_Server_Utilization_Probe.sim

Description

This probe computes the Server Utilization for a Server Resource.
Server Utilization is the average number of servers in use during each batch interval.
Server Utilization is computed as the area under the curve of the number of servers
in use versus time, from the beginning of each batch to its end.

Ports
Input Ports
Output Ports
Parameters

SR_Server_Utilization_Per_Priority_Probe



File: QueuesAndServers/SR_Server_Utilization_wPriority_Probe.sim

Description

This probe computes the Server Utilization for individuals Priorities in a Server Resource.
Server Utilization for a priority is the average number of servers in use during each batch interval for that priority.
Server Utilization is computed as the area under the curve of the number of servers processing the priority of interest
versus time, from the beginning of each batch to its end.

Ports
Input Ports
Output Ports
Parameters