We model an HIV/AIDS epidemic model with 12 compartments.
We obtain the basic reproductive number and four possible equilibria.
Dynamic behavior of the model is studied.
Parameters are chosen to fit the HIV/AIDS data in Yunnan.
The results are beneficial to the control of HIV/AIDS for Yunnan.