Running CFAST through a python interface #2119
Replies: 3 comments 4 replies
-
CFAST comes with a program CData that is meant to run Monte Carlo simulations. I understand if you already have a program set up. You can include in the directory you are running the case a stop file, .stop with a single line that has the maximum number of steps you want the program to run. I would suggest something large like half a million. Sometimes, not often, the code can speed up again and finish. |
Beta Was this translation helpful? Give feedback.
-
Sorry, somehow part of my response was deleted. If your case is named A.in then the stop file should be A.stop and not just .stop as the name. Sorry for the missing text. |
Beta Was this translation helpful? Give feedback.
-
Half a million is a bit arbitrary. I suspect you probably need to do some experimentation. I should have said, instead of recommending a value, start big and work down. My perspective is that it is better to take a little longer than to drop cases you could have included. What variables and distributions are you using? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am working on a sensitivity analysis using CFAST. I am using python to run the whole analysis which runs CFAST for various input files. Is there any recommendation to manage the runs in terms of terminating specific runs using python commands? For example, restricting the runs to a specific upper time limit. Any feedback or recommendation would be helpful.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions