The mathematical modelling of the absorption refrigeration machines used in energy systems