Hands-On Azure Digital Twins
eBook - ePub

Hands-On Azure Digital Twins

A practical guide to building distributed IoT solutions

  1. 446 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Hands-On Azure Digital Twins

A practical guide to building distributed IoT solutions

About this book

Build your own digital twin in no time!Key Features• Build and design simple to complex digital twins solutions• Create end-to-end solutions with Azure Digital Twins• Integrate the Azure Digital Twins service with other Azure services to provide even richer solutionsBook DescriptionIn today's world, clients are using more and more IoT sensors to monitor their business processes and assets. Think about collecting information such as pressure in an engine, the temperature, or a light switch being turned on or off in a room. The data collected can be used to create smart solutions for predicting future trends, creating simulations, and drawing insights using visualizations. This makes it beneficial for organizations to make digital twins, which are digital replicas of the real environment, to support these smart solutions. This book will help you understand the concept of digital twins and how it can be implemented using an Azure service called Azure Digital Twins. Starting with the requirements and installation of the Azure Digital Twins service, the book will explain the definition language used for modeling digital twins. From there, you'll go through each step of building digital twins using Azure Digital Twins and learn about the different SDKs and APIs and how to use them with several Azure services. Finally, you'll learn how digital twins can be used in practice with the help of several real-world scenarios.By the end of this book, you'll be confident in building and designing digital twins and integrating them with various Azure services.What you will learn• Understand the concept and architecture of Azure Digital Twins• Get to grips with installing and configuring the service and required tools• Understand the Digital Twin Definition Language (DTDL) and digital twin models• Explore the APIs and SDKs available to access the Azure Digital Twins services• Monitor, troubleshoot, and secure digital twins• Discover how to build, design, and integrate applications with various Azure services• Explore real-life scenarios with Azure Digital TwinsWho this book is forThis book is for Azure developers, Azure architects, and anyone who wants to learn more about how to implement IoT solutions using Azure Digital Twins and additional Azure services. Prior experience using the Azure Portal and a clear understanding of building applications using.NET will be helpful.

Trusted by 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Section 1: Azure Digital Twin Essentials

Our first section is all about understanding and learning the concept and architecture of a digital twin. We will be focusing on the Microsoft Azure Digital Twins service and how to set this up. All tools and services required to start building with the Microsoft Azure Digital Twins service will be explained and installed.
This part of the book comprises the following chapters:
  • Chapter 1, About Digital Twins
  • Chapter 2, Requirements and Installation

Chapter 1: About Digital Twins

This chapter will explore the concept of a Digital Twin. A Digital Twin is a virtual representation of the real world combined with real-world data. Digital Twins can be used for a variety of scenarios. Digital Twins can be used to visualize insights or to simulate real-life situations by using a virtual representation and real-life sensory data. Learning about Digital Twins allows you to build solutions around these scenarios.
In this chapter, we'll go through several scenarios to understand Digital Twin implementations. We'll look at Microsoft's Azure Digital Twins service and how it allows us to model a Digital Twin. We'll walk through the layout of the service and how it is incorporated into the model of a Digital Twin. Part of that is a global overview of the architecture, which includes the relationship to other Azure services. This is required to create an actual Digital Twin solution. We will finish with an overview of the available SDKs and APIs for using Azure Digital Twins to create your own Digital Twin solutions. The chapter contains a lot of introductions to different services and tools that will appear again in the following chapters.
In this chapter, we'll go through the following topics:
  • Understanding the concept of the Digital Twin
  • Exploring the Digital Twin environment
  • Looking at real-world applications
  • Azure Digital Twins
  • Understanding the components of Azure Digital Twins architecture
  • Exploring Azure Digital Twins APIs

Understanding the concept of a Digital Twin

You have probably heard someone talking about Digital Twins in the last few years. You could even say that it has been a buzzword for some time. But since 2019-2020, it's become more than just a buzzword. Organizations and people have started to understand the benefits of having a Digital Twin. There has even been a large increase in organizations that want to start and implement a Digital Twin.
But what is a Digital Twin? I get that question a lot. And every time it is difficult to come up with an answer that others will understand. And even referring to the definition on Wikipedia will not make it easy to understand. There are a lot of different definitions you can find online in articles and blog posts. To explain what a Digital Twin is requires a definition to start with followed by a more in-depth explanation of the definition itself. I use the following definition:
A Digital Twin is a digital replica of entities and their relationships in a reality
You may have noticed that this definition contains several terms: digital replica, entities, and reality. It becomes clearer when explaining each of them in more depth.

Digital replica

