Python on the output side
Step 4 put a script in front of the model. In this step, we'll put one after it, where the model's results are turned into the things a design actually needs. We'll use a script to turn a beam's moments into utilisations, then use scipy to find the span where the utilisation reaches 1.0. The script runs in your browser after the model is solved. We'll also see how close an interpolated answer gets to the true span.
1.0 The idea
A solve gives us bending moments, but a design check needs utilisations. The utilisation is the design moment divided by the section's bending resistance,