First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2020-09-16 00:27:29 -0500 | received badge | ● Taxonomist |
2016-05-09 21:12:17 -0500 | marked best answer | Can you help me to review a Python program for PSS/E simulation? I now want to do simulations from Python not PSSE, but I can 't figure out how to do it. For example,trip Generator1 the out file name 1.out,trip Generator2, the out filee name 2.out.and so on. Thanks a lot! The commands are following: Is this OK? How can I do to name the outfile as a variable when the 1st (i=1) simuliatin 1.out the 2nd(i=2) simulation 2.out I do not know how to do this properly ,please give some advices,Thanks a lot! |
2014-03-17 16:59:46 -0500 | received badge | ● Famous Question (source) |
2013-12-31 18:22:24 -0500 | received badge | ● Famous Question (source) |
2013-12-06 06:15:11 -0500 | received badge | ● Notable Question (source) |
2013-12-04 07:02:39 -0500 | received badge | ● Famous Question (source) |
2013-11-20 16:02:23 -0500 | received badge | ● Notable Question (source) |
2013-11-20 00:53:48 -0500 | commented answer | Anyone can help me to debug the Python program? Thanks. it works well. |
2013-11-20 00:51:18 -0500 | commented answer | exporting dynamic simulation results to excel using python @PieterJ Use the function CHNF to output channel into excel and txt, but how do we know the channels =[1,2,3,4,5....] represent which channel. In other words, channel 1 represents what? Thanks! |
2013-11-19 22:15:13 -0500 | received badge | ● Popular Question (source) |
2013-11-19 21:24:27 -0500 | commented answer | Anyone can help me to debug the Python program? @jconto The only thing I want to do is to convert the name of files like savnw.sav bench.sav to savnw_C.sav bench_C.sav . In other words we want to get the name of savnw.sav by the format of string to use the python command sfile = "savnw"+"_C.sav" |
2013-11-19 21:11:25 -0500 | commented answer | Anyone can help me to debug the Python program? @jconto Thanks Traceback (most recent call last): File "E:\007\gensp.py", line 42, in <module> psspy.save(case_root + "_C.sav") TypeError: can only concatenate tuple (not "str") to tuple In other woeds case_root = os.path.splitext(case) type(case_root) is tuple not str |
2013-11-19 20:37:29 -0500 | commented answer | running PSSPY from Matlab @PieterJ Thanks |
2013-11-19 20:34:45 -0500 | commented answer | Anyone can help me to debug the Python program? @terrytian Thanks for your answer, but it's look like no the thing. What I want to do is to find all the .sav files in the file box E:\007 ,and convert all the generators and loads for dynamic simulation, then the converted files named like Origianl file1.sav and the new name is 1_C.sav |
2013-11-19 20:21:18 -0500 | commented answer | Anyone can help me to debug the Python program? @Saimani Kumar Python 2.7 |
2013-11-19 05:00:39 -0500 | commented answer | running PSSPY from Matlab @PieterJ The main program written by MATLAB calls python subroutines to achieve PSS/E simulation? So perfect, but how to written the MATLAB commands? |
2013-11-19 03:55:55 -0500 | received badge | ● Editor (source) |
2013-11-19 03:42:33 -0500 | asked a question | Anyone can help me to debug the Python program? I want to find all the .sav files in E:\007, and conver the generators and loads use cong( ) and conl( ) function, but there are some errors in the program I wrote, anyone can help me ? There ERRORS are as follow: |
2013-11-19 00:25:16 -0500 | commented answer | How to change spinning reserve and load level use python? @jconto "Now repeat the gen trip run with less amount of SR by taking out of the dyr file the governor model of another unit to simulate lower SR % conditions." in other words, in the 1st simulation (39bus-system),we use 10 governor models, and the 2nd simulation,we should use 9 governor models? |
2013-11-18 22:21:09 -0500 | received badge | ● Popular Question (source) |
2013-11-18 02:10:10 -0500 | received badge | ● Famous Question (source) |
2013-11-10 20:11:29 -0500 | received badge | ● Notable Question (source) |
2013-11-09 08:05:12 -0500 | asked a question | How to change spinning reserve and load level use python? In PSS/E simulation, for example ,a New England 39-bus System , How to use a Python program to set up the system of different levels for spinning reserve, for example, 5%, 10%, 15%? and different load levels for example 100%, 95%, 90% and so on? and in the simulation , for example the spinning reserve level is 15% while the load level is 90% ,we use Python to finish the psse simulation and dynamic simulation, but what shall we do to ensure the system stability and power balance(use python)? Thank you ! |
2013-10-17 22:44:03 -0500 | received badge | ● Famous Question (source) |
2013-10-17 22:43:30 -0500 | received badge | ● Popular Question (source) |
2013-10-09 08:17:35 -0500 | received badge | ● Famous Question (source) |
2013-10-02 03:19:31 -0500 | received badge | ● Notable Question (source) |
2013-10-01 22:22:23 -0500 | received badge | ● Commentator |
2013-10-01 22:22:23 -0500 | commented answer | How to output file into .xls or .txt ? @yfwing I could not find any illustration about the function CHNFexcept a few statements in dytools. So I don't know how to use the function CHNF, could you please give me some tips? Thanks |
2013-09-30 09:18:48 -0500 | received badge | ● Popular Question (source) |
2013-09-29 23:36:15 -0500 | commented answer | How to output file into .xls or .txt ? Thank you. Dear friend, I am a student in China , I want to communicate with you and learn from you,could you please tell me your email? Mine is bob1026@163.com Best Wishes! |
2013-09-29 00:48:35 -0500 | asked a question | How to output STATE and DSTATE by PSS/E dynamic simulation used Python command? I want to output the STATE and DSTATE even the formation of nodal admittance matrix Y when we simulate on PSS/E? Any Python command can do this? |
2013-09-28 04:30:25 -0500 | asked a question | How to output file into .xls or .txt ? When we do simulation on PSS/E the output file may be writtrn into .out files,but it may difficult to process the datas by matlab,so I want to out put the datas into .xls or .txt files use Python,but I don't know how to do it ? Anyone can help me ? |
2013-09-25 20:35:35 -0500 | commented question | How to describe a load with time-varying active power by Python in PSS/E simulation? I want to decribe wind machine as a time-varying load,is that OK? |
2013-09-25 14:02:17 -0500 | received badge | ● Famous Question (source) |
2013-09-25 08:52:09 -0500 | commented answer | Dynamic simulations using Python @EBahr thanks. May I have the pleasure to know your email,I want to learn from you and communicate with you, best wishes. |
2013-09-24 22:56:11 -0500 | commented answer | Dynamic simulations using Python Dear EBahr,you have done so excellent! Could you help me? I want to read the standard psspy API for learn the functions and to use psse btter. unfortunately I do not know how can I get it or where to get it,my email is bob1026@163.com. Thanks a lot! |
2013-09-24 09:49:54 -0500 | commented answer | How to use Python do such a simulation on PSSE? great! Thanks |
2013-09-23 02:00:15 -0500 | received badge | ● Notable Question (source) |
2013-09-22 19:02:19 -0500 | received badge | ● Notable Question (source) |
2013-09-22 19:02:15 -0500 | received badge | ● Famous Question (source) |
2013-09-18 23:30:32 -0500 | commented question | How to use Python do such a simulation on PSSE? dynamics dynamic simulation |
2013-09-18 23:29:43 -0500 | commented question | How to use Python do such a simulation on PSSE? Yes,this is just a project at university,please help me , thank you! |
2013-09-18 11:25:19 -0500 | received badge | ● Popular Question (source) |