# US 2024/0070345 A1 · Parallel emulation for controls testing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0070345 A1
- Document ID: US20240070345A1
- Status: Published application
- Kind: A1
- Application number: 17/823,155
- Filed: 2022-08-30
- Published: 2024-02-29
- Earliest claimed: 2022-08-30
- Assignees: Rockwell Automation Technologies, Inc.
- Applicants: Rockwell Automation Technologies, Inc.
- Inventors: Bernard Brooks
- Web page: https://patentgrep.com/patent/US20240070345A1

## CPC

- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 30/20: Design optimisation, verification or simulation (optimisation, verification or simulation of circuit designs G06F30/30)
- G05B 17/02: electric
- G05B 19/41885: {characterised by modeling, simulation of the manufacturing system}
- G05B 2219/32354: Divide, analyse process into subprocesses, until elementary unit operations
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

A control design and testing system simplifies the execution of parallelized control testing simulators using emulation techniques. The system is capable of emulating large and complex industrial systems using a combination of selective model partitioning, space parallel simulation, and co-simulation. According to this approach, a digital model of the industrial automation system is partitioned into sub-models such that inter-model logical relationships between the sub-models comprise only logical relationships that can tolerate a temporal error equal to or less than a duration, or timestep, of a co-simulation cycle. The sub-models are deployed to separate processing spaces, and the system uses co-simulation to execute a parallel emulation of the sub-models.

## Claims

### Claim 1

A system for emulating industrial automation systems, comprising:
a memory that stores executable components;
a processor, operatively coupled to the memory, that executes the executable components, the executable components comprising:
a partitioning component configured to partition a digital model of an industrial automation system into sub-models based on sub-model designation data that defines a partitioning of the digital model;
a model deployment component configured to deploy the sub-models to respective processing spaces; and
a simulation component configured to perform a parallel emulation of the sub-models on the respective processing spaces using co-simulation.

### Claim 2 (depends on 1)

The system of claim 1, further comprising a user interface component configured to render a graphical representation of the digital model and to receive the sub-model designation data via manual interaction with the graphical representation.

### Claim 3 (depends on 2)

The system of claim 2, wherein the sub-model designation data further defines, for each sub-model of the sub-models, an identity of a processing space, of the respective processing spaces, to which the sub-model is to be deployed.

### Claim 4 (depends on 1)

The system of claim 1, wherein the partitioning component is configured to generate the sub-model designation data based on an analysis of the digital model and a defined partitioning criterion.

### Claim 5 (depends on 4)

The system of claim 4, wherein the defined partitioning criterion specifies that the digital model is to be partitioned such that any simulated events that will be communicated between the sub-models in connection with the parallel emulation are tolerant of temporal errors equal to or less than a defined timestep of the co-simulation.

### Claim 6 (depends on 1)

The system of claim 1, wherein
the processing spaces execute emulations of the sub-models independently of one another in cycles defined by timesteps, and
for a cycle of the cycles, the simulation component
instructs the processing spaces to advance the emulations of the sub-models by a duration defined by the timestep,
in response to determining that all of the processing spaces have advanced the emulations by the duration defined by the timestep, synchronizes at least one simulated event generated by a first of the sub-models to a second of the sub-models, and
instructs the processing spaces to restart the emulations of the sub-models for a next timestep.

### Claim 7 (depends on 1)

The system of claim 1, wherein the executable components further comprise:
a node interface component configured to aggregate graphical data from the sub-models and simulation data generated by the processing spaces to yield unified presentation data; and
a user interface component configured to render, on a client device, an animated graphical representation of the industrial automation system based on the unified presentation data.

### Claim 8 (depends on 7)

The system of claim 7, wherein
the user interface component is configured to receive, during a current timestep of the parallel emulation, command input via interaction with the animated graphical representation, the command input representing a simulated user interaction with the industrial automation system, and
the simulation component is configured to synchronize the command input to one or more of the sub-models in response to determining that all of the processing spaces have advanced emulations of the sub-models to an end of the current timestep.

### Claim 9 (depends on 1)

The system of claim 1, wherein the processing spaces comprise separate hardware machines that reside on a common network, separate central processing units, or separate virtual machines that execute on a cloud platform.

### Claim 10

A method for emulating industrial automation systems, comprising:
delineating, by a system comprising a processor, a digital model of an industrial automation system into sub-models in accordance with sub-model designation data that defines a division of the digital model;
deploying, by the system, the sub-models to respective separate processing spaces; and
performing, by the system, a parallel emulation of the sub-models on the respective separate processing spaces using co-simulation.

### Claim 11 (depends on 10)

The method of claim 10, further comprising
rendering, by the system, a graphical representation of the digital model; and
receiving, by the system the sub-model designation data via manual interaction with the graphical representation.

### Claim 12 (depends on 11)

The method of claim 11, wherein the sub-model designation data further defines, for each sub-model of the sub-models, an identity of a processing space, of the respective separate processing spaces, to which the sub-model is to be deployed.

### Claim 13 (depends on 10)

The method of claim 10, wherein the delineating comprises generating the sub-model designation data based on an analysis of the digital model and a defined partitioning criterion.

### Claim 14 (depends on 10)

The method of claim 10, wherein the delineating comprises:
analyzing the digital model to identify logical relationships between modeled objects representing components of the industrial automation system;
determining a subset of the logical relationships that are tolerant of temporal errors equal to or less than a defined timestep of the co-simulation; and
delineating the digital model such that logical relationships between the sub-models comprise only logical relationships from the subset of the logical relationships.

### Claim 15 (depends on 10)

The method of claim 10, wherein the performing of the parallel emulation comprises:
executing, by the processing spaces, respective emulations of the sub-models independently of one another in cycles defined by timesteps, and
for a cycle of the cycles:
advancing, by the processing spaces, the respective emulations of the sub-models by a duration defined by the timestep,
in response to determining that all of the processing spaces have advanced the respective emulations by the duration defined by the timestep, synchronizing at least one simulated event generated by a first of the sub-models to a second of the sub-models, and
restarting the respective emulations of the sub-models for a next timestep.

### Claim 16 (depends on 10)

The method of claim 10, further comprising:
aggregating, by the system, graphical data obtained from the sub-models and simulation data generated by the processing spaces to yield unified presentation data; and
rendering, by the system on a client device, an animated graphical representation of the industrial automation system based on the unified presentation data.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
receiving, by the system during a current cycle of the parallel emulation defined by a timestep, command input via interaction with the animated graphical representation, the command input representing a simulated user interaction with the industrial automation system, and
synchronizing, by the system, the command input to one or more of the sub-models in response to determining that all of the processing spaces have completed the current cycle.

### Claim 18 (depends on 10)

The method of claim 10, wherein the processing spaces comprise separate hardware machines that reside on a common network, separate central processing units, or separate virtual machines that execute on a cloud platform.

### Claim 19

A non-transitory computer-readable medium having stored thereon instructions that, in response to execution, cause a system comprising a processor to perform operations, the operations comprising:
dividing a digital model of an industrial automation system into sub-models in accordance with sub-model designation data that defines a partitioning of the digital model;
deploying the sub-models to respective separate processing spaces; and
performing a parallel emulation of the sub-models on the respective separate processing spaces using co-simulation.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the dividing comprises:
analyzing the digital model to identify logical relationships between modeled objects representing components of the industrial automation system;
determining a subset of the logical relationships that are tolerant of temporal errors equal to or less than a duration of a cycle of the co-simulation; and
dividing the digital model such that inter-model logical relationships between the sub-models comprise only logical relationships from the subset of the logical relationships.
