Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add independent depart for Flow #1966

Open
qianyi-sun opened this issue Apr 18, 2023 · 0 comments
Open

[Feature request] Add independent depart for Flow #1966

qianyi-sun opened this issue Apr 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@qianyi-sun
Copy link
Contributor

Proposal

The desired pseudo code could be like:

class Flow:
...
    depart: float = 0
    """"Start time in seconds"""

Motivation

Currently depart only available in Trip class and if we set depart for a Traffic(flows=[Flow(...)], trips=[Trip(....,depart=...)]), seems like the depart doesnt only affect the trips but also affect the flows as well.

Sometimes we want the flows go first for several seconds to make sure there's some traffic prior to the trip actor, especially for the following scenarios, as we use trip actor as the leader. Therefore we might need a seperate depart for the flows so that we could control the depart time for flows and trip actor seperately.

Alternatives

No response

Additional context

No response

@qianyi-sun qianyi-sun added the enhancement New feature or request label Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants