function createPhaseFractionVector input String[:] phaseId = {"Liquid", "Vapor"} "Phase id vector"; input Real[size(phaseId, 1)] phaseValues = {0.5, 0.5} "Values for each phaseId element"; output Real[nP] phaseVector; end createPhaseFractionVector;