Ask Your Question

jfconroy's profile - activity

2019-05-02 05:09:10 -0500 answered a question User written model with internal integration method

It is certainly possible to do this, once you have a knowledge of how to initialize and change the values of VARs in your PSS/E model using the appropriate FORTRAN code. It is more important to think about why you want to do this.

2019-04-12 05:29:22 -0500 answered a question How to see the effect of wind variation on power system

You have asked a very broad question.

The most basic analysis would be a succession of load flow calculations, done in Python, recording changes in bus voltages and branch loadings as you change the wind power. The wind farms can be represented as generators, there should be no need to model them as negative loads.

If that's not what you're looking for, then you can think about dynamics simulations.

As always, try the simplest method first, and if that doesn't work, then consider something more complex.

2019-04-03 02:43:25 -0500 commented answer Dynamic gen model error

Dynamics -> solution parameters -> Time Step

2019-03-29 07:29:05 -0500 answered a question Dynamic gen model error

Unfortunately the conversion of data from DIgSILENT PowerFactory to PSS/E is not perfect. The first thing you should check after the conversion is that the power flow results match up in PowerFactory and PSS/E. Then, check that all of your dynamic models have been converted. Note that a DYR file created by PowerFactory will not include entries for dynamic models that are not found in the PSS/E library. Since you have 50 generators, you can check them one-by-one to see if all of the dynamic data has been converted. If all of the data has successfully converted then you might consider reducing the time step in PSS/E, and see if that helps.

2019-03-29 07:22:17 -0500 answered a question Rotor and phase angle

ANGL is the bus voltage angle. What you want to plot is the machine parameter ANGLE.

2019-03-29 07:19:19 -0500 answered a question How to modify an existing case data?

Consult the API Manual in the PSS/E Documentation.

2019-03-25 03:58:17 -0500 answered a question Question about user models of Library and of users models in PSSE

One comment I would make is that Siemens PTI will provide assistance with any problems you are having with built-in dynamic models. If you are having some issues with user-defined dynamic models then they are typically a lot less willing to provide assistance.

2019-03-22 05:35:18 -0500 commented question Hi guys, How do i activate a python.exe file to run externally PSSe?

My advice is to create an executable that uses the python libraries but not PSS/E. If that executable works correctly, then you know that the problem is with PSS/E.

2019-03-22 03:33:53 -0500 commented question Hi guys, How do i activate a python.exe file to run externally PSSe?

Python code that calls PSS/E will not execute on a computer that does not have a licensed version of PSS/E installed.

2019-03-16 06:33:31 -0500 answered a question INITIAL CONDITIONS SUSPECT: MODEL GENSAL STATE K

There could be any number of reasons for this. It is almost impossible for anyone to diagnose this problem without seeing the PSS/E files that caused the problem (SAV, DYR etc.)

2019-03-08 07:49:28 -0500 answered a question Uresolved external symbol error when compiling an UDM

If you're using v33+ then I'd recommend that you write a CCT model instead of a CONET model. They are much more convenient.

2019-03-06 08:09:01 -0500 answered a question Compile PSSE 32

There should be no need to modify the contents of the "compile.bat" (or "compilar.bat") file that is automatically generated by PSS/E as part of the DRYE function. If you are getting compile errors then these errors are in the Fortran code of your user-defined model.

2019-03-06 04:13:12 -0500 answered a question LCC HVDC PSS/E Modelling

"Plan A" for you should be to use one of the built-in generic models provided in the PSS/E library. I have used the CHIGATT model before and its performance agreed very well with a custom model built by a HVDC manufacturer. "Plan B" is to write your own model, which is a much more complex exercise. My advice is to stick with "Plan A" unless you have a very specific reason why you need to write your own model ("Plan B").

2019-03-05 05:46:01 -0500 commented answer How to ramp the value of exciter output voltage in dynamic simulation?

I was thinking about a ramp to the voltage setpoint. A ramp to the EFD would require a user model (either CONEC, CCT (v33+) or Exciter model).

2019-03-05 04:12:25 -0500 answered a question How to ramp the value of exciter output voltage in dynamic simulation?

