Access related server attribute ..

18 views
Skip to first unread message

Stephan Eibl

unread,
Jan 7, 2026, 9:04:04 AM (11 days ago) Jan 7
to JaamSim Users Discussion Group

Dear Community,

I try to sort 3 servers to identify the server with the maximum utilization and further to get access to this server’s attribute variability.

Using the simulation Input Editor (Options – CustomOutputList), I defined 2 rows, one for the servers and one for indices.

·        { ServerList { [Server1], [Server2], [Server3] } }

·        { SortedIndices { 'sort(|i, j| [Simulation].ServerList(i).Utilisation > [Simulation].ServerList(j).Utilisation, range(size([Simulation].ServerList)))' } }

See attached screen shot-1screenshot-1.jpgscreenshot-2.png

The ideas was to get the following access:

·        Top Server Variability [Simulation].ServerList([Simulation].SortedIndices(1)).Variability

·        Top Server Utilisation [Simulation].ServerList([Simulation].SortedIndices(1)).Utilisation

Unfortunately, I got the following SYNTAX ERROR:

Expected an input with 2 or 3 value(s), received: SortedIndices  '{ '  sort(|i,  j|  [Simulation].ServerList(i).Utilization  >  [Simulation].ServerList(j).Utilisation,  range(size([Simulation].ServerList)))  ' }'

See the attached screen shot-2

Many thanks for any ideas or advice to fix it.

SE


Klaus Holstein

unread,
Jan 7, 2026, 10:01:16 AM (11 days ago) Jan 7
to jaamsi...@googlegroups.com
Hallo Herr Eibl,
können Sie die cfg Datei senden?
Besten Dank,
Klaus Holstein
Mit freundlichen Grüßen,
Klaus Holstein
Reply all
Reply to author
Forward
0 new messages