Optimal thermal power production by means of an equivalent electric circuit for a thermal network: The Savona Campus Smart Polygeneration Microgrid case