public void checkStock(){
        if (this.stock<this.minS && this.listOrderArrival.peek()==null) {
            Customer c= new Customer("-1",this.clock+5+Math.random()*2,this.maxS-this.stock);
            this.addEvent(new Event(c,1,c.getArrivalTime()));
        }
        
    }