Effectiveness of heating and cooling is considerably diminished when a vehicle opens all its doors every few minutes.
The transport authority of the city I grew up in tried to solve this problem by setting the temperature to a cool 18°C - you could catch a cold from taking a longer trip via tram in the middle of summer.
As for ride comfort: there isn't much you can do against people drinking alcohol, having their phone on speaker or just urinating in the middle.