Input Parameter#

class pybamm.InputParameter(name, domain=None, expected_size=None)[source]#

A node in the expression tree representing an input parameter.

This node’s value can be set at the point of solving, allowing parameter estimation and control

  • name (str) – name of the node

  • domain (iterable of str, or str) – list of domains over which the node is valid (empty list indicates the symbol is valid over all domains)

  • expected_size (int) – The size of the input parameter expected, defaults to 1 (scalar input)

Extends: pybamm.expression_tree.symbol.Symbol


See pybamm.Symbol.new_copy().


Method to serialise an InputParameter object into JSON.