From Matlab to Lambda: Transforming Structural Engineering Research Tools @PyConAU
From Matlab to Lambda: Transforming Structural Engineering Research Tools  @PyConAU
Uploaded September 2025 | Updated September 2026, 1 hour ago
(Brooks Smith) When academic engineering tools remain trapped in Matlab while the industry relies on Excel, Python offers a unique opportunity to bridge this computational divide. While academic software packages for the efficient design of light-gauge steel have been available for several years, they effectively require highly specialised expertise to use and understand—challenging the material’s adoption beyond highly specialised buildings. This talk presents a case study of transforming CUFSM, a trusted but highly technical Matlab package for the finite strip analysis of light-gauge steel, into pyCUFSM—a performant and open-source Python implementation deployable to AWS Lambda.

The migration revealed and addressed several key scientific Python challenges. Moving from Matlab’s matrix-oriented syntax to idiomatic Python required not only converting every index from 1-based to 0-based, but also careful architectural decisions around NumPy array handling and SciPy linear algebra operations. Performance bottlenecks were addressed through strategic use of Cython compilation and aggressive pre-allocation and reuse of data structures, achieving a p90 duration of 3.9 seconds for real-world usage.

However, technical performance alone wasn’t sufficient. In regulated industries where engineers face personal liability for design failures, trust and transparency are paramount. Not only must the interpretation of inputs and outputs not leave any doubt, but the calculations themselves must be validatable by the user - without having to read or understand code. By coupling this Python analysis package with a React-based frontend, a calculator was developed which requires only 4 inputs, shows all intermediate steps with full rendered equations, and still allows access to advanced parameters for those who want it. Extensively validated, such an implementation is showing significant gains in adoption by the wider structural engineering community. The final system demonstrates how Python's strengths—from scientific libraries to cloud deployment—can bring academic innovation into wider use in regulated industries where reliability, ease of use, and user trust are essential.

pretalx.com/pycon-au-2025/talk/8DZTCP

python, pycon, australia, programming, conference, technical, developers, panel, sessions, libraries, frameworks, community, sysadmins, students, education, data, science

Videos licensed as CC-BY-NC-SA 4.0

PyCon AU is the national conference for the Python programming community, bringing together professional, student and enthusiast developers, sysadmins and operations folk, students, educators, scientists, statisticians, and many others besides, all with a love for working with Python.

Licensed as CC BY-NC-SA - creativecommons.org/licenses/by-nc-sa/4.0

Produced by Next Day Video Australia: https://nextdayvideo.com.au

Fri Sep 12 12:20:00 2025 at Ballroom 2
From Matlab to Lambda: Transforming Structural Engineering Research ToolsProductivity: a dialogue - Benno Rice, Daisy Leigh Brenecki (PyCon AU 2026)Where am I? What am I doing? Mobile App development in PythonTesting Beyond Examples: Property Based Testing with Hypothesis - Sam Bishop (PyCon AU 2026)Saturday lightning talks - Nic Crouch, Daisy Leigh Brenecki (PyCon AU 2026)Big Brains, Small Targets: Whole-Brain Image Analysis with Python - Ishrat Zaman (PyCon AU 2025)Hierarchical Clustering: Finding the awkward reunions - Neha (PyCon AU 2025)Escape from Tutorial Hell - Sarah Reichelt (PyCon AU 2025)Notes on Over-Engineering: A Project Post-Mortem - Sam Bishop (Pycon AU 2024)Teaching Digital Technologies in Australian schools with Python and the KookaberryHow to give your Python code to someone else - Russell Keith-Magee (PyCon AU 2026)Self-healing system for UI tests using ML - Andressa de Mello Cabistani (PyCon AU 2025)
PyCon AU |

From Matlab to Lambda: Transforming Structural Engineering Research Tools

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER