cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Manage an Engine Analytical Model Part 2

No ratings

 

 

Step 6: Map Data

 

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.

 

  1. Select the previously-created Event, and click Map Data....

    12-meam-map-data.png

     

  2. Click Inputs Mapping.

    13-meam-inputs-mapping.png

     

  3. In Source Type, select Thing.
  4. In Source, search for and select EdgeThing.

    14-meam-source-edgething.png

     

  5. On the left, scroll down and select s1_fb1.

    • Note that you do NOT want the s1_fb1 that is part of the InfoTable Property, because the Info Table Property only stores recorded data, not live data.

  6. On the right, select _s1_fb1, the first frequency band required for the Model to make a prediction.

    15-meam-select-s1fb1.png

     

  7. Click the Map button in the center.

    16-meam-map-s1fb1.png

     

  8. Repeat this mapping process for for s1_fb2 through s1_fb5.

    17-meam-map-other-s1.png

     

  9. Map causalTechnique to causalTechnique in the same manner.
    • This is a String Property in EdgeThing with a Default Value of "FULL_RANGE".
  10. Map goalField to goalField in the same manner.

    • This is a String Property in EdgeThing with a Default Value of "low_grease".

    18-meam-map-causaltechnique-goalfield.png

     

Map Results

 

Now that the Inputs are mapped, we also want to map the Results.

 

  1. Click Results Mapping on the left.

    19-meam-results-mapping.png

     

  2. Map _low_grease to Result_low_grease.
  3. Map _low_grease_mo to Result_low_grease_mo.

    20-meam-map-low-grease-result.png

     

  4. Click Close to close the mapping pop-up.

 

Enable Event

 

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.

  1. Select the mapped Analysis Event.
  2. Select Enable.

    12-elpm-event-enabled.png

     

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.

 

 

Step 7: Check Jobs

 

In this step, we'll confirm that the automatic analysis of information coming from remote devices is operational.

 

  1. On the ThingWorx Composer Analytics tab, click Analytics Manager > Analysis Jobs.

    08-meamv92-analysis-jobs.png

     

  2. Uncheck Filter Completed Jobs.

    14-elpm-uncheck-filter.png

     

  3. Select a Job and click View....
  4. Click Results.

    09-meamv92-result-true.png

     

    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.

 

 

 

Step 8: Next Steps

 

Congratulations. You've completed the Manage an Engine Analytical Model guide.

In this guide you learned how to:

 

  • Define an Analysis Provider that uses the built-in Analytics Server Connector
  • Publish a Model from Analytics Builder to Manager
  • Create an Analysis Event which takes data from ThingWorx Foundation and decides whether or not a failure is likely

 

The next guide in the Vehicle Predictive Pre-Failure Detection with ThingWorx Platform

learning path is Engine Failure-Prediction GUI.

 

Learn More

 

We recommend the following resources to continue your learning experience:

 

 Capability     Guide
BuildImplement Services, Events, and Subscriptions Guide

 

Additional Resources

 

If you have questions, issues, or need additional information, refer to:

 

 Resource              Link
CommunityDeveloper Community Forum
SupportAnalytics Manager Help Center

 

 

 

Version history
Last update:
‎Mar 07, 2023 02:57 PM
Updated by:
Labels (2)
Contributors