I recently started to use the COM interface with Python and I’m simulating a 10 bus network as the initial step. I’m obtaining 0 values for all node voltages in this simulation.
I used the “CalcVoltageBases" and “set defaultbasefreq=50” commands as mentioned in another post and still getting the same results.
Also I get non zero voltage values when a similar code is used in Matlab .
Please find the code below. Highly appreciate if you can point out the problem in the attached code.
Hi,
I recently started to use the COM interface with Python and I’m simulating a 10 bus network as the initial step. I’m obtaining 0 values for all node voltages in this simulation.
I used the “CalcVoltageBases" and “set defaultbasefreq=50” commands as mentioned in another post and still getting the same results.
Also I get non zero voltage values when a similar code is used in Matlab .
Please find the code below. Highly appreciate if you can point out the problem in the attached code.
Thanks.
Last edit: Dilan 2019-09-09
Try
DSSText.Command ="Show Isolated"
To make sure you have everything connected
Hi Roger,
Thank you very much for the quick response.
It looks like every thing is connected from the following ISOLATED CIRCUIT ELEMENT REPORT.
Please let me know if you notice a problem in the code.
Hi Roger,
Thank you very much for the quick response.
It looks like every thing is connected from the following ISOLATED CIRCUIT ELEMENT REPORT.
Please let me know if you notice a problem in the code.
Try moving
to right after the Clear command. I suspect the circuit got defined with a source for 60 Hz.
That solved the problem.
Thank you very much for the support.