Text this: X-Ray Radiative Transfer Calculation Based on a Physics-based Model of the Subparsec-scale Gases around an Active Galactic Nucleus and Its Application to NGC 3783