This release is a pre-release and may not be stable for production use.
OMOTES-simulator-core
This repository is part of the 'Nieuwe Warmte Nu Design Toolkit' project. Omotes-simulator-core is the core library for the thermo-hydraulic numerical simulations within the NWN Design toolkit. The simulator requires a network schematization in ESDL format, simulation start/end time and a timestep-duration as input. The simulator will return a pandas dataframe that contains the all the output time series.
Installation
Use the package manager pip to install omotes-simulator-core.
pip install omotes-simulator-core
Usage
from omotes_simulator_core.entities.esdl_object import EsdlObject
from omotes_simulator_core.entities.simulation_configuration import SimulationConfiguration
from omotes_simulator_core.infrastructure.simulation_manager import SimulationManager
from omotes_simulator_core.infrastructure.utils import pyesdl_from_file
# Create a callable that prints the progress messages
def progressLogger(progress: float, message: str) -> None:
"""Function to report progress to logging/stdout."""
logger.info(f"({progress*100:.2f}%) {message}")
# Create simulation config parameters
config = SimulationConfiguration(
simulation_id=uuid.uuid1(), #creates a new uuid for this simulation
name="test run", # user defined name
timestep=3600, # timestep, start and stop datetime (simulation period)
start=datetime.strptime("2019-01-01T00:00:00", "%Y-%m-%dT%H:%M:%S"),
stop=datetime.strptime("2019-01-01T01:00:00", "%Y-%m-%dT%H:%M:%S"),
)
esdl_file_path = "path/to/whatever/file.esdl"
# Run the simulation
sim = SimulationManager(EsdlObject(pyesdl_from_file(esdl_file_path)), config)
result = sim.execute(progressLogger)
Support
Found a bug, want a feature, or have a usage question? See the user feedback repository — open a Discussion (Q&A category) for questions, or check/open an Issue for bugs and feature requests.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
For more information, please see [CONTRIBUTING.md]
License
GPLv3, see [LICENSE]
Metadata
Release files for omotes-simulator-core 0.9.0rc1
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 |
|---|---|---|---|---|
| omotes_simulator_core-0.9.0rc1.tar.gz | 105.4 kB | With provenance | Details for omotes_simulator_core-0.9.0rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| omotes_simulator_core-0.9.0rc1-py3-none-any.whl | Python 3 | none | any | Details for omotes_simulator_core-0.9.0rc1-py3-none-any.whl |
Total release size: 286.9 kB
Release files / omotes_simulator_core-0.9.0rc1.tar.gz
| Download URL | omotes_simulator_core-0.9.0rc1.tar.gz |
|---|---|
| Size | 105.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f99fd929215769af67866b7e65cf75c2dd40d256b13b60ffe8c0974751ba7078
|
|
BLAKE2b-256 checksum How to use checksums |
219d5e9b2418a115d865797b01d906bc2f23952f8bec4026bf629e7a4cf42511
|
| 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 Oct 28, 2026.
Transparency logRelease files / omotes_simulator_core-0.9.0rc1-py3-none-any.whl
| Download URL | omotes_simulator_core-0.9.0rc1-py3-none-any.whl |
|---|---|
| Size | 181.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2954825818ae4c789ff2959c3c67dd7985c163a3e6f06a5c69733f35b72f5402
|
|
BLAKE2b-256 checksum How to use checksums |
2dbc3048c1beb08ce4ce32ab889c4aa00288f55fb8c9cd8e83c910fd41a86bd5
|
| 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 Oct 28, 2026.
Transparency logSecurity for omotes-simulator-core 0.9.0rc1
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 omotes_simulator_core-0.9.0rc1.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 Oct 28, 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.