And the error message "Could not allocate strage in CreateLinearSlineSpace" still comes up. I think it's because my submodel reads look-up table every each time step. If I have access to tforifzetaid, I can insert code which I want to insert without reading table many times. However, I can't.
The function SetUpZetaTable2_ can not be called in the calculation function of a submodel. It can be called during the initialization phase i.e. once only. This probably explains why the model runs out of memory.
You should probably try to contact the official hotline to ensure whether there is not an other way to model this kind of variable property.
Okay. You exaclty get the point of it.
I am trying to correct splineindex that is the result of SetupZetaTable2.
That is, I want to change orifice instance integer.
Could you explain me about the Orifice instance integer?