# US 2021/0081585 A1 · Method for event-based simulation of a system

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

- Number: US 2021/0081585 A1
- Document ID: US20210081585A1
- Status: Published application
- Kind: A1
- Application number: 16/950,422
- Filed: 2020-11-17
- Published: 2021-03-18
- Earliest claimed: 2018-05-17
- Assignees: dSPACE digital signal processing and control engineering GmbH
- Applicants: dSPACE digital signal processing and control engineering GmbH
- Inventors: Stephan SCHEDLER
- Web page: https://patentgrep.com/patent/US20210081585A1

## CPC

- G06F 30/20: Design optimisation, verification or simulation (optimisation, verification or simulation of circuit designs G06F30/30)
- G06F 1/04: Generating or distributing clock signals or signals derived directly therefrom
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/468: {Specific access rights for resources, e.g. using capability register}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 13/38: Information transfer, e.g. on bus (G06F13/14 takes precedence)
- H04L 12/40: Bus networks
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- G06F 2111/02: CAD in a network environment, e.g. collaborative CAD or distributed simulation
- G06F 2111/10: Numerical modelling
- G06F 2213/0058: Bus-related hardware virtualisation
- G06F 2213/40: Bus coupling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for event-based simulation of a system, the simulation comprising a first computing unit and at least one second computing unit, the first computing unit has a simulation time, the second processor has an operating system layer and an application layer. The second computing unit has a system time in the operating system layer, with at least the second computing unit executing a simulation application. At least one simulation object is executable on the simulation application, and the first computing unit manages an event queue, with at least one event per simulation step being listed in the event queue. The event is associated with a process to be executed by the simulation object and a simulation time provided for execution of the process.

## Claims

### Claim 1

A method for event-based simulation of a system, the method comprising:
providing a computer system to perform the simulation, the computer system comprising a first computing unit and at least one second computing unit, the first computing unit having a simulation time, the second computing unit having an operating system layer and an application layer, the second computing unit having a system time in the operating system layer;
performing, via the second computing unit, a simulation application, at least one simulation object being executed on the simulation application; and
managing, via the first computing unit, an event queue, wherein in the event queue at least one event is listed for each simulation step, and the at least one event is associated with a process to be executed via the simulation object and with a simulation time point provided for the execution of the process;
providing the second computing unit with a virtual clock generator;
transmitting, via the first computing unit, a start signal to the virtual clock generator for executing the next simulation step in the second computing unit;
incrementing, based on a time difference between a past simulation step and the simulation time, the system time of the second computing unit; and
executing the upcoming process at the simulation time point associated with the process.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the time difference between the past simulation step and the simulation time is calculated by the first computing unit and is transmitted to the second computing unit with the start signal.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the simulation time is transmitted by the first computing unit with the start signal to the second computing unit and the second computing unit calculates the time difference between the past simulation step and the simulation time.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the first computing unit has a first network interface and the second computing unit has a second network interface, wherein the first and second network interfaces are interconnected via a bus system, and wherein the transmission of the start signal takes place via the network interface and the bus system.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the simulation objects are executed on the same operating system as the associated simulation application.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the simulation objects are executed in a closed environment, wherein the simulation objects in the closed environment are granted access to a first set of hardware resources of the computing unit associated with the simulation application, and wherein the first set of hardware resources are defined by the simulation application.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the simulation objects in the closed environment are denied access to a second set of hardware resources of the computing units associated with the simulation application.

### Claim 8 (depends on 5)

The method according to claim 5, wherein at least two of the simulation objects each have a virtual network interface, wherein the virtual network interface is able to receive or send calculation results via a virtual bus system.

### Claim 9 (depends on 5)

The method according to claim 5, wherein at least one of the simulation objects on the first or second computing unit is a virtual control device.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the calculation results is sent from the virtual network interface of a first computing unit via a network tunnel to the virtual network interface of a second computing unit.

### Claim 11 (depends on 5)

The method according to claim 5, wherein the computing units are physical computing nodes.

### Claim 12 (depends on 7)

The method according to claim 7, wherein at least one computing unit is a virtual computing node, the operating system of the respective computing unit being executed by a hypervisor.

### Claim 13 (depends on 1)

The method according to claim 1, wherein the virtual clock generator is implemented in the application level.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the virtual clock generator is implemented at the operating system level.
