Skip to content

How to speed up response from RFEM #220

Closed Answered by dogukankaratas
BurakYyurt asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @BurakYyurt ,

I just made slight changes and improved the performance of your script.

Load Application

For the creation of load, please use Model class with True, with this you can avoid connection for every loop and therefore you'll gain some time. Also please add begin and finish modification this will help to improve connection time.

Your script was taking 595 sec (which is not efficient at all), with the script below you can execute same operation in 18 sec.

from RFEM.initModel import Model
from RFEM.LoadCasesAndCombinations.loadCase import LoadCase
from RFEM.Loads.membersetload import MemberSetLoad
from RFEM.enums import MemberSetLoadDistribution, MemberSetLoadDirection
import time

Replies: 4 comments 3 replies

This comment has been minimized.

@BurakYyurt

This comment was marked as off-topic.

Comment options

You must be logged in to vote
2 replies
@BurakYyurt
Comment options

@dogukankaratas
Comment options

Answer selected by dogukankaratas
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants