Ask Your Question

cresg's profile - activity

2023-06-24 10:52:37 -0500 received badge  Famous Question (source)
2023-06-22 11:13:48 -0500 received badge  Popular Question (source)
2023-06-22 11:13:48 -0500 received badge  Notable Question (source)
2023-06-21 05:44:34 -0500 asked a question Error in loading dll file

Hi,

I created a dll file using Env Mgr Py 27. For Intel Visual Fortran, I followed the instructions in https://psspy.org/psse-help-forum/que....

The compilation was successful, and also there was no issue with the creation of dll. However, when I load the dll file in PSS/E 33.4, I get an error message that reads "Message for api ADDMODELLIBRARY, Library not found (004054)". Could this be due to the issues with the compiler or something?

Any help will really be appreciated. Thanks.

2023-01-18 23:41:44 -0500 answered a question How can i import a PSSE file in POWER FACTORY?
  • Save your PSS/E case in .raw format.
  • Open PowerFactory and go to Import option in File menu.
  • Import your .raw file.
2023-01-02 01:49:36 -0500 received badge  Famous Question (source)
2023-01-02 01:46:20 -0500 received badge  Famous Question (source)
2022-12-10 11:37:58 -0500 received badge  Notable Question (source)
2022-12-08 21:10:49 -0500 received badge  Popular Question (source)
2022-12-08 02:44:04 -0500 commented answer Getting unresolved external symbol error during creation of dll file

That worked well. Thank you.

2022-12-08 02:10:46 -0500 asked a question Getting unresolved external symbol error during creation of dll file

Hello,

I am getting 'unresolved external symbol error' while compiling and creating dll file from Fotran code.

To get line status, I am using the API:

CALL BRNINT(ICON(M),ICON(M+1),ICON(M+2),'STATUS', STATUS, IERR)

With ICON(M+2), I am getting the external symbol error. However, if I replace ICON(M+2) with '1', I get no error.

CALL BRNINT(ICON(M),ICON(M+1),'1','STATUS', STATUS, IERR)

Is it possible that the ICON(M+2) is being considered any other type other than type CHARACTER? Is there a way to fix the issue?

Thank you.

2022-12-06 19:06:13 -0500 received badge  Notable Question (source)
2022-12-06 19:06:13 -0500 received badge  Popular Question (source)
2022-12-06 11:02:34 -0500 commented answer User defined model of line relay

Thank you.

2022-12-06 06:24:09 -0500 commented answer User defined model of line relay

Thank you so much. It worked like a charm! I couldn't find 'GETFTC' in any document (POM, PAGV2, and API). Is there any other document with information on such subroutines?

2022-12-06 00:49:55 -0500 asked a question User defined model of line relay

Hi,

I am writing a line relay model in Fortran with SUBROUTINE modelname (KM,RS,ISLOT). My questions are:

  1. I see that 'KM' is the internal PSS®E double entry line array index for the line at which the model is being called. How can I make use of 'KM' in the model?

  2. How can I monitor the line current for the line at which the model is being called? The API CALL BRNMSC seems to do the job but it needs to be supplied with 'IBUS, JBUS AND ID'. Since I don't know for which line the model will be called, I cannot use BRNMSC API.

Thanks.

2022-08-18 03:26:11 -0500 received badge  Famous Question (source)
2022-08-16 23:16:40 -0500 commented answer Gnetting the generators

That's right @perolofl. I see the same results in the savnw network. However, in my case, all of the load data entries become zero, i.e., Pload=Qload=IPload=IQload=YPload=YQload=0. It may be noted that these parameters do not become right after gnetting, rather they become zero after initialization.

2022-08-16 23:16:40 -0500 received badge  Commentator
2022-08-16 23:11:00 -0500 received badge  Notable Question (source)
2022-08-16 13:09:54 -0500 received badge  Popular Question (source)
2022-08-16 00:13:05 -0500 asked a question Gnetting the generators

There are a few generators in the network whose dynamic models are not available. To proceed with dynamic simulation, I am supposed to gnet the said generators (convert them into negative loads). One strange behaviour I have noticed is that after initialization and no-disturbance run for x seconds, I see the gnetted buses have loads with 0 MW and 0 Mvar. It may be noted that the generator conversion activity is performed prior to gnetting. What could be the possible cause? Any help will be highly appreciated. Thanks.

2022-02-17 10:29:47 -0500 received badge  Famous Question (source)
2022-02-15 23:40:08 -0500 received badge  Famous Question (source)
2021-10-05 03:57:21 -0500 commented answer Dynamic simulation: oscillations without disturbance applied

It's a third-party model.

2021-10-01 02:15:33 -0500 answered a question Dynamic simulation: oscillations without disturbance applied

Update: The network had a user model for HVDC, and that's what was causing the issue. I replaced the model with a generic model and the oscillations went away. I am wondering what could be wrong with the user model since I don't have access to its source code.

2021-09-27 00:40:16 -0500 answered a question Has anyone checked the damping ratios from the channels in the .out files?

You can use PSSPLT to perform modal analysis. Please read PSSPLT Program Manual, Ch. 4.13.3 for a detailed explanation.

For multiple .out files, you can create .idv file inside PSSPLT and run it in Python.

2021-08-30 11:32:10 -0500 received badge  Famous Question (source)
2021-08-29 10:34:20 -0500 received badge  Notable Question (source)
2021-08-29 02:22:05 -0500 received badge  Notable Question (source)
2021-08-29 00:53:54 -0500 received badge  Notable Question (source)
2021-08-29 00:53:54 -0500 received badge  Popular Question (source)
2021-08-28 20:17:01 -0500 received badge  Popular Question (source)
2021-08-28 04:34:56 -0500 received badge  Popular Question (source)
2021-08-27 09:49:26 -0500 asked a question Dynamic simulation: oscillations without disturbance applied

Hi everyone,

I am running dynamic simulation for a case study. Even before applying any disturbance, I see oscillations in plots for voltages, etc. which then settle at steady-state values after about 15 seconds.

The initial conditions check comes okay when the dynamic simulation is initialized. What, then, am I missing?

Any help will be highly appreciated.

2021-08-26 00:52:41 -0500 asked a question TIOCR1 model for monitoring line current and shedding a load at a certain bus after a certain current threshold

I am using TIOCR1 line relay model for monitoring the line current and shedding the load at a particular bus after the certain line current (pu) threshold is reached.

I have defined bus number and bus ID in ICON(M+1) and ICON(M+2). I have also set ICON(M) to 1 (monitor and operation). However, the model does not shed the load despite the current reaching the threshold value. What am I missing?

2021-08-26 00:45:02 -0500 asked a question DLSHBL for monitoring rate of change of frequency

I want to use load relay model DLSHBL only for plotting bus frequency derivative stored in VAR(L+4). I don't want to define any CONS since I am only interested in the bus frequency derivative. Is this possible? I have tried it, but the plot shows zero bus derivative frequency after any disturbance.

2021-08-09 05:57:44 -0500 received badge  Notable Question (source)
2021-08-09 05:57:44 -0500 received badge  Famous Question (source)
2021-07-29 03:20:50 -0500 received badge  Famous Question (source)