pycba icon indicating copy to clipboard operation
pycba copied to clipboard

Envelope and plot beam results

Open AlexGriffiths526 opened this issue 2 years ago • 7 comments

Hiya,

I am analysing a few load cases using the beam analysis. There are three load cases in total based on the IL to maximise the SF, BM+ and BM-

Is there a convenient way to envelope and plot the results in a similar way to the bridge module?

Reading the API reference there appears to be a pycba.results.Envolopes which contain a list of member results. But I am unsure how to use this. If you have any ideas they would be very welcome. :)

AlexGriffiths526 avatar Oct 03 '23 16:10 AlexGriffiths526

Thank you @AlexGriffiths526 ; I had planned on doing this (#4), and have now got to it with your nudge. While it was 'possible', it wasn't friendly, and now (I think) it is. It will also automatically do the load patterning - refer to the new examples notebook.

This is now included in a new v0.4.0 as it is a significant enough increase in capability.

ccaprani avatar Oct 05 '23 09:10 ccaprani

Thanks for the very prompt response and implementation. I have now tested the new feature and it works really nicely. Multiple envelopes can also be augmented as per the bridge module. This flexibility is really helpful for my particular case as the assessment code I am using CS454 reduces the intensity of the longer total loaded lengths. Meaning It may be more onerous to have a single-span loaded rather than alternating spans.

AlexGriffiths526 avatar Oct 06 '23 21:10 AlexGriffiths526

Hi @AlexGriffiths526 ; that sounds like a great use-case. Would you be interested in contributing an example that illustrates it? If you aren't sure how to do it via github, I'd be glad to make it with your guidance!

ccaprani avatar Oct 09 '23 11:10 ccaprani

Hi @ccaprani I will give it a go! :)

AlexGriffiths526 avatar Oct 10 '23 11:10 AlexGriffiths526

@AlexGriffiths526 - great! Let me know how I can help!

ccaprani avatar Oct 12 '23 08:10 ccaprani

Hi @ccaprani, I have put an example together and submitted a pull request (I think that is the way to do it) please let me know if you have any comments.

AlexGriffiths526 avatar Nov 28 '23 15:11 AlexGriffiths526

Hi @AlexGriffiths526 - really sorry - struggling for time at the moment. Really appreciate the contribution and will revert shortly. Thank you!

ccaprani avatar Nov 29 '23 11:11 ccaprani