Ask Your Question
0

PSS/E and Python and Conec File interface [closed]

asked 2014-08-06 00:23:56 -0500

anonymous user

Anonymous

Hello,

I have some question about interface among PSS/E and Python and Conec File(Fortran).

my question is how to give a variable to Conec File from Python?

For example, I will call the PSS/E and calculate something using Python.

Then I want to give a variable to Conec File(Fortran) from Python for changing the input data of Generator model.

How can I solve this problem?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by petite cho
close date 2017-01-23 20:07:34.714424

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-08-08 08:42:11 -0500

EBahr gravatar image

If I recall correctly, there is no data stored in the conec/conet files. I think what you are going to want to do is either modify the .dyr call before you load it in, or use the change_con or change_icon functions to change the value after your dynamics data is loaded.

edit flag offensive delete link more

Comments

Yes, that is right. You can change the value of VAR once you know it's exact VAR location after the dynamics data is uploaded.

Nihal Mohan gravatar imageNihal Mohan ( 2014-09-08 15:15:30 -0500 )edit
1

answered 2014-09-04 23:49:36 -0500

Nihal Mohan gravatar image

I had similar query. Please refer to this answer by Siemens PTI for conec/ conet models for PSSE. As mentioned by them, you cannot access and hence change variables in conec/ conet types models , unless you convert them to non-conec/ conet types. This can be done following the procedure laid out by PTI in some white paper they published for conversion. ( Unfortunately I an unable to upload it here) https://psspy.org/psse-help-forum/question/1887/is-there-an-api-to-fetch-the-starting-var-location-of-a-user-written-say-hvdc-model-from-the-snap-shot/

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-08-06 00:23:56 -0500

Seen: 1,181 times

Last updated: Sep 04 '14