Skip to main content

Data-driven Foundation Models for fleet-level system performance prediction using spatiotemporal graph neural networks.

Project description

ddDT-GFM

Generalized graph foundation models as versatile data-driven digital twins for complex technological systems

PyPI version Python versions Documentation Status License: BSD-2-Clause

Installation

pip install ddDT-GFM

The models and dataloaders additionally depend on the PyTorch Geometric stack (torch_geometric, torch_sparse, torch-spatiotemporal), which often needs wheels matched to your torch/CUDA build. Install those via the optional extra:

pip install "ddDT-GFM[full]"

See the documentation for details.

Abstract

Digital twins are comprised of computational models that mimic the 'as built' characteristics of devices, systems, and networks of systems whose performance in the real world warrants quantitative and critical assessment. The literature on constructing digital twins is historically focused around task-specific, physics-based models that seek to understand the device from first principles, thereby constructing an idealized understanding of the system. However, these ``empirical digital twins" (eDT) can be quite difficult to construct, as the level of detail required to accurately model the complex physics of many devices is often missing or expensive to obtain, especially for systems with widespread deployment. Additionally, eDTs generally assume the device is working as intended; in practice, many systems experience some form of derating or degradation that causes them to operate off-specification. As it is often the goal of a digital twin model to quantify these departures from the idealized system, it is quite difficult to separate derated assumptions from the expected model output. In contrast, data-driven digital twins (ddDT) seek to model the system as it actually is based on real observations about the device in question. Additionally, ddDTs generally utilize a flexible model architecture (typically an artificial neural network) to avoid injecting implicit bias into the system. This flexibility also lends itself to another advantage: modularity. Digital twins are often utilized to answer multiple different questions about the system. With a ddDT, it is possible to train the model in a self-supervised manner via a reconstruction objective in order to obtain an encoder module. This module can then be used as a Foundation Model (FM) for different tasks without either constructing a entirely new task-specific eDT or training another ddDT from scratch. This work presents a unified pipeline for constructing data-driven Foundation Models for three exemplifying cases: solar photovoltaic fleets, direct ink write additive manufacturing, and laser powder bed fusion. Although these three systems are conceptually very different, the presented Foundation Model utilizes the flexibility of spatiotemporal graph neural networks (st-GNNs) to apply the same methodology to each case, allowing scientists to focus on their scientific objectives rather than troubleshooting a overwhelmingly detailed modeling pipeline.

Downloading data

You can download the data used in this work from OSF with the util module of this package. For example, to download a PV site:

from dddt_gfm.util.io import OSF_download
OSF_download(0, 'downloaded_test.csv', './')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dddt_gfm-0.1.2.tar.gz (67.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dddt_gfm-0.1.2-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

Details for the file dddt_gfm-0.1.2.tar.gz.

File metadata

  • Download URL: dddt_gfm-0.1.2.tar.gz
  • Upload date:
  • Size: 67.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dddt_gfm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5d343c83214f1d271b2e219b0907a7326883753fd4f0f20af71e179cb13c064d
MD5 03f1dfeefedee02e1e58c4b19082e293
BLAKE2b-256 c0383b4b4e95f399d53eff826d22217f2bb3fd71202cd3dca133ea1a6dd5ee9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dddt_gfm-0.1.2.tar.gz:

Publisher: publish.yml on cwru-sdle/ddDT-GFM

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dddt_gfm-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dddt_gfm-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 48.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dddt_gfm-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5856fc9ff2bdc838c60f83a6ca38302c848f87ec721b039f2baa2ae768c9350
MD5 cb6cd48721059d423c382727832764b5
BLAKE2b-256 2309ea6f8e9e1a7c22ae16128b30c4c183bade1b8e2084edd766dec3a33579ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for dddt_gfm-0.1.2-py3-none-any.whl:

Publisher: publish.yml on cwru-sdle/ddDT-GFM

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page