electricity model controller