Class NHPDriverLicenseBureauWithQ

    • Constructor Detail

      • NHPDriverLicenseBureauWithQ

        public NHPDriverLicenseBureauWithQ​(ModelElement parent)
      • NHPDriverLicenseBureauWithQ

        public NHPDriverLicenseBureauWithQ​(ModelElement parent,
                                           int numServers,
                                           java.lang.String name)
    • Method Detail

      • getNumberOfServers

        public int getNumberOfServers()
      • setNumberOfServers

        protected void setNumberOfServers​(int n)
      • setServiceDistributionInitialRandomSource

        public void setServiceDistributionInitialRandomSource​(RVariableIfc d)
      • initialize

        protected void initialize()
        Description copied from class: ModelElement
        This method should be overridden by subclasses that need actions performed to initialize prior to a replication. It is called once before each replication occurs if the model element wants initialization. It is called after beforeReplication() is called
        Overrides:
        initialize in class ModelElement
      • main

        public static void main​(java.lang.String[] args)
      • test1

        public static void test1()
        The service time is exponential with a mean of 3 minutes The arrival process is non-homogeneous Poisson for the following Interval duration (min) rate per min 12 am - 6 am 360 0.006 6 am - 9 am 180 0.033 9 am - 12 pm 180 0.041 12 pm - 2 pm 120 0.194 2 pm - 5 pm 180 0.079 5 pm - 8 pm 180 0.167 8 pm - 12 am 240 0.05 Run for 10 days, no warm up
      • test2

        public static void test2()
        The service time is exponential with a mean of 3 minutes The arrival process is non-homogeneous Poisson for the following Interval duration (min) rate per min 12 am - 6 am 360 0.006 6 am - 9 am 180 0.033 9 am - 12 pm 180 0.041 12 pm - 2 pm 120 0.194 2 pm - 5 pm 180 0.079 5 pm - 8 pm 180 0.167 8 pm - 12 am 240 0.05 Run for 10 days, 1 day warm up, 1 day of observation