Three-junction device simulation model