question

Paulina B6 avatar image
0 Likes"
Paulina B6 asked Andrew O commented

Report by time intervals

Good morning, I want to consult:


1. Is it possible to generate a report with time intervals every 30 minutes?

2. How is it done?

FlexSim 22.2.1
statistics and reports
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sebastián Cañas avatar image
0 Likes"
Sebastián Cañas answered

@Paulina B6 ,

Para hacer ese reporte puedes usar un Recolector de Estadísticas usando un Timer Event que se repita cada 30 minutos. Lo más importante es que al diseñar la columna, selecciones los valores que necesitas en ellas: estadísticas de contenido (min, max), entradas, salidas, etc. Para que logres cumplir esto te recomiendo lo siguiente:

  • Busca en el manual de usuario toda la información sobre Herramientas Estadísticas Avanzadas y Recolectores de Estadísticas.
  • Realiza los tutoriales de Recolectores de Estadísticas del manual de usuario para que te familiarices con la herramienta.
  • Entiende cómo referenciar las estadísticas de un objeto 3D mediante FlexScript, porque va a ser necesario al momento de crear el Recolector de Estadísticas. Este enlace del manual de usuario te puede ayudar.
  • Experimenta, prueba y vuelve a probar hasta que tengas algún avance. Si necesitas más apoyo (no necesariamente para que alguien haga esta tarea por ti) puedes comentar en este pregunta o crear una nueva.
  • Haz una búsqueda más profunda en este Foro, estoy seguro que hay otras personas que han preguntado cosas similares o hay preguntas que te pueden dar una noción.

Adjunto te envío un modelo de ejemplo para que tengas una idea de cómo iniciar.

Ejemplo_SC.fsm

Translation:

To make this report you can use a Statistics Collector using a Timer Event that repeats every 30 minutes. The most important thing is that when you design the column, you select the values you need in them: content statistics (min, max), inputs, outputs, etc. To achieve this, I recommend the following:

  • Look in the user's manual for all the information about Advanced Statistics Tools and Statistics Collectors.
  • Go through the Statistics Collector tutorials in the user manual to familiarize yourself with the tool.
  • Understand how to reference the statistics of a 3D object using FlexScript, because it will be necessary when creating the Statistics Collector. This link to the user manual may help you.
  • Experiment, test and test again until you have some progress. If you need more support (not necessarily for someone to do this task for you) you can comment on this question or create a new one.
  • Do a deeper search in this forum, I am sure there are other people who have asked similar questions or there are questions that can give you an idea.

Attached is a demo model to give you an idea of how to get started.


ejemplo-sc.fsm (622.4 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

Try an user event.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.