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.2.tar.gz
(41.2 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.2.tar.gz.
File metadata
- Download URL: gds_analysis-0.1.2.tar.gz
- Upload date:
- Size: 41.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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 |
e9bc00f6416acbc3590205e959d8d23e1b328dc1d304b288991d239caacb34ed
|
|
| MD5 |
853ae5567985e7afd6e1ff23d5b87c6b
|
|
| BLAKE2b-256 |
025c8f3651949cef168a190ba40445336a8e22a1a09bb96f5536187aa8e9258d
|
File details
Details for the file gds_analysis-0.1.2-py3-none-any.whl.
File metadata
- Download URL: gds_analysis-0.1.2-py3-none-any.whl
- Upload date:
- Size: 34.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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 |
307357b9ba41f265f02278ddf809716abbeee17259e8e022a3b2c962283e4e1d
|
|
| MD5 |
f07c67dd631d998abe6aaea9b4a2c6f9
|
|
| BLAKE2b-256 |
b8cd977073c872ab53cbb81e7e3b6afa0c8a2381cd924f9681509d71a5b56e03
|