Ask Your Question

Sarina's profile - activity

2016-01-22 08:07:59 -0500 commented answer Accessing and loading user .dll from Python in PSS/e V30

Thank you very much for your comments and suggestion on trying on another example system. I will try on your example system. This is a great help. Thanks a lot.

2016-01-21 05:14:23 -0500 commented answer Accessing and loading user .dll from Python in PSS/e V30

Here is my python code to load respective files. Is there any problem here? Looks like we need to specify powerflow and dynamic modes in PSSeV30 ierr = psspy.powerflowmode() psspy.case("xyz.cnv") psspy.ordr() psspy.fact() psspy.tysl() ierr = psspy.dynamicsmode(1) ierr = psspy.rstr("abc.snp")

2016-01-20 21:59:40 -0500 commented answer Accessing and loading user .dll from Python in PSS/e V30

Yes, after compiling and linking new dsusr.dll is created which would replace the old one. I have never deleted the old one but the new one would overwrite the previous one. The model entries of UDM are correct in the .dyr file. Thank you.

2016-01-20 11:01:12 -0500 answered a question Accessing and loading user .dll from Python in PSS/e V30

Thank you for your answer. I have done the same but I keep on getting the message : "User model is not accessible". Do you know what might have caused that?

Thank you.

2016-01-19 19:42:18 -0500 received badge  Popular Question (source)
2016-01-19 19:42:18 -0500 received badge  Famous Question (source)
2016-01-19 19:42:18 -0500 received badge  Notable Question (source)
2016-01-13 10:14:21 -0500 asked a question Accessing and loading user .dll from Python in PSS/e V30

Dear All,

I am using Python for PSS/e V30. When I looked at the API for V30, there is no function in PSSE 30 like ADDMODELLIBRARY() in the newer PSS/e Version 33. So, I was wondering if someone can suggest a way to access and load the .dll of user defined model using Python command. I am not able to find it. Can anyone suggest please? Your help would be much appreciated.

Thank you.

2016-01-12 13:27:42 -0500 received badge  Famous Question (source)
2016-01-08 15:00:06 -0500 received badge  Popular Question (source)
2016-01-08 15:00:06 -0500 received badge  Notable Question (source)
2016-01-07 07:39:33 -0500 asked a question USER model GENROA not accessible Message in PSS/e 30

Dear all,

While running the dynamic simulation from Python, I am getting the message:"User model GENROA not accessible."

GENROA is not even the user defined model but the model already present in the PSS/e library. I am not sure what this message is trying to say. Can anyone please help?

Greatly appreciate it.

Thank you.

2015-12-12 17:57:47 -0500 received badge  Famous Question (source)
2015-12-11 23:02:57 -0500 received badge  Notable Question (source)
2015-12-10 21:08:31 -0500 received badge  Popular Question (source)
2015-12-07 13:06:08 -0500 received badge  Editor (source)
2015-12-07 13:00:32 -0500 asked a question PSS/e University 32 free download

Hello all,

I need PSS/e version 32 to test on some models that was built using this version for research purposes. Does anyone of you know if we can get the university version of PSS/e 32 freely downloadable. If yes, I would appreciate if you could provide me a link to download it.

Your help in this regard would be highly appreciated.

Thank you.

2015-07-16 20:58:20 -0500 received badge  Famous Question (source)
2015-07-14 08:01:47 -0500 received badge  Notable Question (source)
2015-07-02 01:27:56 -0500 received badge  Popular Question (source)
2015-06-30 11:11:52 -0500 asked a question How to run response file (.idv) from Python in PSS/e Version 30

Hi all,

I had been using PSS/e Version 33 and had been using psspy.runrspnsfile(filename.idv) to run response file from Python directly. Now, I have to use Version 30 and I am not able to find runrspnsfile API in this version. Does anyone know how can we run the .idv file from Python for Version 30?

Any suggestions or help would be greatly appreciated.

Thanks Sarina

2015-06-11 15:14:16 -0500 received badge  Famous Question (source)
2015-04-25 05:23:54 -0500 received badge  Notable Question (source)
2015-04-23 14:57:48 -0500 commented question Which language (Python Vs FORTRAN) is better for Algorithm development in PSS/e?

Thank you yfwing for your helpful answer. I am trying to do the dynamic state estimation in which I continuously need the updated DSTATE. I understood that STATE can be accessed with Python but not sure about DSTATE in dynamic simulation. So, according to your suggestion, I guess Fortran is better??

2015-04-23 14:52:38 -0500 received badge  Popular Question (source)
2015-04-22 09:39:25 -0500 asked a question Which language (Python Vs FORTRAN) is better for Algorithm development in PSS/e?

Dear all,

I need to write an online state estimator program in PSSE. I have some experience with Python and know it better than Fortran. So, I was thinking of using Python to write this program as well. Can anyone suggest if it can be done with Python or it has to be done with Fortran?

Is it possible to access the system DSTATE by using Python? I might need to access this matrix while writing this program. Also, I might need to solve the differential equations. I do not have any way of comparing the usage and features of Fortran Vs Python to perform this job.

Could anyone suggest something? I would greatly appreciate the answers.

Thank you very much in advance.

2015-04-22 09:29:49 -0500 received badge  Famous Question (source)
2015-04-16 15:35:34 -0500 commented question Debugging the Python code during PSSe dynamic simulation

Thank you for your answers. Yes, I figured out that pdb.set_trace() works well if you want to do line by line debug. Also, print command helps a lot. But Does anyone know of a way to send the control to for example the next breakpoint as we do in Matlab? Please suggest.

2015-04-15 15:49:51 -0500 received badge  Notable Question (source)
2015-04-15 13:14:40 -0500 received badge  Popular Question (source)
2015-04-14 13:59:40 -0500 asked a question Debugging the Python code during PSSe dynamic simulation

Dear all,

I need to debug the Python code during the runtime of Psse dynamic simulation to check the values in the variables that I have used and also to see the flow of the program that I have written. Could anyone please help with a way to do this?

Thank you in advance

2015-02-10 08:57:12 -0500 commented question Version issue in the PSS/e dynamic model !!!

Thank you very much for your valuable suggestions. I will try to check if there are any syntax changes or any modeling changes between these two versions. Yes, I am using Windows 7, so perhaps trying XP compatibility mode is a good idea. Thank you.

2015-02-09 09:30:58 -0500 commented question Version issue in the PSS/e dynamic model !!!

Thank you for replying to my post. I am trying to run the .idev file created in V28 in PSS/e 32. While doing this, PSS/e always crashes without any message. So, I cannot figure out the problem. There are several user defined models created in V28 as well. Hope you can help. Thanks!!!

2015-02-08 20:41:27 -0500 received badge  Popular Question (source)
2015-02-08 20:41:27 -0500 received badge  Famous Question (source)
2015-02-08 20:41:27 -0500 received badge  Notable Question (source)
2015-02-06 10:49:04 -0500 asked a question Version issue in the PSS/e dynamic model !!!

Hello, I am trying to use the PSSE dynamic models created in V28 with the V32/33 but I am not able to make it to work. Is there a compatibility issue between V28 and V32 regarding the model details? Could someone help with this? Thanks!!!