Heat water using the sun during the day, and use it during the cold night.
Use a solar panel to charge batteries during the day, and use the power at night.
A picture is needed to answer.
The secondary consumers will be able to survive, as well as decomposers, as they kill the primary consumers, which depends on the plants, and teaches them to their offspring