Skip to main content

SIR3S Toolkit

Project description

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sir3stoolkit-90.15.16.tar.gz (208.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sir3stoolkit-90.15.16-py3-none-any.whl (208.5 kB view details)

Uploaded Python 3

File details

Details for the file sir3stoolkit-90.15.16.tar.gz.

File metadata

  • Download URL: sir3stoolkit-90.15.16.tar.gz
  • Upload date:
  • Size: 208.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for sir3stoolkit-90.15.16.tar.gz
Algorithm Hash digest
SHA256 4bf39df8e4dc4c9580aaed840f388d9096e20d5c249c488d13865f2e786bea40
MD5 5e856ba6c0415e29eea232aea8d92504
BLAKE2b-256 92efa2e7b750efdd2ab8fa9c66712267e997efeb0a82e0488bf69ba3212c14ee

See more details on using hashes here.

File details

Details for the file sir3stoolkit-90.15.16-py3-none-any.whl.

File metadata

  • Download URL: sir3stoolkit-90.15.16-py3-none-any.whl
  • Upload date:
  • Size: 208.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for sir3stoolkit-90.15.16-py3-none-any.whl
Algorithm Hash digest
SHA256 b033d2e37d0df405aa10b36b9999c6a3b27baef3ebf09f5a4731bb9fea35694c
MD5 75b637071129831b840717ed267f936a
BLAKE2b-256 7738c0a2342741cdc0e29ea14e9bfa10ad1da0708b9c078200000898da7d3b59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page