The THERMOS code was used to calculate the properties of dense photoionized aluminum plasma. The case is based on an experiment carried out at the LCLS, where an aluminum film was irradiated with intense X-ray radiation with a photon energy of 1650 eV using a free-electron laser. The evolution of the aluminum plasma was considered, the populations of states and the emission spectrum were calculated. The main attention was paid to the study of the effects associated with nonstationarity and ionization potentials depression due to high density using collisional-radiative model.