Hi STKO team
I am facing a problem with extracting nodal acceleration and displacement from multiple MPCO files.
I found some great examples from your team to extract nodal response from MPCO using python API and looping through between multiple MPCO files. So, I sort of combined the two examples.
As you can see from below image, all 5 MPCO files appear to be opened correctly in the terminal, but the CVS results are repeating. Upon detailed check with *.PLT files from monitoring, only the first MPCO file was extracted & the rest are repeating.
I have attached file. Can someone please have a look at it and recommend correction ? I am sure it will be simple syntax issue. I played around with it but could not figure it out myself.
Also interested is how to get input ground acceleration. As I am using "uniform excitation", the nodal ground acceleration is 0. Is there any way to extract inputted ground acceleration some how ? I am ramping up c_factor in analysis steps using Python API to amplify the Ground motion. I am aware the use of Ground motion would generate absolute acceleration(I tried it and works), but everything else becomes absolute and does not suit my interest(I want to stay with uniform excitation). It is easy to work out input acceleration (simply original max acc x scale factor )but nice to be able to get it from analysis for verification purposes.
I hope you guys can shed some light on the issue, soon.
Reading nodal acc & disp from multiple MPCO files
-
BrownTrout_NZ
- Posts: 37
- Joined: Fri Sep 13, 2024 6:23 pm
-
BrownTrout_NZ
- Posts: 37
- Joined: Fri Sep 13, 2024 6:23 pm
Re: Reading nodal acc & disp from multiple MPCO files
Sorry guys, I found a mistake in the code, looping between Multiple MPCO files is now sorted.
But second question still stands, if someone can give me an idea of getting input ground accelerations from MPCO, that would be appreciated. Does MPCO record input acceleration history ? Please advise.
But second question still stands, if someone can give me an idea of getting input ground accelerations from MPCO, that would be appreciated. Does MPCO record input acceleration history ? Please advise.
Re: Reading nodal acc & disp from multiple MPCO files
Unfortunately the input motion is not stored in the mpco file. You will have to add it within your code in python if you have the input motion