VILLASframework
Modular co-simulation framework
|
The limit_rate
hook discards samples in order to limit the sample rate to a certain rate. The decission whether a sample is discarded or not is based on its timestamp.
The source code of the hook is available here: https://git.rwth-aachen.de/acs/public/villas/node/blob/master/lib/hooks/limit_rate.cpp