Ask Your Question
0

User-written Model

asked 2022-04-24 00:03:08 -0500

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.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2022-04-24 02:06:21 -0500

snj gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2022-04-24 00:03:08 -0500

Seen: 68 times

Last updated: Apr 24