Revision history [back]
Can you tell if a branch is a transformer or non-transformer based on "fromBus", "toBus" info?
Hi all,
Now I have a list of interesting branches that contain only the "fromBus", "toBus" and "ckt id" for each branch. I wonder if there is any API can tell is a particular branch is a transformer or not just based the above information.
My intention to do this is to trip each branch in the list using appropriate "data change" function, i.e. non-transformer branch should use "branch_chng" and two winding transformer needs to use "two_winding_chng_4".
So currently I think of a "OKAY" solution that works as follows:
- first pretend the currently considered branch is a non-transformer and try to trip it (change its status from 1 to 0) using
"branch_chng"API and ifierr = 0, then proceed to next step, ifierr =3(if all input options were good, deal with the exception case, i.e. errors other than 0 and 3), it means it is a transformer branch, then switch to"two_winding_chng_4"API.
Yaping
Can you How to tell if a branch is a transformer or non-transformer based on "fromBus", "toBus" info?branch?
Hi all,
Now I have a list of interesting branches that contain only the "fromBus", "toBus" and "ckt id" for each branch. I wonder if there is any API can tell is a particular branch is a transformer or not just based the above information.
My intention to do this is to trip each branch in the list using appropriate "data change" function, i.e. non-transformer branch should use "branch_chng" and two winding transformer needs to use "two_winding_chng_4".
So currently I think of a "OKAY" solution that works as follows:
- first pretend the currently considered branch is a non-transformer and try to trip it (change its status from 1 to 0) using
"branch_chng"API and ifierr = 0, then proceed to next step, ifierr =3(if all input options were good, deal with the exception case, i.e. errors other than 0 and 3), it means it is a transformer branch, then switch to"two_winding_chng_4"API.
Yaping
How to tell if a branch is a transformer or non-transformer branch?
Hi all,
Now I have a list of interesting branches that contain only the "fromBus", "toBus" and "ckt id" for each branch. I wonder if there is any API can tell is a particular branch is a transformer or not just based the above information.
My intention to do this is to trip each branch in the list using appropriate "data change" function, i.e. non-transformer branch should use "branch_chng" and two winding transformer needs to use "two_winding_chng_4".
. So currently I think of a "OKAY" solution that works as follows:
- first pretend the currently considered branch is a non-transformer and try to trip it (change its status from 1 to 0) using
"branch_chng"API and ifierr = 0, then proceed to next step, ifierr =3(if all input options were good, deal with the exception case, i.e. errors other than 0 and 3), it means it is a transformer branch, then switch to"two_winding_chng_4"API.
Yaping
How to tell if a branch is a transformer or non-transformer branch?
Hi all,
Now I have a list of interesting branches that contain only the "fromBus", "toBus" and "ckt id" for each branch. I wonder if there is any API can tell is a particular branch is a transformer or not just based the above information.
My intention to do this is to trip each branch in the list using appropriate "data change" function, i.e. non-transformer branch should use Thanks a "branch_chng" and two winding transformer needs to use "two_winding_chng_4". So currently I think of "OKAY" solution that works as follows:lot.
- first pretend the currently considered branch is a non-transformer and try to trip it (change its status from 1 to 0) using
"branch_chng"API and ifierr = 0, then proceed to next step, ifierr =3(if all input options were good, deal with the exception case, i.e. errors other than 0 and 3), it means it is a transformer branch, then switch to"two_winding_chng_4"API.
Yaping
