Ask Your Question

Mohamed_M's profile - activity

2023-10-23 12:29:14 -0500 commented answer What techniques do you use to track down bugs in your PSS/E scripts?

Thanks. Another tip would be to enclose any error that you are OK with inside a 'Try: ... Exception:..." block. So, you can have certain parts of your code behave the old way of silently continuing after an error, while the rest raises errors

2023-10-11 11:24:55 -0500 received badge  Necromancer (source)
2023-10-11 11:24:55 -0500 received badge  Teacher (source)
2023-10-10 17:23:02 -0500 answered a question How to ignore pssplot's error message

Enclosing the statement with a Try Catch block should solve this issue, but you need to only enclose the lines that cause the issue and then find an appropriate way for the rest of your code to work with the fact that you are now "skipping" these codes when they have errors

try:
   # enter problematic code here
except:
   # enter the code of what to do when the issue happens here 
   #(maybe a "warning" print, or assign dummy values to the variables)

Hope this solves your issue

2023-10-06 10:35:15 -0500 received badge  Famous Question (source)
2023-10-04 12:51:07 -0500 commented answer Couldn't install packages for DMView

you can try this for your certificate issue $ pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org <package_name> see: https://stackoverflow.com/questions/25981703/pip-install-fails-with-connection-error-ssl-certificate-verify-failed-certi

2023-10-02 17:39:20 -0500 received badge  Famous Question (source)
2023-09-29 10:08:41 -0500 received badge  Student (source)
2023-09-29 08:07:06 -0500 received badge  Notable Question (source)
2023-09-28 15:24:18 -0500 received badge  Popular Question (source)
2023-09-28 12:27:30 -0500 received badge  Supporter (source)
2023-09-27 17:21:43 -0500 received badge  Editor (source)
2023-09-27 17:18:13 -0500 asked a question How to know if my code requires a Fortran redistributable or Fortran Compiler?

According to PSSE documentation, Fortran redistributable is sufficient to "use" user defined models supplied to you by others, but if you want to "compile Fortran code" you would need a Fortran compiler. However, my confusion is that sometimes models are sent as .obj and .lib files and would need to be compiled to dsusr.dll using Cload.bat. In this case, is the redistributable sufficient? or do I need the Fortran compiler?

Also, in general how do I know if Fortran redistributable is sufficient or I need Fortran Compiler?

(Apologies if this sounds like a basic question, but I am very new to Fortran)

2023-09-27 09:34:09 -0500 received badge  Enthusiast
2023-09-25 15:34:38 -0500 commented answer Informations about user defined gov model BPA GG

The powerWorld documentation link is: (https://www.powerworld.com/WebHelp/Content/TransientModels_HTML/Governor%20BPA_GG.htm?tocpath=Transient%20Stability%20Add-On%20(TS)%7CTransient%20Models%7CGenerator%7CGovernor%7CBPA%20Governors%7C_____1)%3C/p%3E (https://www.powerworld.com/WebHelp/Content/TransientModels_HTML/Governor%20BPA_GG.htm?tocpath=Transient%20Stability%20Add-On%20(TS)%7CTransient%20Models%7CGenerator%7CGovernor%7CBPA%20Governors%7C_____1))

2023-09-25 15:32:34 -0500 answered a question Informations about user defined gov model BPA GG

The BPA GG model is a simplified hydro gov model that has limited parameters as shown in the documentation of PowerWorld. There is nothing identical to it in PSSE, but since it is just two lead-lags, two integrators and one limiter, you could get a similar (but not identical) behaviour by using more advanced hydro governor models and then using the values of 0, 1 and 99 to bypass other models as needed(e.g., 1 for gains, 99 for limits and 0 for time constants and gains that needs eliminating).

You can try the WSHYGP model (WECC GP Hydro Governor Plus Turbine) as it has enough components, but at the same time not too complex. However, the only thing missing is that it starts with an integrator, rather than a lead-lag

2023-09-25 09:49:37 -0500 received badge  Scholar (source)
2023-09-25 09:39:46 -0500 received badge  Notable Question (source)
2023-09-25 09:29:29 -0500 received badge  Autobiographer
2023-09-23 07:56:51 -0500 received badge  Popular Question (source)
2023-09-22 16:04:08 -0500 asked a question Using PSSE 35 with IVF 14 or earlier

For User defined models (DLLs), PSSE 35 requires having Intel Visual Fortran Compiler (IVF) 15 or later to compile DLLs. However, if the models are already "PSSE34 or prior" compatible, is there a way to use PSSE35 with older IVF versions ? or I am required to use IVF15 or later?