efficalc icon indicating copy to clipboard operation
efficalc copied to clipboard

Adding PM diagram plotter, DCR calculator, table in calc report

Open janderson4 opened this issue 6 months ago • 1 comments

Added a plotter for axial-moment interaction where the factored load is specified as Mx, my, P, and a function is called that interpolates between the points of the PMM diagram to create a 2d cut at the right lambda.

Added a method for finding DCRs that works by searching for a point on the capacity surface with the same lambda and eccentricity as the load point and returning a ratio between one of the demand values and the capacity value. The type of this DCR is “PM Vector.”

Updated the algorithm for searching for points for the PMM diagram, the new one has better convergence.

Added a table to the try_axis_document method for showing the contributions from each bar.

Summary by Sourcery

Add PM diagram plotter, DCR calculator, and table in calculation report. Improve PMM diagram point search algorithm. Include scripts for activating Python virtual environment.

New Features:

  • Added a plotter for axial-moment interaction to create a 2D cut at the specified lambda.
  • Introduced a method for calculating Demand-to-Capacity Ratios (DCRs) by interpolating points on the capacity surface.
  • Implemented a table in the calculation report to show contributions from each bar.

Enhancements:

  • Updated the algorithm for searching points for the PMM diagram to improve convergence.

Build:

  • Added PowerShell and batch scripts for activating a Python virtual environment.

janderson4 avatar Aug 10 '24 14:08 janderson4