iws.direct_entries.DirectEntry— a flat dict of values you supply yourself.iws.direct_entries.*function-schema subclasses (e.g.LandesfeindElectrolyte) — pre-built parameterisations from the literature.
Custom DirectEntry
parameters accepts floats, arrays, and pybamm-serialisable symbols.
Callable parameters via pybamm.ParameterValues
For parameters that are callables — for example, concentration- or temperature-dependent interpolants — wrap them in a pybamm.ParameterValues and pass that. Its serialisation converts each callable into the symbolic form the server reconstructs on the other side. A raw dict containing callables is not auto-serialised; you must wrap it explicitly.
(c_e, T) (or the relevant pybamm input variables) — capture any extra inputs (lookup arrays, names) via closure rather than default kwargs, since defaults are inferred as function inputs during serialisation and break reconstruction.
Electrolyte direct entries
| Schema | What it sets |
|---|---|
iws.direct_entries.ConstantElectrolyte(c_e=...) | Initial salt concentration only |
iws.direct_entries.NymanElectrolyte(c_e=...) | , , , from Nyman et al. 2008 (isothermal) |
iws.direct_entries.LandesfeindElectrolyte(c_e=..., system=...) | Full - and -dependent set from Landesfeind & Gasteiger 2019 |
iws.direct_entries.ArrheniusElectrolyteDiffusivity() | Wraps a reference in an Arrhenius temperature factor |
iws.direct_entries.ArrheniusElectrolyteConductivity() | Wraps a reference in an Arrhenius temperature factor |
system must be one of "EC:DMC (1:1)", "EC:EMC (3:7)", or "EMC:FEC (19:1)".
Piecewise interpolant direct entries
For SOC- or temperature-dependent parameters, useiws.direct_entries.PiecewiseInterpolation1D or PiecewiseInterpolation2D. See Calculations → Piecewise.
Fitting coefficients from a direct entry
The transport-property coefficients insideLandesfeindElectrolyte are exposed as named parameters precisely so they can be overridden as fit unknowns. Put the entry into a pipeline and reference the same parameter names in a downstream DataFit — the published values act as the base and the optimizer searches over the overridden ones.
Electrolyte direct entries (theory)
Physics behind the four transport properties.
Pipelines overview
How direct entries fit into the wider pipeline.