Modeling absorption in saturable absorbers