The attached model determines a maximum power demand depending on velocities of cars. The quicker they drive, the longer must the distance be between them. The cars cannot exceed speed that would make the needed distance between cars larger than the overall track length.
I calculate the overall distance covered, dTot.
Code: Select all
dTot =e= sum(c, dCar(c));
Code: Select all
dTot =l= lTrack;
Bests,
supra