Skip to main content

Mini Package for Waterfront Engineering Studio(WES) Calculation model, Currently include Greenampt, Gumbel Model Calculation

Project description

Package Name

Package function description

Installation

pip install WES-Calculation

Function and Requirements

import WES_Calculation as wes

Currently Implement Three Function Include: GreenAmpt, Gumbel, Wave Function

GreenAmpt Function Usage

wes.greenampt(thetai, thetas, Psi, K, dti, nin, dd, i, iyesno, ss1, ss2, ss3

常用测试数据用例
土体初始体积含水率(thetai): 0.28
土体孔隙率(thetas):0.4
土体吸力水头(psi):0.22
土体渗透系数(k):0.3
时间步长(dti):5
总时间步长(nin):12
是否需要生成净雨过程(iyesno):1(是)
初期填洼量(dd): 2.5
降雨强度测试用例\*4
用例 1:降雨强度(i): 20, 20, 20, 50, 50, 50, 30, 30, 30, 20, 20, 20
用例 2:降雨强度(i): 0,0,0,0
用例 3:降雨强度(i): 10,25,0,2,0,5,15,30
用例 4:降雨强度(i): 10,0,15

Reference: test_greenampt.py

Gumbel Function Usage

wes.gumbel(result, unitt, unitx, i1, i2, i3)

常用测试数据用例
样本数据单位(unitx):Inch
时间间距(unitt):year
样本数据(result):1.55, 1.4, 1.35, 1.26, 1.2, 1.16, 1.1, 1.05, 1.01, 0.97, 0.88, 0.86, 0.82, 0.8, 0.75
概率分析的类型(i1):最大值
概率空间是否截尾(i2):否
估计办法(i3):Gringorten

Wave Function Usage

wes.wave(c1, d, X, U, el, gamma, Hs, Tz, Ts, Tp)

常用测试数据用例 1:
c1 = 1
水深 m(d):3.5
风矩 km(X):30
风速 m/s(U):10
风速位置距水面的高度 m(el):12
JONSWAP 谱中的峰形系数 γ(gamma)5:3.3
有效波高 H1/3m(Hs)6:2
平均周期 s(Tz):5
有效波周期 T1/3s(Ts):5.5
谱峰周期 s(Tp):0
常用测试数据用例 2:
c2 = 2
水深 m(d):0
风矩 km(X):370
风速 m/s(U):10
风速位置距水面的高度 m(el):12
JONSWAP 谱中的峰形系数 γ(gamma)5:3.3
有效波高 H1/3m(Hs)6:2
平均周期 s(Tz):5
有效波周期 T1/3s(Ts):5.5
谱峰周期 s(Tp):6

License

copyright @ 2021 BDFD

This repository is licensed under the MIT license. See LICENSE for details.

References

https://github.com/bdfd/5.2-PyPi-WES_Calculation



Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

WES_Calculation-1.5.1.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

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

WES_Calculation-1.5.1-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file WES_Calculation-1.5.1.tar.gz.

File metadata

  • Download URL: WES_Calculation-1.5.1.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for WES_Calculation-1.5.1.tar.gz
Algorithm Hash digest
SHA256 e11fa28ec5347f4fa1f6b1d5ad7453f631f59ddfcd6fb86fcec80b829363f549
MD5 c1d402964515933feda40fb7c8a6e367
BLAKE2b-256 d6aa95713b0d71196abc18a47bf0d3be6156e44cea438f5bf807c2a8edead154

See more details on using hashes here.

File details

Details for the file WES_Calculation-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: WES_Calculation-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for WES_Calculation-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b5404605e374b4f6f6adfba328721f6dba5aa0b278b9f6e7b9c2a4ee32011e8
MD5 2889530f8eea2fe88cae70b8a005c254
BLAKE2b-256 0f31655e807582fed351b6522223ea44b4676cf302baa8218996292710c6017b

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