Arena - Continuous Equations with Detect block
Hello,
I have a problem with the model I'm constructing. I insert the differential equations in VBA but I don't know how I can specify that the equations only apply to entities which are being processed and not the ones that are, for example, in the queue.
I tried inserting another vba block between the queue and the process to assign a boolean to see if the entity is loaded or not but if I state that this must be true in my ContinuousEquations block, the Detect block in my model doesn't recognize the levels (which are cleary crossed) anymore.
Anybody got some useful advice?
Cheers!
|