Evaluate Expression
Evaluate Expression
Evaluate a dependent parameter expression using current parameter values.
The expression is given as a JSON-serialized PyBaMM symbol (json_value). Parameters are the full frontend parameters dict; they are converted and used to substitute Parameter(”…”) nodes, then the expression is evaluated to a scalar.
Parameters
request : EvaluateExpressionRequest json_value: JSON symbol tree; parameters: current parameters dict
Returns
EvaluateExpressionResponse value: evaluated numeric result
Evaluate Expression