Re: What does it mean?

Pioneer
Pioneer

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.  

Highlighted

Re: What does it mean?

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hi LEE231,

 

 

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.

 

BR

Re: What does it mean?

Pioneer
Pioneer
exactly.

Re: What does it mean?

Pioneer
Pioneer

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?