-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenSeesPy Reliability Analysis and Parameter problem. #115
Comments
Can you provide a short working script that reproduces the error? The commands you show in Tcl and Python are not consistent with each other. |
However, now in python, the following code is not working. I have been working on it for a long time but I could not figure what I am missing. Any help will be great. |
Please post the code |
i sent my code to your email |
I have not received an email. Please post the script here, in this thread. |
Sure. I want to know how to do reliability analysis with opensees? Because I enter the randomVariable command, but I can't get an answer for any variable or even in beam modeling. For example, with the Latin Hypercube Sampling simulation method, what is the shape of this concrete structure? In general, if it is an example, I need help in this field. |
I'm looking for a simple script, like 20 lines of code, that demonstrates the error. I am not going to look through multiple files in the zip you posted. I only want to know the error so that it can be fixed. |
i'm sorry. from openseespy.opensees import *
from scipy.stats import norm
wipe()
model('basic', '-ndm', 2, '-ndf', 3)
node(1,0,0)
node(2,3,0)
geomTransf('Linear', 1)
meanR = 2000; sigR = 135 # for E_Steel
randomVariable(200, 'normal', '-mean', 2000, '-stdv', 135)
element('elasticBeamColumn', 1, 1,2, 0.08, 2e11, 0.001, 1)
fix(1,1,1,1 )
timeSeries('Linear', 1 )
pattern('Plain', 1 , 1 )
load(2, 0,-5e6,0) |
This code does not produce an error on the latest version of OpenSeesPy (3.5.1.12). |
Therefore, for more complex models, there is no longer a need to connect opensees to MATLAB, and with this library (openseespy), the Latin Hypercube Sampling (LHS) or mcmc or mc method can be implemented? |
Previously, in tcl, I was adding parameters in the following way.
However, now in python, the following code is not working. I have been working on it for a long time but I could not figure what I am missing. Any help will be great.
The code gives the following error. Even I have check the source code, I dont understand the problem.
Thank you
The text was updated successfully, but these errors were encountered: