Solar power generation directly with generator