Phased array antenna system design, optimization, and performance visualization
Project description
phased-array-systems
Phased array antenna system design, optimization, and performance visualization for wireless communications and radar applications.
Documentation | Getting Started | API Reference
Why phased-array-systems?
- Model-Based Workflow: MBSE/MDAO approach from requirements through optimized designs
- Requirements-Driven: Every evaluation produces pass/fail with margins and traceability
- Trade-Space Exploration: DOE generation and Pareto analysis for systematic design exploration
- Dual Application: Supports both communications link budgets and radar detection scenarios
- Reproducible: Config-driven workflow with seed control and version stamping
Workflow
Config (YAML/JSON) → Architecture + Scenario → DOE Generation → Batch Evaluation
↓ ↓
Requirements ───────────────────────────────────────────→ Verification
↓
Reports ← Visualization ← Pareto Extraction ←──┘
Features
- Requirements as first-class objects: Every run produces pass/fail + margins with traceability
- Trade-space exploration: DOE + Pareto optimization over single-point designs
- Communications & Radar: Link budget analysis and radar detection modeling
- Flat metrics dictionary: All models return consistent
dict[str, float]for interchange - Config-driven reproducibility: Stable case IDs, seed control, version stamping
- CLI and Python API: Use from command line or integrate into scripts
Installation
pip install phased-array-systems
# Development dependencies
pip install phased-array-systems[dev]
# Visualization extras
pip install phased-array-systems[plotting]
Quick Start
Single Case Evaluation
from phased_array_systems.architecture import Architecture, ArrayConfig, RFChainConfig
from phased_array_systems.scenarios import CommsLinkScenario
from phased_array_systems.evaluate import evaluate_case
# Define architecture
arch = Architecture(
array=ArrayConfig(nx=8, ny=8, dx_lambda=0.5, dy_lambda=0.5),
rf=RFChainConfig(tx_power_w_per_elem=1.0, pa_efficiency=0.3),
)
# Define scenario
scenario = CommsLinkScenario(
freq_hz=10e9,
bandwidth_hz=10e6,
range_m=100e3,
required_snr_db=10.0,
)
# Evaluate
metrics = evaluate_case(arch, scenario)
print(f"EIRP: {metrics['eirp_dbw']:.1f} dBW")
print(f"Link Margin: {metrics['link_margin_db']:.1f} dB")
DOE Trade Study
from phased_array_systems.trades import DesignSpace, generate_doe, BatchRunner, extract_pareto
# Define design space
space = (
DesignSpace()
.add_variable("array.nx", "int", low=4, high=16)
.add_variable("array.ny", "int", low=4, high=16)
.add_variable("rf.tx_power_w_per_elem", "float", low=0.5, high=3.0)
)
# Generate DOE
doe = generate_doe(space, method="lhs", n_samples=100, seed=42)
# Run batch evaluation
runner = BatchRunner(scenario)
results = runner.run(doe)
# Extract Pareto frontier
pareto = extract_pareto(results, [
("cost_usd", "minimize"),
("eirp_dbw", "maximize"),
])
Examples
See the examples/ directory:
01_comms_single_case.py- Single case evaluation02_comms_doe_trade.py- Full DOE trade study workflow
Tutorial Notebook
Try the interactive tutorial in Google Colab!
Package Structure
phased_array_systems/
├── architecture/ # Array, RF chain, cost configurations
├── scenarios/ # CommsLinkScenario, RadarDetectionScenario
├── requirements/ # Requirement definitions and verification
├── models/
│ ├── antenna/ # Phased array adapter and metrics
│ ├── comms/ # Link budget, propagation models
│ └── swapc/ # Power and cost models
├── trades/ # DOE, batch runner, Pareto analysis
├── viz/ # Plotting utilities
└── io/ # Config loading, results export
Development
# Clone the repository
git clone https://github.com/jman4162/phased-array-systems.git
cd phased-array-systems
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest tests/ -v
# Run linting
ruff check .
CLI
# Single case evaluation
pasys run config.yaml
# DOE batch study
pasys doe config.yaml -n 100 --method lhs
# Generate report
pasys report results.parquet --format html
# Extract Pareto frontier
pasys pareto results.parquet -x cost_usd -y eirp_dbw --plot
Documentation
Full documentation is available at jman4162.github.io/phased-array-systems:
- Getting Started - Installation and quickstart
- User Guide - Detailed usage guides
- Tutorials - Step-by-step walkthroughs
- API Reference - Complete API documentation
- Theory - Background equations and theory
Citation
If you use phased-array-systems in academic work, please cite:
@software{phased_array_systems,
title = {phased-array-systems: Phased Array Antenna System Design and Optimization},
author = {{phased-array-systems contributors}},
year = {2024},
url = {https://github.com/jman4162/phased-array-systems}
}
Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
License
MIT License - see LICENSE for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phased_array_systems-0.4.0.tar.gz.
File metadata
- Download URL: phased_array_systems-0.4.0.tar.gz
- Upload date:
- Size: 161.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c13de62f9d3481e8b54a6bf8ea0e72a73d3d06d6ca34115a61f275103035a75e
|
|
| MD5 |
a2b6365625f8a5ef6770f395ced73457
|
|
| BLAKE2b-256 |
d99095b875d58fe0a5a0d8ae3a4d771cb79c47040cc9a10960af6da28d550f1a
|
Provenance
The following attestation bundles were made for phased_array_systems-0.4.0.tar.gz:
Publisher:
publish.yml on jman4162/phased-array-systems
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phased_array_systems-0.4.0.tar.gz -
Subject digest:
c13de62f9d3481e8b54a6bf8ea0e72a73d3d06d6ca34115a61f275103035a75e - Sigstore transparency entry: 895912803
- Sigstore integration time:
-
Permalink:
jman4162/phased-array-systems@a577752d5944a854b81abc4216a8168e3cf550dd -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/jman4162
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a577752d5944a854b81abc4216a8168e3cf550dd -
Trigger Event:
release
-
Statement type:
File details
Details for the file phased_array_systems-0.4.0-py3-none-any.whl.
File metadata
- Download URL: phased_array_systems-0.4.0-py3-none-any.whl
- Upload date:
- Size: 81.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e49bbe8102430fb479064b52961d1ffdb111238d6651d4f80ad0703a2e2b3e4
|
|
| MD5 |
bba89a4899527f4d8ede89272db0d735
|
|
| BLAKE2b-256 |
e7e0a5ec55a3688871f5f3743b0841d03ad4efce4ab1081824fe08356630ff45
|
Provenance
The following attestation bundles were made for phased_array_systems-0.4.0-py3-none-any.whl:
Publisher:
publish.yml on jman4162/phased-array-systems
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phased_array_systems-0.4.0-py3-none-any.whl -
Subject digest:
8e49bbe8102430fb479064b52961d1ffdb111238d6651d4f80ad0703a2e2b3e4 - Sigstore transparency entry: 895912822
- Sigstore integration time:
-
Permalink:
jman4162/phased-array-systems@a577752d5944a854b81abc4216a8168e3cf550dd -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/jman4162
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a577752d5944a854b81abc4216a8168e3cf550dd -
Trigger Event:
release
-
Statement type: