Transient obscuration event captured in NGC3227. III. Photoionization modeling of the X-ray obscuration event in 2019