First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
I try to use EXPORTIMAGEFILE_2 on psse 35.4 to export the slider diagram but it does not work. To debug it, I recorded what I do to export an image in psse and rerun the py/idv files. But it still not working. Here is my code and output image.
psspy.opendiagfile(r"""C:\PSSE Data\2021\xxxxx\test.sld""")
psspy.exportimagefile_2(3,r"""C:\xxxxxx\graphtest\test0.png""",100,3226,1140, 1.28, 2.3,-2.1)
What I get is a white and empty pixel which is useless
2 | No.2 Revision |
I try to use EXPORTIMAGEFILE_2 on psse 35.4 to export the slider diagram but it does not work. To debug it, I recorded what I do to export an image in psse and rerun the py/idv files. But it still not working. Here is my code and output image.code.
psspy.opendiagfile(r"""C:\PSSE Data\2021\xxxxx\test.sld""")
psspy.exportimagefile_2(3,r"""C:\xxxxxx\graphtest\test0.png""",100,3226,1140, 1.28, 2.3,-2.1)
What The image that I get is a white and empty pixel which is useless