1) I'm only giving the corrections:
- myDecel and leaderMaxDecel are the values of vType attribute 'decel'
attribute for the respective vehicles. This is a static value corresponding
to the maximum desired deceleration. Note, that other carfollow models may
interpret the same value differently when they override the functions
getSecureGap, brakeGap etc.
- when calling brakeGap the headwayTime argument is sometimes myHeadwayTime
and sometimes 0. See getSecureGap
- ACCEL2SPEED and SPEED2DIST are used to compute changes in speed and
distance for one simulation step which may different from 1s. The formulas
are in src/utils/common/SUMOTime.h. DELTA_T is the step-length in
milliseconds hence TS = DELTA_T/1000

2) see
https://github.com/eclipse/sumo/blob/1c5cd080e83c7cad30f96a6c6b70bb4d80478bdb/src/microsim/MSLaneChanger.cpp#L767-L768
https://github.com/eclipse/sumo/blob/1c5cd080e83c7cad30f96a6c6b70bb4d80478bdb/src/microsim/MSLaneChanger.cpp#L798-L799

Am Mo., 13. Apr. 2020 um 14:37 Uhr schrieb Bae, Jong In <[email protected]>:

> Hi,
>
> I have some questions on SUMO's 'getSecureGap' (
> https://github.com/eclipse/sumo/blob/3a3be608d2408d7cbf10f6bba939254ef439c209/src/microsim/cfmodels/MSCFModel.h#L333-L339)
> and 'brakeGap' (
> https://github.com/eclipse/sumo/blob/3a3be608d2408d7cbf10f6bba939254ef439c209/src/microsim/cfmodels/MSCFModel.cpp#L77-L99
> ).
>
> <https://github.com/eclipse/sumo/blob/3a3be608d2408d7cbf10f6bba939254ef439c209/src/microsim/cfmodels/MSCFModel.cpp#L77-L99>
> eclipse/sumo
> <https://github.com/eclipse/sumo/blob/3a3be608d2408d7cbf10f6bba939254ef439c209/src/microsim/cfmodels/MSCFModel.cpp#L77-L99>
> Eclipse SUMO is an open source, highly portable, microscopic and
> continuous road traffic simulation package designed to handle large road
> networks. It allows for intermodal simulation including ped...
> github.com
>
>
>    1. Could you verify the meaning of each argument of the two functions?
>
> *getSecureGap*
>
>    - myDecel - current deceleration rate of the subject vehicle (the one
>    attempting to merge)
>    - leaderMaxDecel - current deceleration rate of the leading vehicle
>    (vehicle preceding to the lane change area)
>
> *brakeGap*
>
>    - speed - current speed of the subject vehicle
>    - myHeadwayTime - Tau value of the subject vehicle (is this the same
>    as headwayTime argument?)
>    - leaderSpeed - current speed of the leader vehicle
>    - ACCEL2SPEED - is the formula available? (the time.h file only says
>    the formula as x/deltaT; what are these parameters?)
>    - SPEED2DIST - is the formula available?
>
>
> 2. In the required gap equation = secureBackGap + subjectLength +
> subjectMinGap + secureFrontGap, how are 'secureBackGap' and
> 'secureFrontGap' determined in the 'getSecureGap'?
> Is it simply using follower vehicle's deceleration and speed for
> 'secureBackGap' and leader vehicle data for 'secureFrontGap'?
>
> Thank you in advance for your assistance.
>
> -James Bae
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to