Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input symbol #743

Closed
valentinsulzer opened this issue Nov 22, 2019 · 0 comments · Fixed by #752
Closed

Input symbol #743

valentinsulzer opened this issue Nov 22, 2019 · 0 comments · Fixed by #752
Assignees

Comments

@valentinsulzer
Copy link
Member

Make a symbol pybamm.Input to allow passing parameters for (eventually) parameter estimation, etc.
This is similar to external variables, but slightly different because the inputs don't get discretised.
Covers similar functionality to param.update_model() but should be more efficient and user-friendly.
A potential workflow is

model = pybamm.lithium_ion.DFN()
param = model.default_parameter_values
param["Some parameter to vary quickly"] = pybamm.Input("Some parameter to vary quickly")
...
solver.solve(model, t_eval, inputs={"Some parameter to vary quickly": 4})
@valentinsulzer valentinsulzer self-assigned this Nov 26, 2019
valentinsulzer added a commit that referenced this issue Dec 1, 2019
valentinsulzer added a commit that referenced this issue Dec 1, 2019
valentinsulzer added a commit that referenced this issue Dec 1, 2019
@valentinsulzer valentinsulzer mentioned this issue Dec 1, 2019
8 tasks
valentinsulzer added a commit that referenced this issue Dec 4, 2019
valentinsulzer added a commit that referenced this issue Dec 4, 2019
valentinsulzer added a commit that referenced this issue Dec 4, 2019
valentinsulzer added a commit that referenced this issue Dec 4, 2019
valentinsulzer added a commit that referenced this issue Dec 5, 2019
valentinsulzer added a commit that referenced this issue Dec 5, 2019
valentinsulzer added a commit that referenced this issue Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant