Skip to content

StatsLogger Plugin

LuisePufahl edited this page Mar 22, 2018 · 1 revision

XML Tag Name

None

Short description

This plugin creates the output for the resource utilization. This output contains information and mainly statistics about the simulated processes with their instances and activities as well as the used resources.

Dependencies to other plugins

None

Collaborations

Output can be visualized with the scylla-ui.

Detailed description

To comprehend a simulation, we need an easy presentation of the results. The StatsLogger genereates a XML file with the most interesting data in it. This output file also represents the link between scylla and the scylla-ui and can also be used as an interface for other applications. The scheme for this output file:

<resourceUtilization>
    <configuration/>
    <processes>
        <process>
            <cost/>
            <time>
                <flow_time/>
                <effective/>
                <waiting/>
                <off_timetable/>
            </time>
            <instances>
                <instance>
                	<cost/>
                	<time/>
                </instance>
            </instances>
            <activities>
                <activity>
                    <id/>
                    <name/>
                    <cost/>
                    <time>
                        <duration/>
                        <waiting/>
                        <resources_idle/>
                    <time/>
                </activity>
            </activities>
        </process>
    </processes>
    <resources>
        <resource>
            <type/>
            <cost/>
            <time/>
        </resource>
    </resources>
</resourceUtilization>

This file contains collected data for the simulated processes with cost and time, their instances and activities. It also contains information about the resources. To understand the meaning of the different 'cost' and 'time' elements, have a look at the KPI-Definitions. To enable a visualization through boxplot diagrams, the 'cost' and 'time' values have their own statistics-characteristics. That means for example, this file also contains data over all costs of process instances as shown below:

<cost>
    <min/>
    <max/>
    <median/>
    <Q1/>
    <Q3/>
    <avg/>
    <total/>
</cost>

By having statistics like these for all time and cost values, no calculation have to be made in a visualization tool.