on 09-11-2019 3:18 AM
Hi,
Business scenario : If the vehicle is overspeeding only for 1 sec - then its not considered as overspeeding because the vehicle might just be overtaking another one.
However, if the vehicle is driving continiously at high speed - then its considered as overspeeding vehicle..
How can we configure the following rule : If the speed of the vehicle is more than 50km/ph for last 1 min -- then trigger a rule
I cant configure a streaming rule as it checks only only that instant value.
This may fit with with the scheduled rule - but we have a limitation.. The minimum window of aggregation is 2 min !!
So it is very much possible that the vehicle overspeeds for a good 90 seconds and then reduces the speed -- and then this event will never be detected !
Question :
Hi Varun,
You are right that the minimum window of aggregation is 2min and we can't reduce the aggregation period to less than 2 min due to performance concern.
You can configure the rule with this condition: If minimum of speed from the last 2 min is greater than 50km/h, then trigger the rule:
Condition in the rule UI: If <propertySetName>_aggregate.speed_MIN is greater than 50
Window: 2 min
Schedule: every 2 min
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Quoc,
Yes, the rule can be configured with the condition you mentioned ...
However, please note that it depends on business context and in some contexts - 2 min windo might be large enough where we may miss the required check...
For e.g. In the fleet management usecases, we may miss several overspeeding events if the vehicle returns back to normal speed in a 2 min window (which in this context is long enough).
We will inform the customer about this limitation and see if this solution is acceptable to the customer...
User | Count |
---|---|
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.