Simulation Ions in water (abstract model)
Ions in water may show strange behavior due to their hydration shell.
This is a early draft using current web technologies with a python back end to calculate the first mineral nucleus.
The scientific side is described in my blog post
I welcome any ideas to this project, please post them in my blog.
Choose Parameter and click calculate. The effects are obvious in the threshold graph:
Plot Calculated Data
In this little simulation a random number is generated and compared to a threshold.
Ions are added or removed from the cluster,
depending whether the random number is above or below the threshold.
The threshold changes with the time (=loops).
Try plotting a second time if it doesn't work the first time (press "clear all", then "plot data")
The tool plotting the data is called JSXGraph and was developed by the
Universty of Bayreuth.
The threshold function is a sum of three functions:
x2 *w +
+ ln x *(2-w) +
+ sin x *u
These functions are summed up and normalized to 1.
The dominance of each function can be adjusted with the simulation parameters,
e. g.: w is the damping weight, u is the sinus amplitude.