Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Jul 12, 2023
1 parent 9ddaccc commit ba4ec9c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Simulation Service
Simulation Service provides an interface and job runner for [ASKEM models](https://github.com/DARPA-ASKEM/Model-Representations).
# SimulationService.jl

See example payload at [./examples/request.json](./examples/request.json)
Simulation Service runs a REST API for running jobs in the [ASKEM Model Representation](https://github.com/DARPA-ASKEM/Model-Representations).

See example payloads in the `./examples` directory.

## Development Environment

Expand Down Expand Up @@ -90,10 +91,10 @@ all the necessary info for running/solving the model and returning results.
- `model_config_id(s)` --> Retrieve model(s) in AMR format from TDS (`model::Config` in `OperationRequest`).
- `dataset` --> Retrieve dataset from TDS (`df::DataFrame` in `OperationRequest`).
3. We start the job via JobSchedulers.jl, which performs:
a. Update job status in TDS to "running".
b. Run/solve the model/simulation.
c. Upload results to S3.
d. Update job status in TDS to "complete".
- Update job status in TDS to "running".
- Run/solve the model/simulation.
- Upload results to S3.
- Update job status in TDS to "complete".
4. Return a 201 response (above job runs async) with JSON that holds the `simulation_id` (client's term), which we call `job_id`.


Expand Down

0 comments on commit ba4ec9c

Please sign in to comment.