Skip to main content
License: MIT Supported Python versions PyPI Package latest release docs

SIR 3S Toolkit

SIR 3S Toolkit is a Python package developed by 3S Consult that provides a programming interface for SIR 3S - a software for the simulation, analysis and optimization of flow processes in gas/water/heat supply networks, plants, pipelines and caverns.

At its core, the package wraps basic functionality of SIR 3S, offering a low-level access to the creation, modification and simulation of SIR 3S models.

On top of this core, higher-level functionality is provided, enabling more powerful and intuitive interactions with SIR 3S models.

This layered architecture of the SIR 3S Toolkit ensures both flexibility and extensibility for advanced applications.

Sir3S Splash

Note: This package is a client toolkit for the proprietary SIR 3S software. A valid license for SIR 3S is required to use this package in production.

Using an AI assistant to write code against this package? See AGENTS.md for architecture, the authoritative API/property reference, and known gotchas.

Features

  • Create new SIR 3S models

  • Modify existing SIR 3S models

  • Simulate SIR 3S models

  • Read data and simulation results from SIR 3S models

Documentation

For detailed documentation, visit SIR 3S Toolkit Documentation.

PyPI

You can find the SIR 3S Toolkit package on PyPI.

Installation

To install the SIR 3S Toolkit, use pip:

pip install sir3stoolkit

Quick Start

from sir3stoolkit.core import wrapper

SIR3S_SIRGRAF_DIR = r"C:\SIR3S\SirGraf-90-15-00-12_Quebec_x64"
wrapper.Initialize_Toolkit(SIR3S_SIRGRAF_DIR)

model = wrapper.SIR3S_Model()
model.OpenModel(dbName=r"example_model.db3",
                providerType=model.ProviderTypes.SQLite,
                Mid="M-1-0-1",
                saveCurrentlyOpenModel=False,
                namedInstance="",
                userID="",
                password="")

model.ExecCalculation(True)

Contact

If you’d like to report a bug or suggest an improvement for the SIR 3S Toolkit, please open a new issue on GitHub. Describe the situation in detail — whether it’s a bug you encountered or a feature you’d like to see improved. Provide the SIR Graf, SIR Calc and SIR 3S Toolkit versions you used. Feel free to attach images or other relevant materials to help us better understand your request.

For other requests, please contact us at sir3stoolkit@3sconsult.de.

License

MIT License. See LICENSE for details.

Metadata

Release files for sir3stoolkit 90.15.26

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sir3stoolkit 90.15.26
File Size Uploaded Provenance Actions
sir3stoolkit-90.15.26.tar.gz 543.3 kB Without provenance Details for sir3stoolkit-90.15.26.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sir3stoolkit 90.15.26
File Interpreter ABI Platform Actions
sir3stoolkit-90.15.26-py3-none-any.whl Python 3 none any Details for sir3stoolkit-90.15.26-py3-none-any.whl

Total release size: 1.1 MB

Release files / sir3stoolkit-90.15.26.tar.gz

Download URL sir3stoolkit-90.15.26.tar.gz
Size 543.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0252d9e5fa27dcd02b9bdb7bd73a5d0bbba06855fe4656a522f7c068f1689a8a
BLAKE2b-256 checksum
How to use checksums
6f12c27ef0d968a13974d3c768cc3aed3d676ec7f475ae863a68201b180565da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / sir3stoolkit-90.15.26-py3-none-any.whl

Download URL sir3stoolkit-90.15.26-py3-none-any.whl
Size 545.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ed5e77ae276ecf369ac037176b67abde17cd2fd96d2ec285e4895a7211a4f9a
BLAKE2b-256 checksum
How to use checksums
97c0f23f9b7ef20bfecdb0149feefddc4ec11a91a61f94ce2bcad876418b4350
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for sir3stoolkit 90.15.26

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page