%% Comparing Single Server With N-Server

% Copyright 2008-2012 The MathWorks, Inc.

%% Overview
% This example shows a comparison of a single-server queuing system with an N-server
% system.

modelname = 'sedemo_single_v_multi_server';
open_system(modelname);
sim(modelname);

%% Structure of Comparing Single Server With N-Server
% In this model, the single server can serve three times as fast as each of
% the three servers in the N-Server block. The displays show that the
% faster single server achieves smaller delays than the set of three slower
% servers. The throughput of both systems is the same.  

%% Related Examples
% * <matlab:simeventsdocex('doc_outputswitch_firstnotblocked'); Single
% server example>
% * <matlab:simeventsdocex('doc_preemptiveserver'); Single server in
% preemptive mode>
% * <matlab:simeventsdocex('doc_mm5'); N server example M/M/5 Queuing 
% System (Markovian)>

%% 
%cleanup
bdclose(modelname);
clear modelname;
displayEndOfDemoMessage(mfilename)
