Control system design and simulation for solar heated structures