Create a present phase vector, a vector with phase index corresponding to phaseId
function createPresentPhaseVector input String[:] phaseId = {"Liquid", "Vapor"} "Phase id vector"; output Integer[size(phaseId, 1)] presentPhaseVector "Integer vector containing index for corresponding phaseId"; end createPresentPhaseVector;