You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a initialize_state_derivative for the system. This function uses scipy.optimize.fsolve to calculate the remaining unknown derivatives that are dependend on the connection, that can't be calculated directly. Until fsolve is called, it iterates over each unit operation to call their own initialize_state_derivative that tries to calculate their initial values and gives the fsolve an initial value.
In GitLab by @schmoelder on Jul 4, 2024, 17:30
To run the simulation, we also need a method to consistently initialize the system for given initial values.
Here is an example for how to initialize the
CSTR
:A method to compute the initial values needs to be added for all residual implementations.
Open question: Should we maybe add a class for the residual?
The text was updated successfully, but these errors were encountered: