Determination of thermodynamic parameters from light intensity signals obtained from oxygen optical sensors