Validate Custom Model

Validate a custom PyBaMM model JSON file and return variable information.

Validates that the JSON can be successfully loaded as a PyBaMM model and returns the variable names from model.rhs and model.algebraic.

Parameters

file : UploadFile The PyBaMM serialized model JSON file

Returns

CustomModelValidationResult Validation result with success status, error message, and variable info

post/models/validate-custom-model

Response

Successful Response

successboolean required
errorstring nullable
rhs_variablesstring[] nullable
algebraic_variablesstring[] nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.