Skip to main content

Current version provides ULS Checks (NTC-2018) for RC sections based on FEM database

Project description

Introduction

Current version provides ULS Checks (NTC-2018) on RC sections based on FEM database.

Example

imports

import os
from pysection import *

prepare input data sheets files

  • design cross sections
xls_sec = '20_007_map_sezioni.xlsx'
  • data from sofistik FEM
xls_fem = '20_007_data_sofistik.xlsx'

assign directories for saving data

rep_dir = '20_007_test'
if not os.path.exists(rep_dir):
    os.mkdir(rep_dir)
sec_dir = f"{rep_dir}/data_sec"
sln_dir = f"{rep_dir}/data_sln"
res_dir = f"{rep_dir}/data_res"

read design sections

get_sec(src=xls_sec, sec_dir=sec_dir)

read fem data

  • first read or update from xlsx file
get_sln(src=xls_fem, sln_dir=sln_dir)
  • read existing hdf file
get_sln(src=f"{sln_dir}/data.h5", sln_dir=sln_dir)

run check

run_check(sec_dir=sec_dir, sln_dir=sln_dir, res_dir=res_dir)

generate report

  • save report of all checks summary tables in html
report_summary(res_dir=res_dir, rep_dir=rep_dir)
  • create report for single selected sln checks in html
report_single(res_dir=res_dir, rep_dir=rep_dir, sln_id=1574)

view of results

create_view(sln_dir=sln_dir, res_dir=res_dir, title="Viale Europa", view_html=f"{rep_dir}/view1.html")

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

pysection-0.0.3.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

pysection-0.0.3-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file pysection-0.0.3.tar.gz.

File metadata

  • Download URL: pysection-0.0.3.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for pysection-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f6be280417c89867c6c807711994ab6dc50975d20a14beafdcbb7121ca398a4f
MD5 b7409d0de02f17a0b1032cf79646c76d
BLAKE2b-256 925c46d98eda2a862175446221e5946c205caba8b2e4ec814826f88ae305fc44

See more details on using hashes here.

File details

Details for the file pysection-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pysection-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for pysection-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2638cbc631916390017aa3f075b3bd675cfe2fdac552c318625b3ff306b8fabf
MD5 867c76791c7ec6cb3c1506dd6e9072c4
BLAKE2b-256 88ebfa2e98d5c57b84e3980e34d0cfd7a0a6375b09ee4a75ffe42f2c03cabe6b

See more details on using hashes here.

Supported by

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