Serialize Ionworks Model
discovery
Serialize Ionworks Model
Build an ionworks model and return its pybamm Serialise JSON.
Lets callers without the licensed ionworkspipeline package use
ionworks models (ECM, LumpedSPMR, GITTModel, …): the JSON
loads with plain pybamm via Serialise.load_custom_model. Standard
pybamm models are already usable directly, so requesting one returns 400.
Returned verbatim because the JSON may contain Infinity/NaN
literals; Python’s json (and the SDK) parse these fine.
Serialize Ionworks Model
Body
application/json
Body for POST /discovery/ionworks_models/serialize.
Response
Successful Response