Dear all,

I'd like SWMM to calculate Evaporation.  I've to prepared a user prepared text file with the information listed in the manual (section "climate files"). The text file, spaced delimited, looks like:

Antwp 1998 1 1 7 5        

(Station ID, Year, month, day, max temp, min temp) 

 When i try to run a simulation I get the error 339, meaning that SWMM doesn't recognize the file.

- Is there anyone who can give me an example of a properly working User prepared climate file?

Furthermore, i've another question. As far as i know, the Hargreaves model is implemented in SWMM. This model requires the latitude of the place. I don't find any field in SWMM where i can input this info 

-Can you tell me where the information of the place latitude should be introduced?

Many thanks in advance

You need to be a member of SWMM 5 or SWMM or EPASWMM and SWMM5 in ICM_SWMM to add comments!

Join SWMM 5 or SWMM or EPASWMM and SWMM5 in ICM_SWMM

Email me when people reply –

Replies

  • The latitiude is entered in the snow melt tab of the climate editor.

          case 3: // Snowmelt params

            if ( ntoks < 7 ) return error_setInpError(ERR_ITEMS, "");

            for (i=1; i<7; i++)

            {

                if ( !getDouble(tok[i], &x[i-1]) )

                    return error_setInpError(ERR_NUMBER, tok[i]);

            }

            // --- convert deg. C to deg. F for snowfall temperature

            if ( UnitSystem == SI ) x[0] = 9./5.*x[0] + 32.0;

            Snow.snotmp = x[0];

            Snow.tipm   = x[1];

            Snow.rnm    = x[2];

            Temp.elev   = x[3] / UCF(LENGTH);

            Temp.anglat = x[4];

            Temp.dtlong = x[5] / 60.0;

            break;       case 3: // Snowmelt params

            if ( ntoks < 7 ) return error_setInpError(ERR_ITEMS, "");

            for (i=1; i<7; i++)

            {

                if ( !getDouble(tok[i], &x[i-1]) )

                    return error_setInpError(ERR_NUMBER, tok[i]);

            }

            // --- convert deg. C to deg. F for snowfall temperature

            if ( UnitSystem == SI ) x[0] = 9./5.*x[0] + 32.0;

            Snow.snotmp = x[0];

            Snow.tipm   = x[1];

            Snow.rnm    = x[2];

            Temp.elev   = x[3] / UCF(LENGTH);

            Temp.anglat = x[4];

            Temp.dtlong = x[5] / 60.0;

            break;

          case 3: // Snowmelt params        if ( ntoks < 7 ) return error_setInpError(ERR_ITEMS, "");        for (i=1; i<7; i++)        {            if ( !getDouble(tok[i], &x[i-1]) )                return error_setInpError(ERR_NUMBER, tok[i]);        }        // --- convert deg. C to deg. F for snowfall temperature        if ( UnitSystem == SI ) x[0] = 9./5.*x[0] + 32.0;        Snow.snotmp = x[0];        Snow.tipm   = x[1];        Snow.rnm    = x[2];        Temp.elev   = x[3] / UCF(LENGTH);        Temp.anglat = x[4];        Temp.dtlong = x[5] / 60.0;        break;

    • Dear Robert,

      Thanks for your quick answer.

      So for the calculation of the evaporation, i'll have to fill the latitude in the Snow melt tab

      Concerning the  user prepared climate file?

      many thanks

This reply was deleted.