Ask Your Question
0

Reduce the time of dynamic runing

asked 2019-10-01 16:55:02 -0500

maryam gravatar image

Hi, I have a code and in every step I should run the psse. So, I want to decrease the time for running. There is any technique for reducing the psse running time? My code is for 3 buses with two generators and it take 3-4 seconds for running. I run my code for 25 seconds. I don't know something that are in my code. For example, I don't know meaning of this: psspy.psseinit(150000) and I don't know its difference with psspy.psseinit(200). Thank you so much.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2019-10-02 03:09:11 -0500

drsgao gravatar image

This is a question about code optimisation. No one can really help without the full code.

edit flag offensive delete link more
0

answered 2019-10-01 17:18:28 -0500

acd1 gravatar image

updated 2019-10-01 17:18:52 -0500

The psspy.psseinit() API initializes an instance of PSSE with the number of buses shown in the parenthesis. So psspy.psseinit(150000) reserves enough memory for a 150,000 bus case. On the other hand, psspy.psseinit(200) only reserves enough memory for a 200 bus case. You can read more about the bus size limits in Section 3.3.1 of the PSSE v33 Program Operation Manual.

I would assume psspy.psseinit(200) would run marginally faster than psspy.psseinit(150000), but that's just a hunch. You'd have to test that for yourself.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2019-10-01 16:55:02 -0500

Seen: 645 times

Last updated: Oct 02 '19