Open PaulWAyers opened 2 years ago
Here are some notes on the method (as I recall). examples.pdf Simultaneous Chemical Equilibria.pdf Simultaneous Chemical Equilibria.docx 11Systems of Nonlinear Equations from Simultaneous Equilibria.docx
The constraint is that there can never be a negative amount of a reactant. So for reaction R, $\xi_R$ is greater than the -1 times the smallest positive stoichiometric coefficient and larger than the -1 times the largest negative stoichiometric coefficient.
Initial guess:
I'd probably give two options:
It may be worth using the optim.jl
package, as it doesn't require building the sum-of-squares objective function.
It looks like there is a high-level interface with the Neqproblem
keyword
https://github.com/JuliaNLSolvers/NLSolvers.jl
https://github.com/QuantumElephant/NICE/blob/master/nice/exact.py
@PaulWAyers as of now the URL is not working I wanted to attempt on the exact solver implementation can you point me to some relevant materials to get started with this.
Also, I wish to connect with you mentors and other members of the community, so, it would be beneficial if you can provide Slack, Element, Discord or any other communication channel link.
Some notes on simultaneous equilibria are here. The first is the general framework, then a set of notes that has a lot of examples. General Notes General + Specific Examples
The supplementary material from J. Mol. Modelling v23, 155, (2017) is also relevant.
Hi,
I am Madhavan, currently pursuing my masters from IISc Bangalore, India in the department of Chemical Engineering. @PaulWAyers First of all, thank you for the resources shared regarding the setting up of nonlinear equations. Additionally, can you also provide some resources pointing to how the KMC simulations needs to be implemented. It would be great if you could share the link for some contact channel so that I can connect with the members of your community.
Thanks again! Madhavan
https://github.com/QuantumElephant/NICE/blob/master/nice/exact.py