Mosfet t model with output resistance