First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

Reduce the time of dynamic runing

asked Oct 1 '19

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.

2 answers

Sort by » oldest newest most voted
0

answered Oct 2 '19

drsgao gravatar image

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

link
0

answered Oct 1 '19

acd1 gravatar image

updated Oct 1 '19

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.

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Oct 1 '19

Seen: 696 times

Last updated: Oct 02 '19