Influence of thermohydraulic irreversibilities on the efficiency of high temperature superconducting (HTS) cables