You can also implement the ramp in Python code, running one simulation step at a time in a while loop, changing the value of the ramp signal as you iterate. Not the most elegant solution, but effective nonetheless.

2019-03-05 03:14:19 -0500 answered a question Sequence data for the IEEE 118 network or other network

I've looked at a few websites that are hosting IEEE network data, but I can only see RAW files. I don't see any SEQ files. Try to trace back to the original source of this IEEE RAW data; it is quite possible that SEQ files associated with these RAW files were never published.

2019-03-05 02:44:52 -0500 commented answer How to convert PSCAD model to PSS/E model ?

I would say that the most effective way to model an N-terminal VSC-HVDC system is to use N separate synchronous generators in power flow. Then, in a dynamic simulation, you will need to write a model with those N generators "talking" to each other.

2019-03-04 11:38:09 -0500 received badge  Notable Question (source)
2019-03-04 06:24:58 -0500 commented answer How to convert PSCAD model to PSS/E model ?

Your first option should be to try to use the built-in PSS/E model "HVDCPL1", for which you do not need any external compiler or capability to write user-defined models. Purchasing a compiler and learning to write your own models is a significant money&time investment.

2019-03-01 09:31:48 -0500 commented answer Getting y matrix through conet crashes pss e

It should be possible to get the Ybus through a user model, but you will have to write, test and debug this model to get it working (whether you write it as a CONEC model or something else). That seems like a lot of work when you can achieve the same objective using Python coding.

2019-02-28 02:56:38 -0500 answered a question Getting y matrix through conet crashes pss e

I agree that Python is the easier way to get what you want.

The following is a lot more work, but it might be a preferred option for you, if you want to avoid writing/using Python code for every simulation. You could also consider writing a CCT model instead of a CONEC model. This is a v33+ feature. This type of model can be written as a DLL with the functionality that you want, and unlike a CONEC model it does not have to be compiled at run time. I'd advise you to get your CONEC code working correctly before you try to convert it to a CCT model.

Happy coding!

2019-02-26 01:52:02 -0500 commented question psse ver 33 activation string

I had a similar issue. You need to contact Siemens PTI, and they will ask you to verify your identity before they provide you with the activation strings.

2019-02-22 02:46:57 -0500 received badge  Popular Question (source)
2019-02-21 06:00:57 -0500 commented answer Array UMDNAM

Thanks for the tip, it led me to find out the problem with my source code!

2019-02-20 05:38:00 -0500 asked a question Array UMDNAM

Hello all,

The PSS/E array UMDNAM contains 6-character names of user-defined generator dynamic models (USRMDLs). The latest versions of PSS/E allow for USRMDLs that have names longer than 6 characters. Does anyone know the name of the array that contains the longer names of the USRMDLs for generators?


2019-02-20 02:25:02 -0500 commented question How to calculate the governor reference?

You need to state your problem more clearly, with less ambiguity, and with more specific details. Then I am sure that some of the people with the relevant expertise who visit this site will be able to help you.

2019-01-21 10:22:10 -0500 answered a question ImportError: No module named psspy

Do a quick sanity check. Open PSSE explore, and then type

import psspy

into the Python command line. If you don't get an error message in the Output Bar, then there's some problem linking everything up externally.

2019-01-21 08:59:20 -0500 answered a question How to convert PSCAD model to PSS/E model ?

In PSS/E, there is the HVDCPL1 model, based on Siemens HVDC Plus technology, which is MMC-HVDC.

This model is available in v34.2 of PSS/E; I can't confirm if it is in earlier versions.

Your challenge is to fit your PSCAD model to the HVDCPL1 model parameters - caveat utilitor!

2019-01-18 02:12:56 -0500 commented answer Help with compiling FORTRAN Models

Use IF(MIDTRM) RETURN and remove all references to the DLTCHG parameter, and your model should compile and run correctly in dynamic simulations in v33.

2019-01-16 02:19:28 -0500 commented answer Help with compiling FORTRAN Models

