function phaseComposition input Integer phaseIndex "Phase index"; input Properties state; output Real Y[nC]; end phaseComposition;