Skip to content
Discussion options

You must be logged in to vote

You can do it similarly to the OCPs in Ai2020.py:

def lico2_ocp_Ai2020(sto):
    name, (x, y) = lico2_ocp_Ai2020_data
    return pybamm.Interpolant(x, y, sto, name=name, interpolator="cubic")

where lico2_ocp_Ai2020_data contains the data.

Regarding your second post, you need to pass the parameters as

param.update({"Negative electrode diffusivity [m2.s-1]": graphite_LGM50_diffusivity_ORegan2022})
param.update({"Positive electrode diffusivity [m2.s-1]": nmc_LGM50_diffusivity_ORegan2022})

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@MirAbbasAli2A
Comment options

@MirAbbasAli2A
Comment options

@brosaplanella
Comment options

brosaplanella Nov 15, 2023
Maintainer Sponsor

Answer selected by MirAbbasAli2A
@MirAbbasAli2A
Comment options

@brosaplanella
Comment options

brosaplanella Nov 16, 2023
Maintainer Sponsor

@MirAbbasAli2A
Comment options

@brosaplanella
Comment options

brosaplanella Nov 22, 2023
Maintainer Sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants