Ask Your Question

HSU's profile - activity

2022-11-09 07:55:48 -0500 received badge  Famous Question (source)
2022-09-23 02:41:24 -0500 received badge  Notable Question (source)
2022-09-21 09:14:44 -0500 commented question INITIAL CONDITIONS SUSPECT in CBEST model

thanks your reply,here is the dynamics data I set.And the load flow data I only set Pgen into 100MW others parameter I use the default value.

2022-09-21 04:44:27 -0500 received badge  Popular Question (source)
2022-09-19 08:41:41 -0500 asked a question INITIAL CONDITIONS SUSPECT in CBEST model

hi everyone, I'm trying to add a CBEST model in my system,during the dynamics simulation here is the imformation from output bar,could someone help me understand how to resolve it,thanks.

INITIAL CONDITIONS SUSPECT:

  I   DSTATE(I)    STATE(I)     MODEL             STATE     BUS# X-- NAME --X BASKV  ID
 6460    1.1000       0.0000      CBEST              K+3       2       ESSG   22.800  1

CBEST dynamics data

value  descrption                                                                                                               1       PMAX (pu on MBASE)                                                                           1.1     OutEff (>= 1) Output Efficiency                                 
0.9     InpEff (<= 1) Input Efficiency                                                                  1.2     IACMAX (pu)
100     KAVR, AVR gain
0       T1, AVR time constant (sec)
1       T2, AVR time constant (sec)
0.05    T3, AVR time constant (sec) ( >0 )
10      T4, AVR time constant (sec)
1       VMAX, AVR speed limit (pu)
-1      VMIN, AVR speed limit (pu) ( <0 )
0.025   DROOP (pu)
2021-08-30 21:38:57 -0500 commented answer Create User DLL can't work

If there is any feedback,please kindly tell me or can send me more information to my e-mail M10907102@ntust.edu.tw very appreciate.

2021-08-30 21:38:57 -0500 received badge  Commentator
2021-08-30 21:38:36 -0500 commented answer Create User DLL can't work

The part of terminal message when running the python script show that “Compile models not supplied by PSS/E and create user dll”, Messages for api ADDMODELLIBRARY, Library not found (000301). But during the create dll file, I assured that it have successfully create dusur_34.dll for PSS@E 34.

2021-08-30 21:37:22 -0500 commented answer Create User DLL can't work

Thank you sir,unfortunately the dll file still can't load into. here is my procedure: 1.Built DEMOEX folder and shift UEXC.for,create_dll.py, savnw.sav & dyr,python script file in it 2.use "create_dll.py" to create the .dll and .lib file; 3. Run the python script from this folder.

2021-08-27 21:49:21 -0500 commented answer Create User DLL can't work

Thanks your reply, but it seem have the same problem when I run the code above. If there anything need to correct, please kindly tell me. Very appreciate of your help.

2021-08-27 08:59:02 -0500 received badge  Famous Question (source)
2021-08-26 19:22:06 -0500 commented answer Create User DLL can't work

Sorry sir, I really new on writing it. Can I ask more detail about "adding the full path for dll file"? Is it adding in the "create_dll.py" or adding in the "DEMOEX.f" ? And where to add if the path should add in "create_dll.py"? Very appreciate of your help.

2021-08-26 11:00:39 -0500 received badge  Notable Question (source)
2021-08-26 04:00:32 -0500 commented answer Create User DLL can't work

Thanks your reply. Now I can use DEMOEX to create dll file by "create_dll.py",But when I try load dll into PSSE,it's show " Library not found (000301) " . how to fix it? thanks

2021-08-25 19:30:04 -0500 received badge  Popular Question (source)
2021-08-25 01:15:12 -0500 received badge  Editor (source)
2021-08-24 20:37:34 -0500 asked a question Create User DLL can't work

Hello everyone, I'm new in learning user defined model. I'm trying to compile the DEMOEX by using "Create User DLL",but when I follow the PSSE environment manager user guide to run "psseenvmanager_w.pyw" here comes a problem.

Traceback (most recent call last): File "C:\Python27\Lib\site-packages\psseenvmanager\psseenvmanagerw.pyw", line 6, in <module> import commonem as comonpy ImportError: DLL load failed:The specified module could not be found.

I wondering if "common_em" is a package of python, when check my "pip list" there exist common(0.1.2),it is the same thing?

import os
import sys
PSSE_PATH = r"C:\Program Files (x86)\PTI\PSSE34\PSSBIN"
sys.path.append(PSSE_PATH)
os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_PATH
import psspy

from psspy import _i
from psspy import _f

psspy.psseinit(100000)
psspy.case(r"""C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\savnw.sav""")
psspy.fdns([0,0,0,1,1,0,99,0])
psspy.fdns([0,0,0,1,1,0,99,0])
psspy.cong(0)
psspy.conl(0,1,1,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.conl(0,1,2,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.conl(0,1,3,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.ordr(0)
psspy.fact()
psspy.tysl(0)
psspy.dyre_new([1,1,1,1],r"""C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\savnw.dyr""","","","")
#-----------load dll--------------------  
workdir = os.getcwd()
dllname= 'dsusr_34.dll'
ierr = psspy.addmodellibrary(workdir + "\\" + dllname)      #load dll   
#---------------------------------------- 
psspy.chsb(0,1,[-1,-1,-1,1,4,0])
psspy.chsb(0,1,[-1,-1,-1,1,5,0])
psspy.chsb(0,1,[-1,-1,-1,1,13,0])
psspy.chsb(0,1,[-1,-1,-1,1,16,0])
psspy.strt_2([0,1],r"""C:\Users\EE106\Desktop\try.out""")

could anyone can help me fix it? Very apperciate!! My PSSE version is 34.6.1

Messages for api ADDMODELLIBRARY Library not found (000301) "C:\Python27\Lib\site-packages\psseenvmanager\dsusr_34.dll"

2021-08-24 20:17:45 -0500 commented answer PV dynamic model Building

thanks your reply. I didn't see the illustration.Could you please send me a link? thanks a lot!

2021-08-16 01:29:40 -0500 received badge  Famous Question (source)
2021-08-12 20:11:50 -0500 received badge  Popular Question (source)
2021-08-12 20:11:50 -0500 received badge  Notable Question (source)
2021-08-11 04:51:46 -0500 asked a question PV dynamic model Building

Hi everyone,

I want to build a PV dynamic model, the model has its own control strategy, in the other words,if I have the PV model block diagram,how can I build and run dynamic simulation in PSSE?

Also I want to ask if there's someone know GMB(Graphical Model Builder) can build PV or ESS dynamic model and run the simulation in PSSE or not?

Thank you for your help

2021-07-08 01:45:01 -0500 received badge  Enthusiast
2021-06-26 21:30:23 -0500 commented answer Environment Manger Problem with Compilation

Thank you very much

2021-06-25 02:57:43 -0500 commented answer Environment Manger Problem with Compilation

Very appreciate of your reply. I still wondering, without using EM can I use the latest Visual Studio & Intel fortran compiler(installed by "Intel oneAPI HPC Toolkit") to make the dsusr.dll? thanks your answer.

2021-06-24 03:29:19 -0500 commented answer Environment Manger Problem with Compilation

Hi jconto,can I ask you where to find and download Intel Visual Fortran? I'm just starting to learn how to write the UDM and try to compile the fortran code to dsusr.dll by Environment manager. I already install the VS 2013 but still can't found where can download the IVF 15.0.221. thanks