Skip to main content
On the Studies page you run a simulation against a saved parameterized model and it’s filed under a study. From Python this is the same client.simulation.protocol call, with a study_id so the run shows up on that study’s Simulations tab.
Install and authenticate first: pip install ionworks-api and set IONWORKS_API_KEY and IONWORKS_PROJECT_ID. See the Python API client page.
What’s happening
  • This is the same call as protocol simulations; the study_id files the run under a study, so it appears on that study’s Simulations tab in Studio.
  • parameterized_model takes the id of a model you built (see Upload a model), or an inline quick model like {"capacity": 5.0, "chemistry": "NMC/Graphite"} for a throwaway run.
  • Read results with get_result(...).time_series, .steps, .metrics. To sweep parameters across many runs, use protocol_batch (see Run protocol simulations).

Learn more