Mastering Thermal Management in Flex PCB and Rigid PCB Design