A constant pressure model for the warm absorber in Mrk 509
We present the analysis of 900 ks high-resolution RGS XMM-Newton observations of the nearby Seyfert galaxy Mrk 509 with the use of a self-consistent warm absorber (WA) model. We perform a physically motivated approach to the modeling of WA as a stratified medium in constant total pressure (CTP) regime. Powerful outflows are fundamental ingredients of any active galactic nuclei (AGN) structure. They may significantly affect the cosmological environment of their host galaxy. High-resolution X-ray data are best suited for outflow's studies, and the observed absorption lines on heavy elements are evidence of the physical properties of an absorbing gas. Our models allow us to fit continuum shapes bounded together with the line profiles, which gives additional constraints on the gas structure of WA in this source. In this work, we benchmark and test the CTP model on the soft X-ray spectrum of Mrk 509. A grid of synthetic absorbed spectra was computed with the photoionization code Titan assuming that the system was under CTP. As an illuminating spectral energy distribution (SED), we used the most actual multiwavelength observations available for Mrk 509. We apply these models to the high-resolution spectrum of the WA in the Mrk 509, taking into account cold/warm/hot Galactic absorption on the way to the observer. CTP gas with $\log ξ_{0} \sim 1.9$, defined on the cloud surface, fits the data well. A higher ionization component is needed for Ne X absorption. The best-fit model is optically thin with $\log N_{\rm H }= 20.456 \pm 0.016$. The lines are non-saturated, and the CTP spectral fit aligns with previous analyses of Mrk 509 with a constant density WA. The model constrains the gas density, placing the WA cloud at 0.02 pc, consistent with the inner broad line region and the thickening region of the accretion disk.