A stability analysis of ventilated boiling channels