.C. Anthonisen, R.C. Loher, T.B.S. Prakasam, E.G. Srinath.Inhibition of nitrification by ammonia and nitrous acid. Journal – Water Pollution Control Federation, 48 (5) (1976), p. 835
Here, you can calculate NH3, then taking into account that TAN=NH3 + NH4+, you can obtain it.
pKa is 9.25 in pure water and need to be corrected for ionic-strength effects on the activity of ammonium ions. The Davis equation could be used to estimate activity coefficients at ionic strength lower than 0.5M.