Skip to content

Commit 4f67bf9

Browse files
Support ROR dam output (RULE=0)
Added RULE=0 to the list of recognized operation strategies in the output writing logic.
1 parent 9514c21 commit 4f67bf9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

routing/model/write_routines.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ SUBROUTINE WRITE_RES
167167
ENDIF
168168
ENDIF
169169
! Write to output file: reservoir data (level,inflow,storage,outflow, hydropower)
170-
IF ((RULE .EQ. 1) .OR. (RULE .EQ. 2) .OR. (RULE .EQ. 3) .OR. (RULE .EQ. 5) .OR. (RULE .EQ. 6)) THEN
170+
IF ((RULE .EQ. 0) .OR. (RULE .EQ. 1) .OR. (RULE .EQ. 2) .OR. (RULE .EQ. 3) .OR. (RULE .EQ. 5) .OR. (RULE .EQ. 6)) THEN
171171
DO K = 1, STEPS
172172
IF (FLOWOUT(I,K)>QRESER) THEN
173173
QSPILL = FLOWOUT(I,K) - QRESER

0 commit comments

Comments
 (0)