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.0

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.0
File Size Uploaded Provenance Actions
adsg_core-1.5.0.tar.gz 160.8 kB Without provenance Details for adsg_core-1.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 370.4 kB

Release files / adsg_core-1.5.0.tar.gz

Download URL adsg_core-1.5.0.tar.gz
Size 160.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cbe5bfd2fe1f87a18d04ae247941e9bc5de29877063161f0105ea784f39d4e58
BLAKE2b-256 checksum
How to use checksums
3305c1c80e1435f63190d8415d6dcb2a913002cbd4f0c8b1dd184d9d698afdff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

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

Security for adsg-core 1.5.0

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