I am having a confusing issue about DSTCP, We would like to extract Active and Reactive Powers and even the current for all the 32 loads in the 33 bus system, we tried this:
however, if we try it with load3 or 4 it could be the same value over and over, which is basically an issue.
We tried as well:
current = ODGTCP.getLoadsCurrents()
but it gives a list of 256 values that we fail to understand the meaning of the values inside? which one is which ? we only need the P,Q,C of load 2 to 33 one by one as we save them in files.
Looking forward to your reply.
best regards,
Dhiaa.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please check the script attached, it shows how to use it. There is also a problem with the python package that can be easily solved. Please replace the package attached in your computer to solve the issue.
BTW, we know you are there, so please stop posting the same question several times, that will not bring us faster. It's a bad practice. I'll remove the repeated threads.
A quick question about the currents, I can see it is giving the 3 phases of load 2, In case I would like to get the values of the currents for the rest of the loads how can we do that?
best regards,
Dhiaa.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Each current is delivered as a complex number (real, imag), which is represented as a pair of doubles. The currents are given per phase and the order is the same order of the load names delivered in line 34 (loadnames).
So, assuming that all the loads are 3 phase (it could be different, but you can check it out), cells 0 to 5 are the currents for the first load, cells 6 to 11 are the currents for load 2, and so on. I'm pretty sure you can write a simple routine to extract them from the array and convert them into polar numbers.
Best regards
Davis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear All,
I am having a confusing issue about DSTCP, We would like to extract Active and Reactive Powers and even the current for all the 32 loads in the 33 bus system, we tried this:
however, if we try it with load3 or 4 it could be the same value over and over, which is basically an issue.
We tried as well:
but it gives a list of 256 values that we fail to understand the meaning of the values inside? which one is which ? we only need the P,Q,C of load 2 to 33 one by one as we save them in files.
Looking forward to your reply.
best regards,
Dhiaa.
Hello,
Please check the script attached, it shows how to use it. There is also a problem with the python package that can be easily solved. Please replace the package attached in your computer to solve the issue.
BTW, we know you are there, so please stop posting the same question several times, that will not bring us faster. It's a bad practice. I'll remove the repeated threads.
Best regards
Davis
The DSSGTCP library to be replaced.
Best regards
Davis
Dear Davis,
I appreciate the reply, and solving the issue.
I do apologize also for this, it's just I witnessed the reply took longer than usual, so I thought maybe you did not notice it.
Thank you so much again.
Best Regards,
Dhiaa.
Dear Davis,
A quick question about the currents, I can see it is giving the 3 phases of load 2, In case I would like to get the values of the currents for the rest of the loads how can we do that?
best regards,
Dhiaa.
Hello,
Each current is delivered as a complex number (real, imag), which is represented as a pair of doubles. The currents are given per phase and the order is the same order of the load names delivered in line 34 (loadnames).
So, assuming that all the loads are 3 phase (it could be different, but you can check it out), cells 0 to 5 are the currents for the first load, cells 6 to 11 are the currents for load 2, and so on. I'm pretty sure you can write a simple routine to extract them from the array and convert them into polar numbers.
Best regards
Davis