Skip to main content

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

Project description

Introduction

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

Example

imports

import os
from pysection import *

data sheets files

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

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.2.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysection-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 708725d2dffd788eef1141403186427edc56c3fc0070af0c1594c7e0f18b2e2e
MD5 9718dd1b0bdbf55dfbdae2cd35ebc4f9
BLAKE2b-256 258ea37d5ea3700cd3f9357ec7147d85fbe273caeb5bb93048c164aeeeaadd0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysection-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 961957e60a90993d9af5df9b707963db23d1ab50fb656e75024ff492c437ce68
MD5 3a08a092c504a291144b6e8ce7b87468
BLAKE2b-256 f5b63be30687bbb71daed3501ded3485fe55aecc8770507a3a4c63d3a8b45a79

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