Programming daily fluctuations
I'm very new at this so I'd appreciate any feedback on the program below. My goal is to create daily temperature fluctuations in the tank to mimic what is happening in the wild (I want the ability to be able to input temperatures every hour; the room is maintained cool enough that no chillers are needed to decrease water temps). The approach I've come up with is to create 24 (!) virtual outlets, each on for an hour a day. Does this make sense? Any suggestions?
VIRTOUT_01
If Time 00:00 to 01:00 Then ON
VIRTOUT_02
If Time 01:00 to 02:00 Then ON
... and so on to VIRTOUT_24
then for HEATER_I4 (real heater outlet)
Fallback OFF
Set OFF
If VirtOutlet1 = ON Then ON
If Temp < 21.5 Then ON
If Temp > 22.5 Then OFF
If VirtOutlet2 = ON Then ON
If Temp < 22.5 Then ON
If Temp > 23.5 Then OFF
...
If VirtOutlet24 = ON Then ON
If Temp < 21.5 Then ON
If Temp > 22.5 Then OFF