Now that the event is created, we need to map the Properties of EdgeThing to the fields required to invoke an Analysis Job.
We'll start with the Inputs.
Map goalField to goalField in the same manner.
Now that the Inputs are mapped, we also want to map the Results.
Now that we've done the mapping from Foundation to Analytics, let's Enable the Analysis Event so that it can automatically generate and process Analysis Jobs.
Now that you have enabled the Analysis Event, the new data will be submitted to Analytics Manager whenever EdgeThing's s1_fb1 Property changes.
An Analysis Job will automatically run, with a predictive score sent back and stored in EdgeThing's Result_low_grease (Boolean) and Result_low_grease_mo (Number) Properties.
In this step, we'll confirm that the automatic analysis of information coming from remote devices is operational.
NOTE: You will see true or false, corresponding to either a low grease or no low grease condition.
Using this technology, you could create a paid customer service, where you offered to monitor remote engines, in return for automatically shutting them down before they experience catastrophic engine failure.
For that example implementation, you would utilize the EdgeThing.Result_low_grease BOOLEAN Property to trigger other actions.
For instance, you could create an Alert Event which would be triggered on a true reading.
You could then have a Subscription which paid attention to that Alert Event, and performed an action, such as sending an automatic shutdown command to the engine when it was experiencing a likely low grease event.
NOTE: We recommend that you return to the ThingWorx Composer Analytics > Analytics Manager > Analysis Events tab and Disable the Event prior to continuing. Since the simulator generates an Event every ~1 seconds, this can create a large number of Events, which can fill up your log.
Congratulations. You've completed the Manage an Engine Analytical Model guide.
In this guide you learned how to:
The next guide in the Vehicle Predictive Pre-Failure Detection with ThingWorx Platform
learning path is Engine Failure-Prediction GUI.
We recommend the following resources to continue your learning experience:
Capability Guide
Build | Implement Services, Events, and Subscriptions Guide |
If you have questions, issues, or need additional information, refer to:
Resource Link
Community | Developer Community Forum |
Support | Analytics Manager Help Center |