This Guidance provides a set of artifacts that will guide customers in building a production monitoring architecture with AWS IoT TwinMaker and supporting services. The artifacts in this Guidance provide sample demo projects, data simulators, and articles that offer support for using various feature sets within AWS IoT TwinMaker and AWS IoT SiteWise. With AWS IoT TwinMaker, customers can get a 3D model of their plant operations derived from computer-aided design (CAD) or reality capture models, such as Matterport. Using AWS IoT TwinMaker’s Knowledge Graph, customers can view relationships between industrial assets and operations.
The sample demo project in this repository is called the Brewery Manufacturing demo. It provides guidance on how to build a Production Monitoring solution in an Industrial setting where Plant Managers or Line Supervisors can have visibility to plant operations, alerts, and situational awareness to downtime in a 3D visualization. Operations can monitor and diagnose alarms in a 3D visualization that helps reduce the mean time to repair (MTTR) by enabling teams to quickly see potential causes from upstream or downstream operations in a manufacturing process. This reduction in time will improve customer’s ROI by reducing downtime in operations and optimizing the output of product manufactured.
You are responsible for the cost of the AWS services used while running this Guidance. As of November 2023, excluding free tiers, the cost for running this Guidance with the default settings in the US East (N. Virginia) is approximately $450 per month for data simulation, storage, computations, retrieval, and visualization. The cost may vary on usage and with the increase of data stored over time.
A large majority of this cost is in AWS IoT SiteWise. Modifying the amount of assets in simulation and frequency of which data is streamed can reduce this cost.
This deployment requires access to the following resources:
Example resources:
If there is an increase on the number of IoT SiteWise Assets, Models, and/or transactions per second, make sure that the appropriate limits are extended to support both IoT SiteWise and synchronized service, IoT TwinMaker.
This guidance supports the following regions:
This demo uses the Brewery SiteWise Simulator to build an Industrial Digital Twin in AWS IoT TwinMaker.
The diagram below is a view of the brewery material flow for the Irvine plant. The Brewery simulates production and consumption of items through the process below. This includes good production, scrap, and simulation of various utilization states. Telemetry data is also generated at the various operations for sensors like temperature, levels, and valve states. With the data produced by this simulation, metrics are calculated in the SiteWise Models for OEE (Utilization, Performance, and Quality).
An IoT TwinMaker Workspace is created and synchronized with the SiteWise models and assets. A set of Grafana dashboards and IoT TwinMaker scenes have been created that enables you to navigate across different equipment within the Irvine Plant to monitor performance metrics.
This high level plant view shows all the equipment in this simulated environment. Clicking on each Scene Tag will display the average KPI metrics (OEE, Performance, Quality, Utilization) for the time range of the dashboard. There is a data overlay on several assets that displays the latest State of the machine and a link to drill down into the dashboard for that asset.
As you drill down into an asset, such as the MashTun below, you will be presented with several types of data for that asset. This includes telemetry data, KPIs, and production order data such as lots, items, and utilization reasons. In addition, alerts have been configured in Grafana for the OEE (Overall Equipment Effectiveness) when it drops below 50%. Clicking on each Scene Tag will trend various properties on the right time-series trends.
The deployment of the demo is spread out over several cloudformation stacks. The first two stacks will deploy the data simulator and the rest will deploy the IoT TwinMaker Workspace, Grafana Dashboard server, and Dashboard role. Here is an architecture of the complete brewery demo environment:
Create Stack
.Create Stack
.NOTE: If this step fails, your EC2 instance may be receiving a forced reboot signal from Systems Manager for a patch before the script in user-data completes. Delete this failed stack and proceed to step 1.3b for a manual install.
Create Stack
.EC2 Instance Connect
, change the user name to root
, and click Connect
yum install -y git
git clone https://github.com/aws-solutions-library-samples/guidance-for-industrial-digital-twin-on-aws.git
cd guidance-for-industrial-digital-twin-on-aws/scripts/
sh install.sh
This guidance solution will run indefintely producing simulated data. If you are not using, be sure to perform a cleanup to stop billing. To access the system, just open the Grafana portal as instructed in the steps above.
This guidance provides a base framework from which you can build on top for your Industrial Solution. With this guidance, you can modify certain aspects of this system to be tailored to your environment. This may include the following:
To clean up, delete the following stacks in this order:
Customers are responsible for making their own independent assessment of the information in this Guidance. This Guidance: (a) is for informational purposes only, (b) represents AWS current product offerings and practices, which are subject to change without notice, and (c) does not create any commitments or assurances from AWS and its affiliates, suppliers or licensors. AWS products or services are provided “as is” without warranties, representations, or conditions of any kind, whether express or implied. AWS responsibilities and liabilities to its customers are controlled by AWS agreements, and this Guidance is not part of, nor does it modify, any agreement between AWS and its customers.