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

Optionally also install optimization algorithms (SBArchOpt):

pip install adsg-core[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.4.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.4.1
File Size Uploaded
adsg_core-1.4.1.tar.gz 150.7 kB Details

Built distribution (wheel)

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

Total release size: 345.0 kB

Release files / adsg_core-1.4.1.tar.gz

Download URL adsg_core-1.4.1.tar.gz
Size 150.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0feba4be54323df9ebd01dba84d9d76fbaac179bbccd2fe271c7ae39936d66b0
BLAKE2b-256 checksum
How to use checksums
d490946961d61c5771babeb943662200551ff911a43cd2e8f26383c8f9caa093
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.4.1-py3-none-any.whl

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

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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