A Python client for simulating System Structure and Parameterization (SSP) models with integrated Functional Mock-up Interface (FMI) components in easySSP.
Project description
easySSP Simulation Python Client
This is the official Python client for the Simulation API of the easySSP. It provides an easy-to-use interface for interacting with simulation endpoints โ including launching, monitoring, and managing simulations programmatically.
๐ Features
- ๐ Retrieve available simulation options and current simulation credits
- ๐ฏ Launch and control simulations
- ๐ Monitor simulation progress and access results
- ๐๏ธ Manage and organize executed simulations
๐ฆ Installation
pip install easyssp-simulation-client
Or clone and install from source:
git clone https://github.com/exxcellent/easyssp-simulation-client-python.git
cd easyssp-simulation-client-python
pip install -e .
Tests
Execute pytest or python -m pytest to run the tests.
๐ Project Structure
easyssp_simulation/
โโโ __init__.py
โโโ client/
โ โโโ __init__.py
โ โโโ simulation_client.py # Simulating SSP models with integrated FMI components in easySSP
โ
โโโ models/
โ โโโ __init__.py
โ โโโ hardware_option.py # The available hardware configuration options for simulations
โ โโโ run.py # The different runs the Simulation consists of
โ โโโ simulation.py # The created/started simulation
โ โโโ simulation_info.py # Info about the simulation
โ โโโ simulation_started.py # Info about the started simulation
โ โโโ start_simulation_configuration.py # The configuration for the simulation runs
โ โโโ start_simulation_run_configuration.py # Specifies configurations for simulation runs to execute on the given .ssp-file
โ โโโ step.py # Each simulation run is split into two steps. The 'generate' step will generate a simulator. The 'simulate' step will use that simulator to perform the simulation with the given configurations
๐ API Reference
This client is built against the official Simulation API specification, available as an OpenAPI (Swagger) document.
You can explore the full API documentation here:
๐ Simulation API
๐ Examples Repository & Extended Documentation
Looking for working demos? Check out the Simulation Client Examples Repository here:
๐ Simulation Client Examples Repository
It includes:
- Real-world examples for running and managing simulations
- Usage patterns for authentication and error handling
It's the best place to explore how the client works in action and how to integrate it into your own workflows.
๐ ๏ธ Requirements
- Python 3.11+
- easyssp Pro Edition Account
Install dependencies using uv:
pip install uv
uv sync
๐ค Contributing
This module is maintained as part of the easySSP ecosystem. If you find issues or want to suggest improvements, please open an issue or submit a pull request.
๐ License
This project is licensed under the MIT License.
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
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 easyssp_simulation_client-1.0.0.tar.gz.
File metadata
- Download URL: easyssp_simulation_client-1.0.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbfbfd1ea6b871f714de884473d913ca049249b09594f3ce7d74fb4209250955
|
|
| MD5 |
979acbee440a56f2fc084c43d535fae1
|
|
| BLAKE2b-256 |
bbdd22c7cdd3424335ea532b4193c4dba15c5a0cc4b68e919eb922143719c429
|
File details
Details for the file easyssp_simulation_client-1.0.0-py3-none-any.whl.
File metadata
- Download URL: easyssp_simulation_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b0cd626ecab133d17a9b21e5f702ef795e9d8a57ff619aeee1a064d29b534c3
|
|
| MD5 |
c3a8e3cce1c5c6011c264cd033d39ef9
|
|
| BLAKE2b-256 |
259f445a9a664d6a00d1576facaf1f11756d9d104fed37758df11f0aef8eaa30
|