public void doInitialSchedules() {
// create and activate the van carrier(s)
for (int i = 0; i < NUM_VC; i++) {
VanCarrier vanCarrier = new VanCarrier(this, "VanCarrier", true);
vanCarrier.activate(new TimeSpan(0));
// Use TimeSpan to activate a process after a span of time relative
// to actual simulation time,
// or use TimeInstant to activate the process at an absolute point
// in time.
}
// create and activate the truck generator process
TruckGenerator generator = new TruckGenerator(this, "TruckArrival", false);
generator.activate(new TimeSpan(0));
}