User's Guide BFI: 1 2 Running The Program 1 3 Input Data 2 4 Calculation 2 5 Output 3
User's Guide BFI: 1 2 Running The Program 1 3 Input Data 2 4 Calculation 2 5 Output 3
User's Guide BFI: 1 2 Running The Program 1 3 Input Data 2 4 Calculation 2 5 Output 3
Contents
1 Introduction 1
2 Running the program 1
3 Input Data 2
4 Calculation 2
5 Output 3
5.1 Graph 3
5.2 Results: Annual values 3
5.3 Results: Whole series 3
5.4 Season Information 4
5.5 Series Information 4
6 Reset 4
1 Introduction
This program performs a separation of the base flow from the total streamflow and calculates the
Base Flow Index (BFI). It is written as a Visual Basic Application within Excel and contains the
sample data used in Worked Example 5.3 of the Textbook. The algorithm is based on the
calculation procedures introduced by the Institute of Hydrology (1980) and further details can be
found in the Textbook (Section 5.3.3).
1
Macros must be enabled; this can be done in Excel under Tools/Options/Security/Macro Security
1
3 Input Data
Input data are time series of daily streamflow data. The time series must be continuous and
should not contain missing data. Even though the program might run if missing data are included,
e.g. coded as ‘−1’ values, the results would be wrong.
The input data are inserted into the first two columns of the spreadsheet ‘Calculation’ using
‘copy and paste’ of data in other Excel files (e.g. files of the Global or Regional Data Set on the
CD). The Dates are entered in column A, starting with cell A2, and streamflow values in column
B, starting with cell B2 (Figure 1). There are no restrictions for the units of the streamflow – the
calculated base flow values will have the same units as the input data and the BFIs are relative
measures without unit.
4 Calculation
When column A and B contain the necessary input data, the calculation can be started by
pressing the button. The calculated base flow values are displayed in column C
and a window shows up for the selection of season (Figure 2).
In this window, the start and end day of the hydrological year or season for which the BFI will be
calculated, can be specified. The full calendar year is given as default dates. The season may
contain a year shift if the hydrological year does not equal the calendar year.
2
After pressing the ‘Run’ button in the ‘Seasonal BFI’ window, the base-flow-index
calculations are performed and the results are displayed as described in the next section.
5 Output
5.1 Graph
A graph of the base flow separation, showing the total streamflow (input data) and the calculated
base flow values, is displayed in the middle part of the ‘Calculation’ sheet. The displayed interval
corresponds to the season selected for the calculation. To view the graphs of different years, use
the arrow buttons below the graph or chose the year from the year-selection field (Figure 3).
The year-selection field also shows the year of the displayed graph. If the hydrological year or
season chosen contains a year shift, the displayed year number is the year of the end day of the
year or season. If a more detailed view of part of the hydrograph and the separation line is
wanted, the user can choose to estimate the BFI for a shorter period (similar to seasonal
calculation).
∑b i
BFI = i
∑d
i
i
3
with: bi base flow values (entire series) that are part of the selected season
di total streamflow values (entire series) that are part of the selected season
• Mean of annual BFIs: This field displays the mean of the annual BFIs, which are displayed
under ‘Results: Annual values’:
∑ BFI a
Mean of annual BFIs = a
n
6 Reset
The button should be used to prepare the ‘Calculation’ sheet for a new calculation
with new input data. Data should not be deleted ‘by hand’ as this might result in program errors.
In this case of errors, the program should be closed and a new copy opened. The program file
might also be stored with a different name saving the data and results from a particular
calculation.