Analysis of semiconductor microlasers with an equilateral triangle resonator by rate equations