Theoretical investigations and modelling of complex inorganic systems