The density and temperature profiles in the solar corona are complex to describe, the observational diagnostics is not easy. Here we present a physics-based model to reconstruct the evolution of the electron density and temperature in the solar corona based on the configuration of the magnetic field imprinted on the solar surface. The structure of the coronal magnetic field is estimated from Potential Field Source Surface (PFSS) based on magnetic field from both observational synoptic charts and a magnetic flux transport model. We use an emission model based on the ionization equilibrium and coronal abundances from CHIANTI atomic database 8.0. The preliminary results are discussed in details.