Cancel
Showing results for 
Search instead for 
Did you mean: 

mus in buffer

Valued Contributor
Valued Contributor

there are many mus in a buffer ,if someone has the attribute "1",then the mu leave firstly ,how can I do it

3 REPLIES

Re: mus in buffer

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
have a look in the sorter (see help)
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: mus in buffer

Valued Contributor
Valued Contributor

@Steffen_B

there is not a sample in plant 13, can you give me a sample that  if a mu has attribute "1" then it leave firstly(namely move it to the first position) thank you  very much

Re: mus in buffer

Legend
Legend

Use a 'Sorter' object with the settings as shown in the figure. Enter the name of your attribute in place of 'myAttribute'. Make sure to set the order to ascending(This is assuming that no value of attribute is less than 1).

 

Again, go to Plant Simulation Help  and try to read the topics Sorter and Sorting Criterion. That should help.

 

Unbenannt.PNG