Cancel
Showing results for 
Search instead for 
Did you mean: 

waituntil problem

Dear Community,

 

a very simple question but that i can't find solution though.

If i have a store with a capacity of 400 MUs but i need to fill it with less MUs, let's say 365, how can i arrange a waituntil statement like this?

 

waituntil (store.nummu=365) = true prio 1

...

 

what i need is to wait the store to be filled not completely but with a different amount of MUs, less of the store capacity, and then move them to a buffer.

I cant use store.full because, of course, it won't be full.

the condition is in brackets just to help understand; the question is how to do that.

Thanks for the help!

1 REPLY

Re: waituntil problem

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

waituntil requires a boolean result, like the if command

 

waituntil store.nummu >=365 prio 1

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net