Dynamical analysis for GDS specifications — bridges gds-framework to gds-sim
Project description
gds-analysis
Dynamical analysis for GDS specifications. Bridges gds-framework structural annotations to gds-sim runtime.
Installation
uv add gds-analysis
Quick Start
from gds_analysis import spec_to_model, trajectory_distances
from gds_sim import Simulation
# Build a runnable model from a GDSSpec
model = spec_to_model(
spec,
policies={"Sensor": sensor_fn, "Controller": controller_fn},
sufs={"Heater": heater_fn},
initial_state={"Room.temperature": 18.0},
)
# Run simulation
sim = Simulation(model=model, timesteps=100)
results = sim.run()
# Compute distances using StateMetric annotations
distances = trajectory_distances(spec, results.to_list())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gds_analysis-0.1.0.tar.gz
(19.6 kB
view details)
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 gds_analysis-0.1.0.tar.gz.
File metadata
- Download URL: gds_analysis-0.1.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5683b9c4b4e96c7ca468181862a94ccf70dcde32c934f92fc35b578603a0420
|
|
| MD5 |
9620dcaa6c1a0ce5f3b0aed6d71fde7f
|
|
| BLAKE2b-256 |
3d59d5567c1ca95a0c353890374e1e9923b136e4f9f2dbef4dd768d42a10d7eb
|
File details
Details for the file gds_analysis-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gds_analysis-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07ecf0a3b16dcdfc575d6f008579ff5b0d0fb57bf04a59b1456614210e521dee
|
|
| MD5 |
82e4ade1d76511c9e141989bec238f5c
|
|
| BLAKE2b-256 |
0a940f1c6f501560dc02d36c0db16c85504fd67b2be07f072eda198769db2b8f
|