Computer simulation and optimization of VOD treatment