Merge Issue205 transformer loss in the Issue 204 thermal transformer model