how does a thermal oil system work