Increasing global demand for fresh water is driving research and development of advanced desalination technologies. As a result, a detailed model of multiple e ect distillation (MED) is developed that is exible, simple to implement, and suitable for use in optimization of water and power cogeneration systems. The MED system is modeled in a modular method in which each of the subcomponents is modeled individually and then instantiated as necessary in order to piece together the complete plant model. Modular development allows for studying various MED con gurations (such as forward feed, parallel feed, etc.) with minimal code duplication. Through a parametric analysis, it is found that the present model compares very well with the simple model provided by El-Sayed and Silver while providing substantially more detail in regards to the various temperature pro les within the MED system. Further, the model is easier to implement than the detailed El-Dessouky model while relying on fewer assumptions.The increased detail of the model allows for proper sensitivities to key variables related to input, operating, and design conditions necessary for use in a cogeneration or hybrid system optimization process.