bs-simulators
bs-simulators runs benchmark-systems
models as virtual plants for live control experiments. A controller interacts
with the simulation as it would with a physical plant: it reads sensor
measurements and sends actuator commands while the plant evolves independently.
Installation
Install from PyPI with Python 3.13 or later:
python -m pip install bs-simulators
See the documentation on Read the Docs for examples and the API reference.
Run a virtual pendulum
After installation, launch the bundled pendulum and open http://127.0.0.1:8765/ to watch it evolve.
bs-simulators --catalogue pendulum
The catalogue also includes a DC motor and a pH neutralization process.
Use bs-simulators --list-catalogue to see the available configurations.
Run a simulation from Python
from benchmark_systems.models import pendulum
from bs_simulators import Simulation
simulation = Simulation(
pendulum, x0=[0.6, 0.0], u0=[0.0],
parameters={"m": 1.0, "L": 1.0},
)
simulation.start(duration=1.0)
simulation.wait()
The pendulum control example shows how to read measurements and send commands in a control loop. A controller in a separate process can use the HTTP interface.
Metadata
Release files for bs-simulators 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bs_simulators-0.1.2.tar.gz | 91.5 kB | With provenance | Details for bs_simulators-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bs_simulators-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for bs_simulators-0.1.2-py3-none-any.whl |
Total release size: 138.3 kB
Release files / bs_simulators-0.1.2.tar.gz
| Download URL | bs_simulators-0.1.2.tar.gz |
|---|---|
| Size | 91.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49f98f8a4efb90e62996927d5758c178789ebf0ee2c1d8630a505b0c653f5c16
|
|
BLAKE2b-256 checksum How to use checksums |
27c0d6a1e2286a00a1c39a13b6cf8e2f86cd7318347c011896dcf07877e634c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logRelease files / bs_simulators-0.1.2-py3-none-any.whl
| Download URL | bs_simulators-0.1.2-py3-none-any.whl |
|---|---|
| Size | 46.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69fc5c06b3c1886da345c6bc8d67daa5e740f5e2e3cb431e56e1b4b1615f460f
|
|
BLAKE2b-256 checksum How to use checksums |
2358a1b7fe0403d13843fed1a7e2fef126d7dde7bfa1bc1dd861c3a97496448b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logSecurity for bs-simulators 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bs_simulators-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.