diff --git a/TMG.Visum/TransitAssignment/HeadwayImpedanceParameters.cs b/TMG.Visum/TransitAssignment/HeadwayImpedanceParameters.cs index e7f0ff0..27c20e2 100644 --- a/TMG.Visum/TransitAssignment/HeadwayImpedanceParameters.cs +++ b/TMG.Visum/TransitAssignment/HeadwayImpedanceParameters.cs @@ -426,7 +426,8 @@ internal override void UpdateSTSUSegmentSpeeds(VisumInstance instance) NetObjectType = "LINK", OnlyActive = true, ResultAttributeName = $"ADDVAL1", - Formula = $"IF({autoTimes} < 9999, {autoTimes}, 60 * [LENGTH] / {parameter.DefaultEROWSpeed})" + // 3600 because VISUM uses seconds for time + Formula = $"IF({autoTimes} < 9999, {autoTimes}, 3600 * [LENGTH] / {parameter.DefaultEROWSpeed})" }); // Apply to lines in the filter