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

Uploaded Source

Built Distribution

pysection-0.0.4-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysection-0.0.4.tar.gz
  • Upload date:
  • Size: 41.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.4.tar.gz
Algorithm Hash digest
SHA256 56799c478c3faa11ed543288ab21c79400b64b9de0b02f563709d736ead48d5c
MD5 ee598e9e2beaee9de30e504fcd28e133
BLAKE2b-256 bd9464a55cb8b97fade81d37d6f7b20affb831db59ddc632154c3865b3dc707f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysection-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 44.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6bc19f599a7b07743ed27a5745d364d11b2cd8d84c666fa2c49291683db7eefc
MD5 8d457ba1f8d75df414201940b7f20604
BLAKE2b-256 3835c1990dc9eeeea1ede84f5a6a15cdd19ee6d1a90e54f00642270fb67ebde5

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