Is it correct that bindStandardStatistics is always called, even when I am not explicitly invoking FlexSimEventHandler's bindStatistics from my own class?
I overrode bindStatistics without calling the base class's version, re-initializing e.g. stat_input to a different type of tracked variable, but once the reset completes I still end up with a cumulative variable.
My bindStatistics looks as follows:
void MyClass::bindStatistics() { if( objectexists( node_b_stats_input ) && getdatatype( node_b_stats_input ) == DATATYPE_SIMPLE ) { bindStatisticByName( "stats_input", node_b_stats_input, "Input", STAT_TYPE_KINETIC_LEVEL ); } }
and I checked that the line with bindStatisticByName is reached.