A digital replica is a way of storing several entities and their relationships in a specific model. Such a model is stored in a location according to your requirements and needs. An example could be a database or service. Each product on the market that is available to create a Digital Twin has its own way of storing the information that describes the model. That means that the digital replica can describe a real-life situation using definitions and parameters. Think of a machine and whether it is turned on or off. The digital replica would describe the machine and its state. But a digital replica could also be about a collection of machines and their relationships. Think of a machine that is creating a product and the machine that is packing the product. The packing machine requires products to pack anything. That relationship is also described in a digital replica.

Entities

Entities can be different things. An entity can be anything from a physical living being such as people to a physical non-living thing such as processes, machines, buildings, equipment, rooms, and devices. When we talk about physical, it means being physically part of the reality from which you create a digital replica. Each of these entities has a specific purpose within the model. An entity is described by its characteristics that are relevant to the model and what you try to achieve in your solution. An entity could be a temperature sensor installed in a room. The characteristics are then the location of that sensor, the temperature the sensor is measuring, and the notifications it is raising when the temperature gets too low or too high. The location in this case is the room where the sensor is located. That characteristic is a relationship to another entity called the room. All these characteristics when developing Digital Twins are described by properties and metadata.

Relationships

An important part of a Digital Twin is the way entities are related to each other. These relationships are important as they define the context in which the entities are depending on each other and are a part of the reality on which the model is based. A relationship itself defines a set of data based on how the relationship is defined between the entities. An example is the relationship between the temperature sensor and the room where it is installed. This relationship defines what the temperature is within the room. Business rules can be used to take certain actions based on entities and their underlying relationships. An example would be switching off the lights within the room when there is no movement for a pre-defined time. In that situation, the lights, motion sensor, and room are each an entity with underlying relationships.

Realities

Each entity is part of a reality. Normally the reality would be a part of the physical world around us, like the example of the temperature sensor in a room. In that case, we have an actual device, room, and building. But imagine a world that represents a theoretical reality. This could be a virtual, generated reality that acts as the source for the digital replica. An example would be a digital world created in virtual reality or even another Digital Twin.
You have just learned about the concept of Digital Twins and its elements. This is important since it will help you to understand how Digital Twins can be applied to different scenarios. In the next section, we will explore the different parts of the environment around a Digital Twin to implement Digital Twin solutions.

Exploring the Digital Twin environment

It is important to understand that we need to do more than just store a model of entities to use a Digital Twin. Using a Digital Twin requires us to bind information to our entities in the model and use some method of visualization to view the model and its outputs.
Figure 1.1 – High-level overview of a Digital Twin environment
Figure 1.1 – High-level overview of a Digital Twin environment
The model in Figure 1.1 shows a high-level overview of everything that is in some way used within a Digital Twin environment:
  • Entities – This part represents the entities from your reality. This is, for example, real-world assets, people, processes, and locations. Data that defines these entities is stored in some way in the Digital Twin.
  • Digital Twin – This is the digital replica model of the entities in the reality.
  • Input module – This part of the model provides data from entities into the Digital Twin model. In some situations, this is also used to dynamically generate the model-based structure of the entities. It depends heavily on actual data that flows from the entities being used in the r...

Table of contents

  1. Hands-On Azure Digital Twins
  2. Contributors
  3. About the author
  4. About the reviewer
  5. Preface
  6. Section 1: Azure Digital Twin Essentials
  7. Chapter 1: About Digital Twins
  8. Chapter 2: Requirements and Installation
  9. Section 2: Getting Started with Azure Digital Twins
  10. Chapter 3: Digital Twin Definition Model
  11. Chapter 4: Understanding Models
  12. Chapter 5: Model Elements
  13. Chapter 6: Creating Relationships between Azure Digital Twin Models
  14. Chapter 7: Querying Digital Twins
  15. Chapter 8: Building Models Using Ontologies
  16. Section 3: Digital Twins Advanced Techniques
  17. Chapter 9: APIs and SDKs
  18. Chapter 10: Building a Digital Twin Pipeline
  19. Chapter 11: Updating the Model
  20. Chapter 12: Event Routing
  21. Chapter 13: Setting up Azure Maps
  22. Chapter 14: Integrating Azure Maps
  23. Chapter 15: Monitoring and Troubleshooting
  24. Section 4: Digital Twin Implementations in Real-world Scenarios
  25. Chapter 16: Facility of the Future
  26. Chapter 17: Creating Digital Twins for Smart Building
  27. Chapter 18: Simulations Using a Digital Twin
  28. Assessments
  29. Other Books You May Enjoy

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Hands-On Azure Digital Twins by Alexander Meijers in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over 1.5 million books available in our catalogue for you to explore.