A Multi-Domain Thermal Model for Positive Displacement Machines