LLpha 18*Dpha3 "Lay length of main conductors (one period of twist, clockwise)" LLarm -15*Darm "Lay length of armor wires (one period of twist, counterclockwise)" CPcab 1/(1/LLpha-1/LLarm) "Cable cross pitch (one period of twist, phase wrt armor)" Nper 1/10 "Number of periods included in model (tuning parameter)" Tenab round(Nper)==Nper "Enable or disable twist: 1 or 0 (enabled when 'Nper' is an integer)" Lsec CPcab*Nper "Length of cable section included in model" Tsec 360[deg]*Tenab*Lsec/LLpha "Twist angle of cable section included in model" SCFpha if(Tenab,sqrt((2*pi*Dpha/sqrt(3))^2+LLpha^2)/abs(LLpha),1) "Slant correction factor, main conductors (enabled when 'Nper' is an integer)" SCFarm if(Tenab,sqrt((2*pi*Darm/2)^2+LLarm^2)/abs(LLarm),1) "Slant correction factor, armor wires (enabled when 'Nper' is an integer)" TCFp20 sqrt(pi/(5*(sqrt(5)-1)/2)) "Truncation correction factor, icosagon (phase)" TCFp16 sqrt(pi/(4*sqrt(2-sqrt(2)))) "Truncation correction factor, hexadecagon (armor)"