Page 1 of 1

sub-sub-submodekls

Posted: Thu Oct 07, 2021 12:06 pm
by LAUJJL
Is it possible to have multiple levels of sub models?

Re: sub-sub-submodekls

Posted: Thu Oct 07, 2021 1:28 pm
by Administrator
Not yet. What you can do is add any sub-sub models to the parent model.

Re: sub-sub-submodekls

Posted: Thu Oct 07, 2021 1:55 pm
by LAUJJL
One of the main interests (at least for me) is to split a big model into smaller ones to make it easier to test them. Unfortunately, you can only test the sub-models mathematically, testing that there is no equation error. The problem comes from the necessity to find a value for some variables that have become constants in the sub-model and that value can be incoherent with the values given to some parameters that can normally influence the variable in another sub-model or in the main model. Forcing values to constants that are normally variables will generate behaviours that are impossible to predict and are probably unrealistic. In my model it was possible to avoid that pitfall by building multiple sub-models to make sure that when simulating any sub-models, it was never necessary to change a variable into a constant, being always calculated in the sub-model or in a sub-sub-model. To resume sub-models may influence parents but parents do not influence sub-models. The influence must be upward. JJ