I found a mistake

Forum for asking and answering questions related to use of the OpenSeesPy module

Moderators: silvia, selimgunay, Moderators

Post Reply
shenlinbai
Posts: 1
Joined: Thu Mar 18, 2021 11:16 pm

I found a mistake

Post by shenlinbai » Thu Mar 18, 2021 11:38 pm

When I compiled the model using openseespy, I found if I use command "element('ElastomericBearingBoucWen......."
The system will report an error:
{
WARNING element type ElastomericBearingBoucWen is unknown
Traceback (most recent call last):
File "D:/2020工作/PythonOpenseesModel/main.py", line 217, in <module>
element('ElastomericBearingBoucWen', 10 * jdsl + 6, 10 * jdsl + 10, 10 * jdsl + 12, 250000.0, 1666.67, 0.02, 0.0, 3.0,
opensees.OpenSeesError: See stderr output
}
However, if I use command "element('elastomericBearingBoucWen'...............".There will be no errors.
Hope to be able to modify the official document of openseespy tutorial as soon as possible.

中文:当我在使用官方openseespy教程的命令时:“element('ElastomericBearingBoucWen'...............”,系统会报错,提示为该命令不可知
而我在将其改为小写之后:“element('elastomericBearingBoucWen'...............”则没有任何问题
希望能够得到关注并尽快修正官方openseespy文档

mhscott
Posts: 600
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: I found a mistake

Post by mhscott » Fri Mar 19, 2021 5:33 am

The documentation is correct: https://openseespydoc.readthedocs.io/en ... ucWen.html

Was there an error in an example posted online?

Post Reply