Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hey I am not sure if this is the cause of the crash, and I know that this is 2 years after you posted the question but I found that in order to Call certain commands within FORTRAN I needed to enter the PFMODE and then run it and then re enter the DSMODE, otherwise the simulation would crash before the next timestep. Like so

CALL PFMODE(IERR)
CALL BRANCH_CHNG(222, 333, '1', INTGAR, REALAR, IERR)
CALL DSMODE(FALSE, IERR)

This may be worth looking into for others who are having a similar issue. I think it is likely that anything that uses Chapter 2 Power Flow Data commands within the FORTRAN code would likely need to be called this way.

Hey I am not sure if this is the cause of the crash, and I know that this is 2 years after you posted the question but I found that in order to Call certain commands within FORTRAN I needed to enter the PFMODE and then run it and then re enter the DSMODE, otherwise the simulation would crash before the next timestep. Like so

CALL PFMODE(IERR)
CALL BRANCH_CHNG(222, 333, '1', INTGAR, REALAR, IERR)
CALL DSMODE(FALSE, IERR)

This may be worth looking into for others who are having a similar issue. I think it is likely that anything that uses Chapter 2 Power Flow Data commands within the FORTRAN code would likely need to be called this way.way. I believe that the reason why it works when you run the simulation to the time at which the trip will occur is that, when it pauses the simulation it enters the PFMODE and when you start running to the next simulation time by using the RUN command it re enteres DSMODE, I need to confirm this in the documentation though.