model writing
I am writing an OLTC model for a 2-winding transformer. I was using IC=302 in the model call in the dyre file. The model is referred to as a CCT type model. My subroutine statement is: SUBROUTINE TAP_CHNG(KM, ISLOT). My question is: how do I identify the Frombus, Tobus and ckt ID of the transformer from KM? I could add ICONs that specify Frombus, Tobus and ckt ID, but that leaves the possibility that these ICONs could be inconsistent with the specification of these in the model call in the dyre file.
It would be greatly appreciated if someone could provide me with an answer to this question.
Willem