Text this: Electronic structure and performance analysis of a pentagraphene based thermoelectric generator