Vector parameters in SciLab Unit Operation?
Posted: 09 May 2020, 18:32
My question is regarding the input/output parameters in COCO custom models, e.g., SciLab or MATLAB CAPE-OPEN Unit Operations. Is there any way to define a parameter as a vector with its size being the number of components? For example, in a membrane module you may need to ask the user to enter permeance, which is defined per component and you don't know in advance how many components exist (so you don't know how many scalar parameters you should define).
As an alternative, is it possible to define such parameters as a new property in the thermo package (so it is automatically populated for every component)?
Any solution or workaround to this issue would be appreciated!
As an alternative, is it possible to define such parameters as a new property in the thermo package (so it is automatically populated for every component)?
Any solution or workaround to this issue would be appreciated!