Drift raio

Hello! In this section we'll talk about the post processing module and the data visualization.
Post Reply
Wenyu
Posts: 25
Joined: Sat Sep 10, 2022 2:58 am

Drift raio

Post by Wenyu » Tue Jan 31, 2023 9:34 am

Hello!STKO users and STKO Team,
I saw a topic on the forum, STKO team gives a file to get the drift raio, this is exactly what I need! (The topic i will show in the attachment) But I used this Python API in STKO post processor, and then attachment error occurred. I have never studied python, I have no idea how to solve this problem. I conducted a search, some people said that the reason for this error is not installed utils, but the problem is not solved after installation. I would be grateful if you could give me some help.
Attachments
python.png
the topic what i saw
python.png (453.78 KiB) Viewed 4172 times
error.jpg
the error
error.jpg (289.75 KiB) Viewed 4173 times

STKO Team
Posts: 2257
Joined: Tue Oct 29, 2019 8:45 am

Re: Drift raio

Post by STKO Team » Tue Jan 31, 2023 3:48 pm

I just answered in the other post

Wenyu
Posts: 25
Joined: Sat Sep 10, 2022 2:58 am

Re: Drift raio

Post by Wenyu » Wed Feb 01, 2023 3:11 am

STKO Team wrote:
Tue Jan 31, 2023 3:48 pm
I just answered in the other post
I saw it, thank you very much

STKO Team
Posts: 2257
Joined: Tue Oct 29, 2019 8:45 am

Re: Drift raio

Post by STKO Team » Wed Feb 01, 2023 7:43 am

you're welcome

Wenyu
Posts: 25
Joined: Sat Sep 10, 2022 2:58 am

Re: Drift raio

Post by Wenyu » Fri Feb 03, 2023 3:59 pm

STKO Team wrote:
Wed Feb 01, 2023 7:43 am
you're welcome
Actually,i want to ask another question,The finall picture shows the result of the last step,Is this mind right?Can I get a table showing all results?

STKO Team
Posts: 2257
Joined: Tue Oct 29, 2019 8:45 am

Re: Drift raio

Post by STKO Team » Fri Feb 10, 2023 9:53 am

If you know a bit of Python, you can modify the script I sent you, so that every data that we put on the Plot windows, you can write it to a text file.
Give it a try, if you can't do it, we will help you

Wenyu
Posts: 25
Joined: Sat Sep 10, 2022 2:58 am

Re: Drift raio

Post by Wenyu » Tue Feb 14, 2023 2:19 pm

STKO Team wrote:
Fri Feb 10, 2023 9:53 am
If you know a bit of Python, you can modify the script I sent you, so that every data that we put on the Plot windows, you can write it to a text file.
Give it a try, if you can't do it, we will help you
I don 't know much about python, so I ask for help from my partner, but he does not understand the relevant content of the building, so we fail. So If you can help me, I will be grateful.

STKO Team
Posts: 2257
Joined: Tue Oct 29, 2019 8:45 am

Re: Drift raio

Post by STKO Team » Tue Feb 14, 2023 5:11 pm

Try this:
DRIFT.zip
(5.07 KiB) Downloaded 86 times
It will create a folder with 1 file for each column. In each file you have 1 line for each time step.
In each line you have the time + the drifts at each floor
D.png
D.png (178.45 KiB) Viewed 3978 times

Wenyu
Posts: 25
Joined: Sat Sep 10, 2022 2:58 am

Re: Drift raio

Post by Wenyu » Sun Feb 19, 2023 2:29 pm

STKO Team wrote:
Tue Feb 14, 2023 5:11 pm
Try this:
DRIFT.zip

It will create a folder with 1 file for each column. In each file you have 1 line for each time step.
In each line you have the time + the drifts at each floor
D.png
Thank you so much

STKO Team
Posts: 2257
Joined: Tue Oct 29, 2019 8:45 am

Re: Drift raio

Post by STKO Team » Mon Feb 20, 2023 11:15 am

You're welcome

Post Reply