Text this: Synthesis of an off-grid solar thermal cogeneration and intelligent smartgrid control system for rural applications