double position = roadSegment.roadLength(); // start at end of segment
while (position > 0) {
final TestVehicle testVehicle = vehGenerator.getTestVehicle();
final double rhoLocal = icMacro.rho(position);
double speedInit = icMacro.hasUserDefinedSpeeds() ? icMacro.vInit(position) : testVehicle
.getEquilibriumSpeed(rhoLocal);
if (LOG.isDebugEnabled() && !icMacro.hasUserDefinedSpeeds()) {
LOG.debug("use equilibrium speed={} in macroscopic initial conditions.", speedInit);
}