buddyd16 / Structural-Engineering

Structural Engineering Modules (Python 2.7 primarily)
BSD 3-Clause "New" or "Revised" License
222 stars 65 forks source link

[Concrete Beam - User Bars] If bars are entered from top to bottom C not equal T #2

Closed buddyd16 closed 7 years ago

buddyd16 commented 7 years ago

If the user enters the steel reinf layers from top to bottom there are instances where the plastic neutral axis calculation fails. Appears to be due to the top most layer of steel falling directly on the PNA location at certain intervals in the calculation.

buddyd16 commented 7 years ago

find_pna class function was using the first bar elevation in lieu of the highest d, therefore causing the bisection method to only search for a solution between the top of the beam and first steel layer.