Generalized Gross-Pitaevskii model for intersubband polariton lasing