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
    spreadsheet file 20_007_map_sezioni.xlsx
  • data from sofistik FEM
    spreadsheet files model_data.xlsx result_slu.xlsx result_slv.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="20_007_map_sezioni.xlsx", sec_dir=sec_dir)


## read fem data
read or update from xlsx files

read_fem(fem_xls="model_data.xlsx", res_xls=["result_slu.xlsx", "result_slv.xlsx"], save_to=f"{sln_dir}/data.h5")


## create sln objects

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,data_hdf=f"{sln_dir}/data.h5", data_set=0)


## 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=1014)


## 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.1.0.tar.gz (43.6 kB view details)

Uploaded Source

Built Distribution

pysection-0.1.0-py3-none-any.whl (47.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysection-0.1.0.tar.gz
  • Upload date:
  • Size: 43.6 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.1.0.tar.gz
Algorithm Hash digest
SHA256 d3161a705f298fa1b7dd34a8498d04fda9e4714266b3ef8010526fa5663cc1d4
MD5 bccf8d12a422509d502c69c90383fa98
BLAKE2b-256 97a598209c71c6bf1a5f3af011d9c3a2f15bf4b5cbc0f4248df1b04dd490555f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysection-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 47.1 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0080660ce9615989f6584430615b4e307fe342a88e216495740a2adb45e6d31a
MD5 ab9415328d50f2dd4729f4a42e6eaab4
BLAKE2b-256 a04f313612df25143de8f4719b6c58072ea096ed8d8022806cf4c7b47381b6a3

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