My output from python is different from PSSE
Hello! I am trying to run some dynamic simulations in a small network. I used the .sld, .sav, and .dyr to run the simulation in PSSE to make sure that it was working correctly. Then I wanted to run it through Python to automate it but when I looked at the output from the python code I thought it looked slightly different. I thought that the simulation in PSSE might use some different command so I went into PSSE again and recorded the process of: 1. doing a load flow, 2. converting loads and generators, 3. loading the .dyr-file. 4 setting up the channel wizard, 5 running the simulation where I apply a fault at a particular bus for 100 ms.
When I stopped the recording and looked at the generated python code I thought it looked very similar to the one I had been using before. I tried running the generated code and compared the output coming directly from PSSE. To my surprise, there was still a small difference. The output file from PSSE is also slightly bigger (119 kb vs 114 for python).
I would provide a picture of a voltage graph but the forum won't let me.
Are you talking about the size of the out-file?
@perolofl Yes, the sizes of the files are different but the values are also different. For example, when I look at the voltage at one of the buses during a fault the oscillation that happens after the fault has a smaller amplitude in the file that I get when running through python
Execute the python script from PSSE and check the results.
@perolofl How do I do that? I can't find where I should paste the code.
Use "Run program Automation file...".