Automatic calculation of the fluxes.
Calculates the voltage across a liquid junction between two solutions
Status: Alpha
Brought to you by:
dbrogioli
Currently Jljp requires that the user provide the concentration of the solution on one side (c0) and the ion flux; based on this information, the program calculates the concentration on the other side (cL). Since the user knows cL, the user must adjust the flux in order to get the correct value cL, with a process of trials and errors. This process must be substituted by an automatic process of minimization of the error. The minimizer can be inspired by the MultiExpFit package.
Introduced in the version 2.0. However, three things are still not complete.
First: the Solver is too slow. Change it.
Second: the parsing of cdadc slows down even more the calculation, it must be
done once per calculation.
Third: since the calculation can be long, or even non-converging, we must add a button for stopping the calculation. In turn this requires that the thread making the calculation is saved somewhere.
Now the Solver uses three different methods: linear interpolation, random walk and long random jumps.
The symbolic calculation is done once per minimization. The button for stopping the calculation is done.