As far as I am aware, DLTCHG is only relevant for extended term simulations. You should be able to use a statement like IF(MIDTRM) RETURN to avoid extended term simulations, which you are most likely not interested in. User-defined modelling is not very well documented in PSSE.

2019-01-15 11:36:55 -0500 answered a question Help with compiling FORTRAN Models

DLTCHG is the flag for a variable step size in an extended term simulation. The line of code that you posted is saying that the model execution should end if you select extended term simulation mode with a fixed time step. Are you intending to use extended term simulation mode with a variable time step? That would be MIDTRM=1 and DLTCHG=1. If not, then you can remove all references to DLTCHG in your code, and try a compile in v33. You won't lose any relevant functionality.

2018-12-21 02:10:32 -0500 commented question PV and WTG Step Change

Why don't you try that and find out if it works?

2018-12-19 10:51:39 -0500 answered a question PSSE, python, dynamic run

Look in the PSSE "Example Directory", which on my PC is here.

C:\Program Files (x86)\PTI\PSSE34\EXAMPLE

The "" file shows you the code for running PSSE simulations from Python and plotting results.

That and the PSSE API manual should give you a head start.

2018-12-13 02:24:38 -0500 commented question UDM with vars and states equal to zero during dynamic simulation

It's very difficult to debug code without actually seeing the code!

2018-12-10 07:21:28 -0500 answered a question .sav file with psse34

I presume you are talking about the *.sav file format? There are several versions of PSSE34, and the files might not be backwards compatible. For example. if you have v34.2 installed, and someone gives you a sav file that was created using v34.4, then you might not be able to open it. I would advise you to "go back to the source" and find out what version of PSSE was used to create the sav file that you cannot open.

2018-12-05 11:35:17 -0500 commented answer IEEE 118 Bus System in PSSE Try again. This is a once-off download, then the online file is deleted.

2018-12-05 03:52:23 -0500 received badge  Commentator
2018-12-05 03:52:23 -0500 commented answer IEEE 118 Bus System in PSSE

I found a v33 RAW file at the University of Illinois website. I converted this to v32, and you can download that from here.

2018-12-03 09:01:56 -0500 answered a question IEEE 118 Bus System in PSSE

If you post the RAW file here then I can import it into PSSE and then export it to v32 format, and post that for you.

2018-11-23 10:56:22 -0500 commented question PLBVFU1 Playback model

I was assuming that it was available in v33, based on the original question. Clearly that was incorrect.

2018-11-23 04:21:04 -0500 answered a question Prony Analysis

As far as I am aware, there is no built-in Prony analysis tool in PSSE. You can use Python to extract the results from a dynamic simulation. Then, you can either search for and download a Python package that does Prony analysis, or write the Python code yourself.

2018-11-23 04:14:15 -0500 commented question PLBVFU1 Playback model

I don't have v34.0.0 installed, but PLBVFU1 is available in 34.2.0 and 34.3.1, and you say that it is available in v33, so I would be surprised if it is not available in v34.0.0.

2018-11-06 02:36:47 -0500 received badge  Famous Question (source)
2018-10-26 01:40:49 -0500 answered a question Plotting a CON Parameter

Thanks for your help, I got it working.

2018-10-23 09:02:54 -0500 received badge  Notable Question (source)
2018-10-22 07:45:38 -0500 commented question Overwriting OUTX Files

Version 34.2.0

2018-10-21 03:36:44 -0500 asked a question Overwriting OUTX Files

Hello All,

I am using PSSE Dyanmics. I have run a simulation, and there is an OUTX file in memory ("V Change 5.outx").

When I try to repeat the simulation, I get this message in the Output Bar.

Insufficient access rights. V Change 5.outx (OpnApplFil/LOPEN)

This message seems to say that I do not have permission to overwrite the contents of the OUTX file, but when I run the simulation the contents of the OUTX file are overwritten, as I can see new/different simulation results in the overwritten file. Note that I have also implemented the following command. ierr = psspy.file_overwrite(1)

I don't know why PSS/E is showing this warning message about insufficient access rights. Does anyone have any thoughts?


2018-10-21 03:33:24 -0500 received badge  Popular Question (source)