As you know biological treatment process is very unstable and its reliability in the best of the cases is not higher than 65%.
pH and temp are key factors with direct influence in water treatment but most in wastewater, so are missing more data to supply.
I suggest you our ionic process with reliability is ~95% to solve since root your problem which doesn't have critical parameters from pH neither temp while saving money.
I would check the DO night vs day. I had a problem at night not enough loading and DO shot right up the high DO and polymer made the tank work like a DAF
Can you check the pH of the feed water during day & night time. There might be a variation in pH due to presence of algae. Temperature could be the another reason for difference in performance.
is there a big difference of ther water temperature during day-time and during the night ?
a lower temperature means that the reaction time of the flocculant will become longer = it needs more time to coagulate the flocs , add some extra lengths of piping to have a longer retention time that allows the flocculant to ract properly
sampling the wastewater and store in the Lab., and check the different between the sample in Lab. and the wastewater in the plant, is other wastewater into the plant in the night?
sorry, but you might sampling the MLSS and store in the Lab, and check the different between Lab and plant, you might also check the SV30 of your samples.
I would also consider diurnal oxygen content. If oxygen deficiencies are being experienced overnight, this could create toxic shock, as well as off-gassing with anoxic / anaerobic processes. Generally experienced in wastewater, but not unheard of in water treatment. More info as Paul suggest would help.