Ask Your Question

patrickrossiter's profile - activity

2021-03-17 06:45:02 -0500 received badge  Popular Question (source)
2021-03-17 06:45:02 -0500 received badge  Famous Question (source)
2021-03-17 06:45:02 -0500 received badge  Notable Question (source)
2020-11-08 13:38:02 -0500 received badge  Famous Question (source)
2020-07-23 06:39:00 -0500 received badge  Famous Question (source)
2020-05-28 22:55:49 -0500 received badge  Notable Question (source)
2020-05-28 21:23:54 -0500 commented answer PLBVFU1 with network frequency dependence enabled

I found that this can be replicated in jconto's working directory by changing the machine impedance on line 164 of "playback.py" from 0.0005 to 100 (or something) and re-running the study.

2020-05-28 21:23:54 -0500 received badge  Commentator
2020-05-28 21:22:49 -0500 commented answer PLBVFU1 with network frequency dependence enabled

Hi Perolofl, Thanks for your answer, unfortunately it doesn't seem to work when the IB machine has any current flowing through it. The high source impedance means that the internal voltage is enormous and the simulation ends up with a lot of NaNs very quickly.

2020-05-27 14:15:53 -0500 received badge  Popular Question (source)
2020-05-27 00:20:50 -0500 asked a question PLBVFU1 with network frequency dependence enabled

Hi there, I am having an issue using PLBVFU1 when network frequency dependence is enabled.

What I am finding is that when I use PLBVFU to cause a frequency disturbance and have frequency dependence switched on, the voltage on the infinite bus varies proportionally to the frequency. For example, if I start Vinf = 1.03 and ramp the frequency from 50 Hz to 47 Hz (6% decrease), the voltage also reduces by 6%, to 0.968. When the frequency returns to nominal, the voltage returns to the original value.

I have verified this on the following two cases and the performance is the same:

  1. jconto's working directory (I can't link to it here but it's under the question "Example using PLBVFU1 playback generator") - if I enable frequency dependence then the voltage in the out file is about 0.3% lower the voltage in the plb file while the frequency is low.
  2. I setup a case which has only one machine connected to a bus and no other network elements. The same behaviour is shown.

I have attempted to compensate for this by increasing the voltage in the PLB file by the same amount that it decreases in the simulation. However the voltage is still distorted when the frequency is ramping.

Has anyone else come across this bug? Is there a way around it, other than what I have shown above?

2020-05-15 18:56:58 -0500 received badge  Editor (source)
2020-05-15 18:52:47 -0500 asked a question Changing Environment Manager settings

Hi there, Does anyone know an easy way to change the LIB and PATH settings in the Environment Manager? I’m getting errors when linking models and I believe it is because the correct directories are not in the settings.

Thanks, Patrick

2019-11-13 00:56:25 -0500 received badge  Famous Question (source)
2019-11-12 18:03:20 -0500 answered a question Error compiling multiple .F files into single DLL

The answer to this problem was that I had the following code at the end of all of my .F files:

END SUBROUTINE
END

The second "END" did not have a matching statement and when it was removed I was able to compile all three files into a single DLL as required.

2019-11-12 18:01:02 -0500 commented answer Calling API in Fortran

Thanks for your reply, I have just seen this and this was the cause of my issue as well. I was passing an integer for the IB argument, when the routine needed a string.

2019-09-02 20:52:03 -0500 answered a question delete the message at academic version

This message appears in the commercial version as well. I don't think it can be removed.

2019-08-27 23:38:14 -0500 received badge  Notable Question (source)
2019-07-04 03:28:34 -0500 received badge  Famous Question (source)
2019-07-03 01:43:37 -0500 received badge  Popular Question (source)
2019-07-01 00:21:47 -0500 answered a question Error and suspect during initialization

I think that the error you are seeing is unrelated to the PSS messages you are getting. LUT generally stands for lookup table. I would suggest looking at UEL models and seeing whether any machines are outside their reactive limits, or active power greater than PMAX.

I would start looking at the swing bus, and then any machines you have added to the case (or other machines in the area) which have a terminal voltage of 0.9861 pu. Did you get any suspect initial conditions?

2019-06-30 20:36:14 -0500 commented question Error compiling multiple .F files into single DLL

Also worth noting that I do not have any "main"s in the .F files, and only subroutines have been used (i.e.no programs)

2019-06-30 18:03:18 -0500 asked a question Error compiling multiple .F files into single DLL

