-
-
Notifications
You must be signed in to change notification settings - Fork 529
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 external temperature matrix #692
Comments
is this similar to what @rtimms and @TomTranter added in #543 ? |
Should be able to use much of that functionality. However, was going to look into allowing T(x, y, z) to be fed in without adding dT/dt=0 (at least for KLU) |
Yeah this is basically what we're doing for 1+1. Would be great to have a solution that works for all cases. We can discuss at next meeting |
I was thinking about this and might be useful/user friendly to have a dict |
Yeah I think that's a better way of doing it. This ties in to having inputs for parameter fitting. A good way of doing it might be defining models as normal, but having a new node Then, either we can have an Input parameters get treated as "not constant" so they aren't simplified out. This is also exactly what casadi does so would be easy to convert to their format (this may inform & enforce one or the other choice of how we update inputs) |
I like the idea of just providing an additional vector u. We can then just use the stuff we have for y_slices to interact with it. I'm not sure what the interfaces on other solvers are like for doing this with a variable like T(x) but I can think of a few things worth trying for KLU at least. To be consistent with the rest of our model structure, we would add |
I'm hoping we can even do it without needing to add new submodels. So we just use the same model for isothermal and external, but with |
Summary
Allow for an external temperature matrix T(x,y,z) (and a potetial boundary conditions phi(y,z)) and output an internal heat generation matrix.
The text was updated successfully, but these errors were encountered: