[
https://issues.apache.org/jira/browse/QUARKS-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205336#comment-15205336
]
Queenie Ma commented on QUARKS-36:
----------------------------------
Yes, I believe that is the idea. I will update this issue to reflect the change.
Some thoughts on use cases:
*Apply different processing against a single stream*
Suppose a package delivery company would like to monitor the gas mileage of
their delivery trucks using embedded sensors. They would like to apply
different analytics to the sensor data that can be used to make more informed
business decisions. For instance, if a truck is reporting consistently poor
mileage readings, the company might want to consider replacing that truck to
save on gas costs.
In this instance, we can apply different processing against the stream of
mileage readings from the sensor and generate warnings when poor gas mileage is
detected.
*Detect a sensor value out of expected range*
Suppose a corn grower in the Midwestern United States would like to monitor the
average temperature in his corn field using a sensor to improve his crop yield.
The optimal temperatures for corn growth during daylight hours ranges between
77°F and 91°F. When the grower is alerted of a temperature value that is not in
the optimal range, he may want to assess what can be done to mitigate the
effect.
In this case, we can use a filter to detect out-of-range temperature values. A
simple filter can be used to obtain temperatures that are strictly outside the
optimal range. Alternatively, a deadband filter can be used to glean more
information about temperature changes, such as extracting the in-range
temperature immediately after a reported out-of-range temperature. For example,
large temperature fluctuations could be investigated more thoroughly.
> Recipe creation for "Re-using a stream" and "Detect a sensor value out of
> expected range"
> -----------------------------------------------------------------------------------------
>
> Key: QUARKS-36
> URL: https://issues.apache.org/jira/browse/QUARKS-36
> Project: Quarks
> Issue Type: Improvement
> Components: Documentation
> Reporter: Queenie Ma
> Priority: Minor
> Labels: documentation, enhancement, recipes
>
> I will write up two recipes for:
> * Re-using a stream
> * Detect a sensor value out of expected range
> ** simple filtering
> ** deadband filter
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)