Python interface for retrieving results of Pendulo water hammer simulation
Project description
PenWin32 (Pendulo) python API calling interface
What is it?
A python package enabling users to call a minimal set of PenWin32.dll API functions and subroutines within python scripts. For latest python version e.g. 3.10. 32 bits only.
Installation
Windows only
pip install pendulo
Requirements (32 bits)
python 3.10
numpy 1.21.3 (python 3.10)
Pendulo kernel library (penwin32.dll)
valid Pendulo_size and Pendulo_version license
This tool expects Picwin32.dll to be in the PATH or in one of the following folders:
%localappdata%/Programs/Safege/Pendulo_ or %localappdata%/Programs/Suez/Pendulo_ or [ C: or D: ] / 'Program Files (x86)/Safege/Pendulo_' + ['fr' or 'uk' or 'esp' or 'eng'] + ['' or '_ck']
With custom installations, PENDULO_DIR environment variable can be set to define the path.
Content
- The package provides:
- ‘sim’ package:
a few basic functions for reading or loading a model, running hydraulic and WQ simulations.
‘getter’ functions for individual objects and attributes, time series vectors, attribute vector of all object (attribute maps).
iterators over links, nodes, tanks, demands, and tables, or over Piccolo command language selections.
a Graph class built from the current model graph, with propagation functions.
Example
# Sorry - no example at the moment.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for pendulo-0.9.3-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97abccbe0b281aa936b1574ef2fdad4fd61b9e8ab2ffe1d45864df78375e95d2 |
|
MD5 | a2a88511878a685992fbcbb7eb5ce494 |
|
BLAKE2b-256 | 0b06f01289a4e6c073dc9705ed11db2de22c395414ccf595c7cef4867ada1bca |
Hashes for pendulo-0.9.3-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e84250ab7473bc1e0c95a026f47aa2c69f55a4598ca73c3fe97437571ecf95 |
|
MD5 | 2dcf96528e263064c00644b62271b634 |
|
BLAKE2b-256 | 8920fea01c6ef73416cd1f7b2518e24fe01b5f2beb3e9453db3fda5f9e3faf60 |