More updates to py_RC Design, py_SciPy and ULS Design Functions

The py_RC Design spreadsheet and related code has had further updates, principally to add provisions for the draft update to AS 3600 to be added to the py_CircU function for ultimate limit state analysis of circular sections under combined bending and axial loads. In the process, updates were required to the py_SciPy functions for numerical integration, and to the VBA ULS Design Functions spreadsheet. The updated spreadsheets and code can be downloaded from:

py_RC Design.zip

py_SciPy.zip

ULS Design Functions.zip

The main addition to the py_RC Design spreadsheet is modification of the py_CircU function, allowing for 3 different versions of the AS 3600 concrete design code:

  • 1: The current approved version
  • 2: The recent draft with a rectangular stress block
  • 3: The parabolic-rectangular stress block from the recent draft

Results for maximum design bending moment are shown below, comparing the 3 AS 3600 options with the current Australian Bridge Design Code, AS 5100.5:

For low to medium strength concrete with low axial loads all 4 options give very similar results:

Note that the maximum concrete stress for AS 3600 Versions 1 and 2 has been reduced by 5%, as is required when the rectangular stress block is applied to concrete sections. This has not been applied to the parabolic stress block of Version 3, or to the AS 5100.5 results, where it is not a current code requirement.

Increasing the axial load to close to the balance point, the Version 3 results for AS 3600 are higher than the rectangular stress block results, and the AS 5100.5 results are significantly higher:

For axial loads close to the maximum allowable the rectangular stress block results from AS 3600 have become significantly over-conservative. The Version 3 result is over 50% higher and the AS 5100.5 result is almost another 50% higher. The validity of these results needs further review.

For very high strength concretes with low axial loads all 3 AS 3600 options give very similar results, with the AS 5100.5 result now about 5% lower:

Increasing the axial load with very high strength concrete, the AS 3600 results are still close, but the parabolic stress block is slightly lower than the other two, and the AS 5100.5 result is now over 10% lower than the others:

Finally increasing the axial load to close to the maximum, the AS 3600 parabolic stress block is now about 30% higher than the rectangular stress block results. The AS 5100.5 result is about midway between the AS 3600 results.

In addition to the py_CircU function, the analysis for biaxial loads has also had significant changes, which will be reviewed in a later post.

Posted in Concrete, Excel, Link to Python, Maths, Newton, Numerical integration, NumPy and SciPy, PyXLL, UDFs, VBA | Tagged , , , , , , , | Leave a comment

py_Integrate update

I recently discovered that changes to how Python handles the locals() function was causing problems with some of the functions in the py_Integrate.xlsb spreadsheet. That has now been fixed, and all the updated files are included in the py_Scipy.zip file, that can be downloaded from:

py_SciPy.zip

For more details of the functions included in the spreadsheet see:

Scipy Functions with Excel and pyxll 6 – Integration

Posted in Excel, Link to Python, Newton, Numerical integration, NumPy and SciPy, PyXLL, UDFs | Tagged , , , , , , , , , , | Leave a comment

Numerical Integration With Tanh-Sinh Quadrature v 6.0

Graeme Dennes has updated his Tanh-Sinh Quadrature spreadsheet to V 6.0. The new version (including full open source code) may be downloaded from:

Tanh-Sinh Quadrature

Graeme’s summary of the new features in the spreadsheet:

  1. All programs run at near twice the speed of the v5.03 programs.
  2. The accuracy of the finite interval programs has been improved.
  3. All programs are written in Excel VBA.
  4. As implemented, the Tanh-Sinh integrator may be the fastest Excel VBA finite-interval integrator available.

5.      The Romberg integrator may be the fastest and most accurate Excel VBA Romberg integrator available.

6.      Now includes over 1200 test integrals with true results to 15 significant digits. This may be the largest set of diverse test integrals available at no cost. It includes several of the “standard” sets of test integrals in wide use.

7.      The Plotter worksheet shows two plots: the plot of the selected function over the specified finite interval, and the (part) plot of the function after being transformed by the Tanh-Sinh function. It’s the transformed function which is integrated by the Tanh-Sinh integrator over the entire real line (-inf to +inf).

8.      The workbook provides a convenient test bed for developing and implementing Excel VBA integration programs and for comparing the performance of your programs with the programs in this workbook. Replace the core integration code in one of the program modules which have the same interval type as your own program, retrofitting your code into the existing program structure.

9.      Should you develop an Excel VBA Tanh-Sinh integrator program which improves on the accuracy and speed of the Tanh-Sinh program in the workbook, I urge you to leave a comment on Newton Excel Bach and I will happily recognise your contribution.

Note that the speed improvement is clearly visible when integrating VBA functions. When integrating functions entered as text on the spreadsheet nearly all the computation time is in converting the text values and symbols to numerical values.

As always, if you have any questions or comments, please leave a comment below.

Posted in Excel, Maths, Newton, Numerical integration, UDFs, VBA | Tagged , , , , | Leave a comment

Cleaning Data – Sort functions and shortcuts

Back in 2020 I posted here on New sort functions and sorting to groups, looking at using the sort functions to clean data. Revisiting that post I found that the link to the sample spreadsheet was broken, and that is now fixed:

GroupSort.zip

That post caught the attention of the people at PdfHaul, and they drew my attention to their blog, which has a wealth of information on pdf related topics, including using Excel with pdf data.

Click image to go to the blog:

Posted in Computing - general, Excel | Tagged , , , | 1 Comment

Maeve Gilchrist – Beeswing

Maeve Gilchrist is a Scottish harpist who plays a wide variety of musical styles. Here she is with her version of Richard Thompson’s song Beeswing:

Posted in Bach | Tagged , , , , | Leave a comment