# Difference between revisions of "Rayleigh model"

Rayleigh distillation model describes the evolution of a multiple-phases system in which one phase is continuously removed to the other phase through fractional distillation. Despite its simplicity, it is a powerful framework to describe in particular the isotopic enrichment or depletion as material moves between reservoirs in an equilibrium process.

## Model description

The system applying the Rayleigh equation is normally an open system from which the formed material is immediately removed. For example, the evaporation of the natural water bodies, and the formation of falling precipiation can be regarded as open systems. However, the Rayleigh equation can be also applied to other systems. One such system is a closed system (or two-phase equilibrium model; \cite{Gat1996}), where the material removed from one reservoir accumulates in a second reservoir in such a manner that isotopic equilibrium is maintained between the two reservoirs (Fig.~\ref{fig:Rayleigh_box}c). An example would be the condensation of vapour to droplets in a cloud (with no falling precipitation).

The isotopic enrichment or depletion by the Rayleigh process for both open and closed systems can be mathematically established by different approaches (Fig.~\ref{fig:Rayleigh_box}).

Item Quantity Price
Bread 0.3 kg $0.65 Butter 0.125 kg$1.25

## Model description codes in MATLAB

### Rayleigh evaporation




### Rayleigh condensation




## Example of usage

The mergetime command will create one new output file with a common time axis. Therefore, all inputfiles must have a common time axis, and the same variables, essentially they must have the same netcdf file format.

Here is an example for how to create a monthly file from the daily TPS-3100 (Hotplate) data files: