I believe you need to assign all your variables as global. I would use;
k1f,k1r,K1
k2f,k2r,K2
etc.
To replace one of the rate constants for a reaction with a function of the equilibrium constant you set the one to be replaced as “assignment” (on the “Global Quantities” list), then double click that row to get to the assignment dialog. Then in the equation box put the proper ratio, e.g.;
Values[k1f].InitalValue/Values[K1].InitalValue
No equal sign and you need to use the Copasi logo button to get to the parameter lists. If Copasi likes the formula the box turns blue. If it can’t parse the formula the box is pink.
The other parameters for that reaction, k1f and K1, are assigned initial values in the Global Quantities list. When you change one the dependent calculated value should automatically change as well.
Now when you create equation one as “reversible mass action” you can click on the rate constants in the “Mapping” column and point them at the appropriate global variable (k1f and k1r).
I hope that helps.
jim
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-fo...@googlegroups.com.
To post to this group, send email to copasi-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/CAF%3D4GRgBj3bb6y%3DmQ4OnLX%2Bpn-4MFU9hGDRWvMuRjBr8kegQYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-forum+unsubscribe@googlegroups.com.
To post to this group, send email to copasi-user-forum@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/CAF%3D4GRgBj3bb6y%3DmQ4OnLX%2Bpn-4MFU9hGDRWvMuRjBr8kegQYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-forum+unsubscribe@googlegroups.com.
To post to this group, send email to copasi-user-forum@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/179b01d422a8%243d435520%24b7c9ff60%24%40gmail.com.
To clarify; Copasi won’t “auto-complete” but it does parse the expression and changes the box’s background color depending on if it parses as a valid expression (to Copasi). You can manually enter the expression but the syntax for species, globals etc. is a bit tricky so I find it much easier to use the Copasi button. The click-path is [Copasi][Global Quantities][Initial values][your global var]. Note that once a valid equation has been entered the next time you go to edit the expression the Copasi button is gone and you need to first click the button that is where the Copasi button was before, it has a square with a partial diagonal as the button’s symbol. The mouse-over note for the button is “edit expression”
For your equation 3 the syntax is {Values[k3f].InitialValue}/{Values[K3].InitialValue}, which is easiest to enter via the Copasi button and will give a blue box when it is completely entered.
If you want to include a concentration in the expression the usual click path is [Copasi][Species][Transient Concentrations][your species(t)]
jim
From: copasi-u...@googlegroups.com <copasi-u...@googlegroups.com> On Behalf Of Vic Truesdale
Sent: Tuesday, July 24, 2018 6:32 AM
To: copasi-u...@googlegroups.com
Subject: Re: [copasi-user-forum] Some help with elementary set-up in Copasi
Hi
Jim has explained that 'to gang' all my rate constants in a consecutive equilibrium reaction scheme I need to enter all my rate and equilibrium constants as Global Quantities. He advised me to use the syntax: Values[k1f].InitalValue/Values[K1].InitalValue . I am trying this out on reaction 3 as a test case. but haven't managed to get the Expression compartment to go blue!
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-fo...@googlegroups.com.
To post to this group, send email to copasi-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/CAF%3D4GRgBj3bb6y%3DmQ4OnLX%2Bpn-4MFU9hGDRWvMuRjBr8kegQYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-fo...@googlegroups.com.
To post to this group, send email to copasi-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/179b01d422a8%243d435520%24b7c9ff60%24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-fo...@googlegroups.com.
To post to this group, send email to copasi-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/CAF%3D4GRhzix1QQuxkSEWsUgcgXXBR2xb%2BWJHRhv2DTj%3DGonYmGg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-forum+unsubscribe@googlegroups.com.
To post to this group, send email to copasi-user-forum@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/CAF%3D4GRgBj3bb6y%3DmQ4OnLX%2Bpn-4MFU9hGDRWvMuRjBr8kegQYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-forum+unsubscribe@googlegroups.com.
To post to this group, send email to copasi-user-forum@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/179b01d422a8%243d435520%24b7c9ff60%24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-forum+unsubscribe@googlegroups.com.
To post to this group, send email to copasi-user-forum@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/CAF%3D4GRhzix1QQuxkSEWsUgcgXXBR2xb%2BWJHRhv2DTj%3DGonYmGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-forum+unsubscribe@googlegroups.com.
To post to this group, send email to copasi-user-forum@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/1965901d42432%240992fe20%241cb8fa60%24%40gmail.com.
Vic-
Thanks for the articles. You clearly are way ahead of me on modeling solubility and already know of the challenges and alternative viewpoints. If you have any other questions on getting Copasi to do what you want feel free to email me.
Jim
From: copasi-u...@googlegroups.com <copasi-u...@googlegroups.com> On Behalf Of Vic Truesdale
Sent: Wednesday, July 25, 2018 12:23 PM
To: copasi-u...@googlegroups.com
Subject: Re: [copasi-user-forum] Some help with elementary set-up in Copasi
Thanks Jim; I'll start to try that right now. You state 'the syntax for species, globals etc. is a bit tricky so I find it much easier to use the Copasi button'. Sounds to me that I need to use the Copasi button - that's the one to the right of the definition window - yes? I take it then that if I press the Copasi button, something will open up in the definition window, and that will deal with the syntax.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-fo...@googlegroups.com.
To post to this group, send email to copasi-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/CAF%3D4GRgBj3bb6y%3DmQ4OnLX%2Bpn-4MFU9hGDRWvMuRjBr8kegQYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-fo...@googlegroups.com.
To post to this group, send email to copasi-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/179b01d422a8%243d435520%24b7c9ff60%24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-fo...@googlegroups.com.
To post to this group, send email to copasi-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/CAF%3D4GRhzix1QQuxkSEWsUgcgXXBR2xb%2BWJHRhv2DTj%3DGonYmGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-fo...@googlegroups.com.
To post to this group, send email to copasi-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/1965901d42432%240992fe20%241cb8fa60%24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "COPASI User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copasi-user-fo...@googlegroups.com.
To post to this group, send email to copasi-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copasi-user-forum/CAF%3D4GRi9KKEj_U1_Jp30ob8jQCxt82CLcNRJbs5ODt5%2B2iuKiQ%40mail.gmail.com.