Modeling of ozonation