Hello,
I have a structure that I would like to analyze using 11 ground motions. So far, I have to manually run all 11 analyses, but since I will be doing some sensitivity studies, this can be pretty tedious. I was wondering if there is a way to automate this process. In each analysis, I will have to update ground motion input, names of MPCO recorders, and analysis settings (no. of data points and duration). Do you have an API script that can do this?
Please let me know. Thanks.
running multiple ground motions with one model
Re: running multiple ground motions with one model
It can be done, but it really depends on what you want to do.
For example:
For example:
- Is it a huge model for which you need parallel analysis? In this case, you want to press run only once, and sequentially run all N ground motions (one after the other), with each analysis running in parallel (domain decomposition)
- It is a small model (it fits only one processor), but you want to parallelize the ground motions? 1 ground motion for each process?
Re: running multiple ground motions with one model
I am running the model in parallel on 4-6 cores. My computer has many cores and I can probably run about 8 to 10 ground motions in the same time. So it will be actually a combination of two options you mentioned. I want to parallelize ground motions but I am running each ground motion on multiple cores.
Please let me know if this is possible and how. Thank you.
Please let me know if this is possible and how. Thank you.
Re: running multiple ground motions with one model
Try this:
It has a dummy Path time series that will be changed automatically with the contents of each ground motion (GM)
Each ground motion should be saved as a pair of 2 text files (*.time, *.acc).
Instead of manually running the analysis from STKO, run this script (of course while the document is open).
It will read all *time, *acc pairs (each pair should have the same name, for example GM1.time/GM1.acc, GM2.time/GM2.acc, etc...)
It will then create an output folder with the same name of the i-th GM, and run the analysis there (taking care of updating the contents of the time series, the name of the mpco recorders and monitors, if any)
As an output you will see many windows, and a single monitor where you can monitor in real time all analyses
It's a combination of a prototype model partitioned for OpenSeesMP with 2 cores per model.It has a dummy Path time series that will be changed automatically with the contents of each ground motion (GM)
Each ground motion should be saved as a pair of 2 text files (*.time, *.acc).
Instead of manually running the analysis from STKO, run this script (of course while the document is open).
It will read all *time, *acc pairs (each pair should have the same name, for example GM1.time/GM1.acc, GM2.time/GM2.acc, etc...)
It will then create an output folder with the same name of the i-th GM, and run the analysis there (taking care of updating the contents of the time series, the name of the mpco recorders and monitors, if any)
As an output you will see many windows, and a single monitor where you can monitor in real time all analyses
- Attachments
-
- PARAM_GM_OPENSEES_MP.png (243.17 KiB) Viewed 283 times
Re: running multiple ground motions with one model
Thank you! I will give it a shot and let you know if I have any additional questions.