Hi everyone,
I'm trying to implement a BarGauge to visualize the progress of each individual entity being processed by an EntityProcessor, rather than the cumulative 'WorkingTime'.
I've tried several expressions in the DataSource field, but I keep encountering syntax errors such as:
'Left operand must be a number'
'Invalid unit returned by an expression (Received: TimeUnit, expected: DimensionlessUnit)'
Currently, the only expression that didn't return an error was [EntityProcessor1].WorkingTime / [EntityProcessor1].ServiceTime, but this shows the overall simulation progress instead of resetting for each new entity.
I have already tried converting units (e.g., ... / 1[s]), but the 'left operand' error persists. My ServiceTime is set to 10 s.
What is the correct syntax to calculate the progress of the current entity only?
Thanks in advance!"
Este e-mail foi enviado por um ALUNO da Universidade Federal de Ouro Preto e não reflete a posição da Instituição. --
You received this message because you are subscribed to the Google Groups "JaamSim Users Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaamsim-user...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/jaamsim-users/968cdba3-6604-472d-b086-7309d9563b61n%40googlegroups.com.