First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Both CURNT and VOLT are indexed by IB (bus sequence number).
You must calculate IB after ENTRY TEST. As it is now IB is not set before you use it in CURNT(IB) = statement.
Also, normally there is a RETURN before the ENTRY point, i.e. CONEC-part of the subroutine returns before the code for CONET.