model "model2"

uses "mmjobs", ...........

..............

declarations

FisrtModel: Model

event: Event

end-declarations

compile("model1.mos")

load(FisrtModel, "model1.mos")

I have to compile one model (model1.mos) inside other model (model2.mos).

How can I guard the value of the first model to use it in the second model?

Thank you.

What we have is little bit different for yours, but I thought to share that knowledge.

We have only one .mos, but 4 (a, b, c, and d) different problems. Problem a gets

solved 1st and we use the results/variables (and some parameters) from Problem a in Problem b, c, and d.

Tauhid