Electrothermal analysis of a twisted stacked YBCO cable-in-conduit conductor