For UNL2004DA, would you have an Internal diode model for the clamping diode between the collector and emitter that could be used for simulations? If not, do you have the forward voltage for the low current draws (i.e. 10mA)? The datasheet has a typical of 1.7V for forward voltage but its not clear at what current this happens.