Create a phase substance vector, unset phase element are set to 0
function createPhaseSubstanceVector input String[:] phaseId = {"Liquid", "Vapor"} "Phase id vector"; input Real[size(phaseId, 1)] phaseValues = {50, 50} "Values for each phaseId element"; output Real[nP] phaseVector; end createPhaseSubstanceVector;