Append a new custom variable to a model’s config (append-only).
Validates the expression, serializes it to JSON, and stores it. Custom variables cannot be edited or deleted after creation because evaluated values are persisted in simulation result files.
Documentation Index
Fetch the complete documentation index at: https://docs.ionworks.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Model with config loaded from database.
The name of the model.
The unique identifier for the model.
The ID of the user who created the model.
The ID of the organization this model belongs to.
Timestamp of when the model was created.
Timestamp of when the model was last updated.
Model configuration stored as JSON.
Check if this is a custom model (has compressed model data).
An optional description for the model.
PyBaMM version used for this model. If not provided, will be read from pybamm.version.
Email of the user who created the model.