Compartmental models are used for solving the problem of the control of dialysis therapy. The inadequacy of the existing monocompartmental model is faced, first with a careful analysis of the physiology of the system, then with a method focused on the construction of a new multicompartmental model. Moreover, impedance techniques allow us to solve the problem of measuring the total body water for each patient.