Hi there, I am trying to compile multiple Fortran files into a single DLL and am getting the following message when creating the DLL. The files AVR1OEL.F, AVR1UEL.F and AVR1_AVR.F all compile correctly on their own and I can create three usable DLLs, but I want to have only one DLL which contains all three models. Any ideas what is going wrong here?

     link /INCREMENTAL:NO /NOLOGO /DLL /SUBSYSTEM:WINDOWS /MACHINE:X86 /ERRORREPORT:PROMPT
@"C:\Users\Patrick\.pssenvmgr\linkfilestvxtmu.txt" /OUT:"C:\Users\Patrick\.pssenvmgr\AVR1_v34.5.dll"
/map:"C:\Users\Patrick\.pssenvmgr\AVR1_v34.5.map"

 AVR1_OEL.obj : error LNK2005: _MAIN__ already defined in AVR1_AVR.obj
 AVR1_UEL.obj : error LNK2005: _MAIN__ already defined in AVR1_AVR.obj
 C:\Users\Patrick\.pssenvmgr\AVR1_v34.5.dll : fatal error LNK1169: one or more multiply defined symbols
found

 ERROR during link(1)... Aborted
2019-05-08 14:48:53 -0500 received badge  Notable Question (source)
2019-05-05 20:19:28 -0500 received badge  Popular Question (source)
2019-05-05 18:23:57 -0500 commented answer Calling API in Fortran

Would you be able to send me the file that you were able to successfully compile?

2019-05-05 18:23:28 -0500 received badge  Notable Question (source)
2019-05-04 21:56:50 -0500 asked a question psse.lib file not found

Hi there, Quick question - should there be a psse.lib file in my PSSE34 directory?

Thanks, Patrick

2019-05-03 00:51:14 -0500 commented answer UDM Compile by Environment Manager

Hi there, Can you please share exactly how you were able to add PSSLIB10 to the path? Thanks, Patrick

2019-05-03 00:11:45 -0500 received badge  Enthusiast
2019-05-02 04:03:55 -0500 received badge  Popular Question (source)
2019-05-02 00:57:01 -0500 commented answer Calling API in Fortran

Thanks for your help. I am using the EM. What are you including in your .F file? I am only using INCLUDE 'COMON4.INS'. I have previously had a feeling that my EM is not set up correctly but I am finding it hard to diagnose.

2019-05-01 22:36:51 -0500 commented answer Calling API in Fortran

Yes, I have used the following line for that but it is still unresolved. EXTERNAL BADMID, DOCUHD, MDLIND

2019-04-30 20:05:42 -0500 asked a question Calling API in Fortran

Hi there, I am writing a user written model in Fortran and want to use one of the API routines in the model (specifically, MDLIND). When I include the following code:

CALL MDLIND(I, IB, 'EXC', 'STATE', IVAL, IERR)

I am unable to compile the code because of an unresolved external symbol. However I do not know where the API routines are defined and what file to include. Can anyone help?

2019-04-30 20:05:10 -0500 asked a question Calling API in Fortran

Hi there, I am writing a user written model in Fortran and want to use one of the API routines in the model (specifically, MDLIND). When I include the following code:

CALL MDLIND(I, IB, 'EXC', 'STATE', IVAL, IERR)

I am unable to compile the code because of an unresolved external symbol. However I do not know where the API routines are defined and what file to include. Can anyone help?

2019-02-05 04:41:12 -0500 received badge  Notable Question (source)
2018-10-30 16:03:34 -0500 received badge  Popular Question (source)
2018-07-15 18:15:48 -0500 commented answer Error: unexpected APIOPT value

This is a great answer!

2018-07-11 20:27:40 -0500 answered a question Playback multiple gen units

Do you have an example input file we could start with?

2018-07-11 20:17:40 -0500 asked a question PSSE crashing when using pssaccss

Hi there,

I am having some difficulty using pssaccss in PSSE v34.1.1. When trying to extract some data from a .acc file, PSSE just crashes with no explanation. Below is the code which is causing the issue. Has anyone used pssaccss successfully?

On a related note, I notice that when printing dir(pssaccss), none of the methods listed match those described in the manual. Why is this? This is why i am using acccfileinit rather than acccfileinitialize, because acccfileinitialize does not appear in pssaccss.

accfile = 'ascc - SpL16.acc'
accsize = [1] * 21
n = pssaccss.accc_file_init(accfile, accsize)
2017-11-21 22:05:44 -0500 answered a question Library not found error

I believe this is an issue with v34.3. Use v34.2 or earlier.

2017-11-16 00:34:03 -0500 commented question user defined library in PSSE34 - Library not found

I am having the same issue - were you able to find a solution?