function correspondingVolumesComputation input Integer Nw "Number of volumes"; input Integer Ntp(min = 1, max = 2) "Number of passes tube-side"; input Boolean inletTubeAtTop "Tube inlet at the top of heat exchanger"; input Boolean inletShellAtTop "Shell inlet at the top of heat exchanger"; output Integer correspondingVolumes[Nw]; end correspondingVolumesComputation;