Modeling of dropwise condensation on flat surfaces