Nonthermal heating in the two-fluid solar wind model