Beispiel #1
0
            public static void Run()
            {
                int nCustomers = 100;
                IDoubleDistribution interarrivalTime = new ExponentialDistribution(3, 5); // new PoissonDistribution(6);
                int nTellers = 5;
                IDoubleDistribution serviceTime = new ExponentialDistribution(13, 4);     //new PoissonDistribution(7);

                DemoModel m = new DemoModel("Demo Model", nCustomers, interarrivalTime, nTellers, serviceTime);

                m.Initialize();

                DateTime startDateTime = DateTime.Parse("Fri, 15 Jul 2016 09:00:00");

                m.Executive.SetStartTime(startDateTime);
                m.Start();

                Console.WriteLine(m.Report());
            }