First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

User-written Model

asked Apr 24 '2

snj gravatar image

I write a user-written model, specifically a CCT type user-written model. dyr data is like:

6 'USRBRN' 9 '2 ' 'MESBRN' 301 2 0 0 0 20 /

And the Fortran code is like:

subroutine mesbrn(km, islot)
......
    return
end subroutine

When I load the dll and run the simulation, there is always a message saying:

 CCT TYPE USER DEFINED MODEL "
 TO BUS      9 [BUS__6__    230.00] CKT 2  NOT ACCESSIBLE

CAN SOMEONE HELP ME TO SOLVE THE PROBLEM. THANKS.

1 answer

Sort by » oldest newest most voted
0

answered Apr 24 '2

snj gravatar image

I have solved the problem by changing IT from 2 to 0.

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Apr 24 '2

Seen: 469 times

Last updated: Apr 24 '22