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

Provide a unified simulation API #15

Closed
multun opened this issue Mar 12, 2021 · 0 comments
Closed

Provide a unified simulation API #15

multun opened this issue Mar 12, 2021 · 0 comments
Labels
area:api (deprecated) Work on Api Service (deprecated) component:rollingstock work related to rollingstock definitions

Comments

@multun
Copy link
Contributor

multun commented Mar 12, 2021

Currently, to start a simulation, OSRD needs:

  • an infrastructure file
  • a rolling stock file per train type
  • a schedule

It'd be quite a bit fancier to be able to start a simulation from a single API call, once the infrastructure is loaded. We could put the rolling stocks and schedule in the same JSON parameter file, as neither really need to be persistent in the backend (both are pretty small)

@multun multun added area:api (deprecated) Work on Api Service (deprecated) infra component:rollingstock work related to rollingstock definitions and removed infra labels Mar 12, 2021
flomonster added a commit that referenced this issue Nov 10, 2021
Generate admin / serializer code, add various components

Closes #10, #11, #12, and #15

See merge request osrdata/services/osrd!4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:api (deprecated) Work on Api Service (deprecated) component:rollingstock work related to rollingstock definitions
Projects
None yet
Development

No branches or pull requests

2 participants