Skip to main content

The Design Space Graph (ADSG Core)

Tests PyPI License Documentation Status

GitHub Repository | Documentation

The Design Space Graph (DSG) allows you to model design spaces using a directed graph that contains three types of architectural choices:

  • Selection choices (see example below): selecting among mutually-exclusive options, used for selecting which nodes are part of an architecture instance
  • Connection choices: connecting one or more source nodes to one or more target nodes, subject to connection constraints and optional node existence (due to selection choices)
  • Additional design variables: continuous or discrete, subject to optional existence (due to selection choices)

DSG with selection

Modeling a design space like this allows you to:

  • Model hierarchical relationships between choices, for example only activating a choice when another choice has some option selected, or restricting the available options for choices based on higher-up choices
  • Formulate the design space as an optimization problem that can be solved using numerical optimization algorithms
  • Generate architecture instances for a given design vector, automatically correct incorrect design variables, and get information about which design variables were active
  • Implement an evaluation function (architecture instance --> metrics) and run the optimization problem

Note: due to historical reasons the package and code refer to the ADSG (Architecture DSG), because originally it had been developed to model system architecture design spaces. In the context of this library, the ADSG and DSG can be considered to be equivalent.

Installation

First, create a conda environment (skip if you already have one):

conda create --name dsg python=3.12
conda activate dsg

Then install the package:

conda install numpy scipy~=1.9
pip install adsg-core

Ensure optimization algorithms are installed (SBArchOpt):

pip install sb-arch-opt

If you want to interact with the DSG from a Jupyter notebook:

pip install adsg-core[nb]
jupyter notebook

Documentation

Refer to the documentation for more background on the DSG and how to implement architecture optimization problems.

Examples

An example DSG with two selection choices:

DSG with selection

An example DSG with a connection choice:

DSG with connection

The DSG of the Apollo problem:

GNC DSG

The DSG of the GNC problem:

GNC DSG

Citing

If you use the DSG in your work, please cite it:

J.H. Bussemaker. System Architecture Optimization: Function-Based Modeling, Optimization Algorithms, and Multidisciplinary Evaluation. Dissertation, Delft University of Technology, July 2025. DOI: 10.4233/uuid:246b18f9-1f8c-4ff7-b824-2b1786cf9d14

Contributing

The project is coordinated by: Jasper Bussemaker (jasper.bussemaker at dlr.de)

If you find a bug or have a feature request, please file an issue using the Github issue tracker. If you require support for using the DSG or want to collaborate, feel free to contact me.

Contributions are appreciated too:

  • Fork the repository
  • Add your contributions to the fork
    • Update/add documentation
    • Add tests and make sure they pass (tests are run using pytest)
  • Read and sign the Contributor License Agreement (CLA) , and send it to the project coordinator
  • Issue a pull request into the dev branch

NOTE: Do NOT directly contribute to the adsg_core.optimization.assign_enc and .sel_choice_enc modules! Their development happens in separate repositories:

Use update_enc_repos.py to update the code in this repository.

Adding Documentation

pip install -r requirements-docs.txt
mkdocs serve

Refer to mkdocs and mkdocstrings documentation for more information.

Metadata

Release files for adsg-core 1.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adsg-core 1.5.1
File Size Uploaded Provenance Actions
adsg_core-1.5.1.tar.gz 160.9 kB Without provenance Details for adsg_core-1.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adsg-core 1.5.1
File Interpreter ABI Platform Actions
adsg_core-1.5.1-py3-none-any.whl Python 3 none any Details for adsg_core-1.5.1-py3-none-any.whl

Total release size: 370.4 kB

Release files / adsg_core-1.5.1.tar.gz

Download URL adsg_core-1.5.1.tar.gz
Size 160.9 kB
Tags Source
SHA-256 checksum
How to use checksums
793b184a02596b3a1a34029f983e35a8770a4a031a2229c828f0b0797fa40470
BLAKE2b-256 checksum
How to use checksums
1532b773f36b22cfbc0f8236735fa815ff2e6d782919a37836ba03ce2adb3ed5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / adsg_core-1.5.1-py3-none-any.whl

Download URL adsg_core-1.5.1-py3-none-any.whl
Size 209.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cb0e42448cf1c842f757829715d9018ebf6e8bf70f9bafa1713ae8b53607b73
BLAKE2b-256 checksum
How to use checksums
cccc7eb536fc22ed947768538be7069f939cc2c2fd4f8ad76c78f768fcaa9e8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for adsg-core 1.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page