VILLASframework / node

Connecting real-time power grid simulation equipment
https://fein-aachen.org/projects/villas-node/
Apache License 2.0
13 stars 7 forks source link

Make all parameters in the stats consistent #116

Closed stv0g closed 1 year ago

stv0g commented 7 years ago

In GitLab by @ghost on Aug 30, 2017, 18:35

Is it possible to make all parameters consistent?

Total number of packets seems not to be consistent with the rate:

 14.659 Stats tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqwqqqqqqqqqqqqqqqk
    14.659 Stats x Path                                           x       Cnt (p) x       OWD (S) x    Rate (p/S) x      Drop (p) x      Skip (p) x
    14.659 Stats tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqu
    14.659 Stats x acs-rtds => [ inl-villas results ]             x         29311 x      0.000000 x   2011.356117 x             0 x             0 x
    14.659 Stats x inl-villas => acs-rtds                         x             0 x      0.000000 x           inf x             0 x             0 x
    15.004 Stats x acs-rtds => [ inl-villas results ]             x         30001 x      0.000000 x   2017.288160 x             0 x             0 x
    15.004 Stats x inl-villas => acs-rtds                         x             0 x      0.000000 x           inf x             0 x             0 x
    16.004 Stats x acs-rtds => [ inl-villas results ]             x         32001 x      0.000000 x   1959.163202 x             0 x             0 x
    16.004 Stats x inl-villas => acs-rtds                         x             0 x      0.000000 x           inf x             0 x             0 x
    17.004 Stats x acs-rtds => [ inl-villas results ]             x         34001 x      0.000000 x   2014.898157 x             0 x             0 x
    17.004 Stats x inl-villas => acs-rtds                         x             0 x      0.000000 x           inf x             0 x             0 x
    18.004 Stats x acs-rtds => [ inl-villas results ]             x         36000 x      0.000000 x   2003.534234 x             0 x             0 x
    18.004 Stats x inl-villas => acs-rtds                         x             0 x      0.000000 x           inf x             0 x             0 x

If not possible for this milestone, that is ok :)

Or, is the rate average rate or the rate for the last second?
Maybe I misunderstood the parameters.

stv0g commented 7 years ago

Hi Marija,

you are right this is confusing. For some stats we printed and average, for others the most current value.

I updated the output by adding both the last and the average values for one-way-delay (OWD) and the packet rate. Average values are calculated over the whole time and only resetted by a restart of VILLASnode or the simulators (sequence no must start with 0).

Screen_Shot_2017-08-30_at_19.54.48

stv0g commented 7 years ago

The fact that the "Rate last" stats are off is because I am making those tests on a virtual machine which has inherently bad realtime performance and therefore a lot of Jitter which is reflected in those deviations.

stv0g commented 7 years ago

Btw. Please let me know if there are other stats you are interested in

stv0g commented 7 years ago

closed via merge request !34

stv0g commented 7 years ago

closed via commit 0f3047cf97d3bfa13463e4e8b9301ee3f239643c

stv0g commented 7 years ago

mentioned in commit 0f3047cf97d3bfa13463e4e8b9301ee3f239643c