Modeling of the mediterranean climate system