Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Return type:                         (dictionary)

3         FAQ

  1. What are area with measure, area without measure and measure inflow area?
    Image Added
    Figure   17      Illustration of measure inflow area
  • All individual areal components of the simulation model, PR, OP, etc., mentioned in the documentation, basically are all areas without applied measure. Figure 17  shows an example of applying a measure on OP. If the (green) measure area is 2 m2, and the total OP area is 10 m2, the (blue + grey) area of OP without measure is 10 – 2 = 8 m2.
  • The measure inflow area (green + blue) should always be larger than (or equal to) the measure area (green) and limited by the total paved area (green + blue + grey). The total measure inflow area can be larger than the total OP area in the example, when also part of the PR and / or the CP area runoff is diverted to the measure inflow area in OP.

4         References for parameter estimations

  • Penman, H. L. (1948). Natural evaporation from Open Water, bare soil and grass. Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences, 193(1032), 120145. 
  • Monteith, J. L. (1965, July). Evaporation and environment. In Symp. Soc. Exp. Biol (Vol. 19, No. 205-23, p. 4). 
  • Feddes, R.A., Kowalik, P.J., Zaradny, H., (1978). Simulation of filed water use and crop yield. Simulation Monographs. Pudoc, Wageningen, 189pp 
  • DE JONG VAN LIER, Q., et al (2008). Macroscopic root water uptake distribution using a matric flux potential approach. Vadose Zone Journal, 2008, 7.3: 1065-1078. 
  • Allen, R.G., Pereira, L.S., Raes, D., and Smith, M. 1998. Crop evapotranspiration: Guidelines for computing crop water requirements. FAO Irrigation and Drainage Paper No. 56, United Nations, FAO, Rome, Italy. 
  • STOWA, 2009 rapport 11. VERBETERING BEPALING ACTUELE VERDAMPING VOOR HET STRATEGISCH WATERBEHEER. isbn 978.90.5773.428.1 
  • Makkink, G. F. (1957). Testing the Penman formula by means of lysimeters. Journal of the Institution of Water Engineers, 11, 277-288.
  • Susana, Urban pluvial flooding and climate change: London (UK), Rafina (Greece) and Coimbra (Portugal).
  • Benedict, M. A., & McMahon, E. T. (2006). Green infrastructure. Island, Washington, DC. 
  • LID, Low impact development — a design manual for urban areas.

5      Running the model

5.1   Overview

The script model can be run from windows command prompt or with run.bat file. The latter choice is highly recommended.

For the time being, the most commonly used function is savecsv, batch-run-sdf and batch-run-measure

The running_sample folder in the Urbanwb package includes the sample of running the model for both basic model and model with measure.

Two sorts of input are necessary to start the Urbanwb model:

Dynamic input : The forcing — Hourly time series of Precipitation, potential Open Water evaporation and potential reference crop evapotranspiration. The user is responsible for data preprocessing — clean data, fill vacancy, remove unrealistic data and make sure the data is in float type. Make sure the column name is the same because script use the column name to index which data is precipitation and evaporation.

Static input : All the static input parameters are stored in the configuration file suffixed with .ini . Currently, two configuration files are indispensable for every function to use — one is neighbourhood configure file, the other is measure configuration file. If no measure is included in the modelling, please specify measure_appled=false in measure configuration file. Though the script will automatically do some checks after reading the configuration file to make it fool proof, for example it will update the measure-related area with zero if no measure is applied even if it is not zero due to user’s carelessness, it is highly recommended that user carefully deal with the configuration input. Besides, user should modify the parameters according to the local context of his area of interest and expected setups. Be aware of not changing the parameter name, otherwise the model goes wrong. The descriptions of the parameter are in the configuration file, documentation and script docstrings for user’s cross check.

5.2   Input time series and parameters

5.2.1    Time series (Dynamic input)

The forcing of Urbanwb model is the time series of:

  • precipitation (only rainfall considered)
  • potential Open Water evaporation (i.e. Penman evaporation – Penman, 1948)
  • potential reference crop evapotranspiration (i.e. Penman-Monteith evaporation – Montheith, 1965 or Makkink evaporation – Makkink, 1957)

Note:

Sometimes, Penman evaporation is not directly available since it is not straightly measured, while (class-A) pan evaporation data is easier to find. Pan evaporation Usually, pan evaporation is multiplied a correlation factor 0.77 to convert to Penman evaporation (Linacre, 1994). The model assumes potential Open Water evaporation actual interception evaporation on paved surface

Even though Forcing: Hourly time series of precipitation (actually only rainfall) [mm] and potential evaporation of Open Water [mm]. (for grass, it is approximately 0.8982 * Penman evaporation – Droogers, 2009) Length should better be most recent 30 years. Atmosphere is the most crucial exchange to the model. 1. Format: CSV format is preferred with corresponding column names. Make sure the data has no vacancy or unrealistic data. Make sure the data is in float type. 2. Note: Sometimes hourly potential Open Water evaporation is not findable, and it may be easier to get access to data like class-A pan evaporation time series. However, pan evaporation cannot be used as input directly. Conversion from pan evaporation to Penman Open Water evaporation should be done before running the model. Sometimes it is possible that only daily evaporation time series is available or even daily evaporation time series is not available, then assumptions and simplifications will be made on evaporation interpolation. For instance, in Area H, we only have annual potential evaporation data. First, we will divide this value by 365 to get the average daily evaporation. Then, interpolate by daily dynamics as assumed.

5.2.2    Parameters (Static input)

Land use at or above surface level are divided into 5 components, namely Paved Roofs (buildings), Closed Paved (roads, etc.), Open Paved (pavements, parkings, etc.), Unpaved (grass land, etc.) and Open Water (ditches, canals, ponds, etc.). The fractions of the five land use types should sum up to 100%. And we need total area of the study area in [m2] Besides, for paved areas (PR, CP, OP), we also can define three additional types of fractions:

  1. disconnected fraction of three paved areas: “Part disconnected from sewer”: This disconnect fraction means how much percentage of the paved area (say Paved Roofs) is disconnected from the sewer system. If this fraction is 5%, then it means 5% of the Paved Roofs (PR) is disconnected to sewer system. Consequently, 5% of the runoff from the Paved Roofs (PR) will not end in the sewer system but will presumably flow to Unpaved area.
  2. part of building above groundwater (GW): “part of buildings above GW”: This fraction means, in terms of Paved Roofs only, how much percentage of Paved Roofs (PR) has its bottom of foundation above the phreatic table. As we know, the relationship between the bottom level of building foundation and variation of groundwater level is essential to building stability, but this safety concern is not the model concern. What this fraction really matters in the model is the total area size of the (shallow) groundwater (GW).
  3. part of Open Water above groundwater (GW): “Part of OW above GW”: This fraction is more or less similar to part of building above groundwater (GW). It affects the calculation of size of groundwater area. Say we have 300m2 Open Water. If this fraction is zero, then groundwater will not contain any m2 of this 300m2. If this fraction is 100%, then groundwater will contain this extra 300m2 as all Open Water is above the groundwater. To sum up, type 2 and type 3 fractions influence the total area of (shallow) groundwater (GW). Area is important since all the storage and fluxes in the model are calculated in depth [mm], so the conversion from one component to another component is dependent on the area ratio of two components. That is the reason why two additional fractions (type 2 and type 3) are defined to decide the groundwater area more precisely.

Runoff from paved surface to sewer system only occurs when surface interception storage capacity can no longer handle excessive rainfall. “Storm Water Drainage System”: Part of urban area with storm water drainage system. “Mixed Sewer System”: Part of urban area with mixed sewer system (i.e. combined sewer system). These two fractions should sum up to 100%.

Design standard / Design rainfall of sewer system. This part may be a bit confusing, please don’t get puzzled by the nota on used i. Circle 3.b is discharge capacity of SWDS to Open Water, discharge capacity of MSS to Open Water (wet flow condition), discharge capacity of MSS to waste water treatment plant (dry flow condition). These three discharge capacities in circle 3.b are used in the model. Circle 3.a is design rainfall. Parameters in Circle 3.a are not directly used in the model. They are actually used to calculated Circle 3.b parameters if there is no direct information on design discharge capacity of sewer system. In the Netherlands, say if there is no direct information on discharge capacity of SWDS to Open Water (actually there is and it is around 21mm/hr to 30mm/hr), then we can do below calculations: “t = 2 rainfall” (in Fig 2): Design rainfall intensity of sewer system. In the Netherlands, the sewer overflow on the street is designed to occur once every two years. Hence t = 2 year is chosen as the design rainfall return period. Its corresponding rainfall intensity is 58.7 mm/hr by rainfall statistics. Consequently, for SWDS, the predefined discharge capacity of the SWDS is then calculated as 58.7(rainfall intensity of t=2) - 1.6 (interception on paved area) – 2 (storage in SWDS) = 55.1 mm/hr. This 55.1mm/hr is the discharge capacity of SWDS to Open Water above which sewer water will overflow onto the street. Similar to SWDS, discharge capacity of MSS to Open Water is calculated as 48.1mm/hr above which sewer overflow from MSS onto street will occur. “t = 1/6 rainfall” (in Fig 2): Design rainfall intensity of combined sewer overflow. In the Netherlands, the combined sewer overflow onto the Open Water is designed to occur six to seven times a year. Hence t= 1/6 is chosen as the design rainfall return period of combined sewer overflow. Its corresponding rainfall intensity is 27.9 mm/hr by statistics. Consequently, for MSS, the predefined discharge capacity of the MSS to waste water treatment plant (WWTP) is in fact the sewer discharge capacity above which sewer overflow to Open Water (CSO) will occur, and this discharge capacity is calculated as 27.9 – 1.6 = 26.3mm/hr.

5.3   Functions

5.3.1    save_to_csv

This function performs single run of the model. It can save all results or selected results in to an output csv file.

# save all results

#    module name     func name     timeseries name neighbourhood measure     outputfile

python -m urbanwb.main_with_measure save_to_csv timeseries.csv config1.ini config2.ini output.csv


# save selected results

#     module name     func name     timeseries name neighbourhood measure     outputfile variable to save     save_all  is False -> save selected

python -m urbanwb.main_with_measure save_to_csv timeseries.csv config1.ini config2.ini output.csv  owl r_pr_swds  theta_uz --save_all=False 

5.3.2    batch_run_sdf

This function performs batch run on different pumping capacity to produce database which can be used to plot Storage-Discharge-Frequency (SDF) Curve

  Running the model — urbanwb 0.1.0 documentation 

# mean daily rainfall as baseline q, batch run [4,5]

#     module name     function     ts.csv     config1.ini     config2.ini     output.csv     random number     baseline q default

python -m urbanwb.main_with_measure batch_run_sdf ep_ts.csv  ep_neighbourhood.ini  ep_measure.ini  ep2_results.csv --q_list=[4,5]


 

# 4 as baseline q, batch run [10,20]

#     module name     function     ts.csv     config1.ini     config2.ini     output.csv     random number     baseline q predefined

python -m urbanwb.main_with_measure batch_run_sdf ep_ts.csv ep_neighbourhood.ini ep_measure.ini ep2_results1.csv --q_list=[10,20] --baseline_q=4


# 3 as baseline q, batch run [min,max,steps] --- [4,8,3]

#     module name     function     ts.csv     config1.ini     config2.ini     output.csv     [min,max,steps]     baseline q:predefined     AP: True to enable  [min,max,steps]. if False, then q_list random numbers

python -m urbanwb.main_with_measure batch_run_sdf ep_ts.csv ep_neighbourhood.ini ep_measure.ini ep2_results2.csv --q_list=[4,8,3] --baseline_q=3 --arithmetic_progression=True

5.3.3    batch_run_meas

This function performs batch run on measure. First do batch run with different (pairs of) values, then do baseline run (no measure). In the end, save the runoff time series into a csv file.

It can vary one parameter with a list of values or vary two parameters at the same time.

#     module     function     ts.csv     config1.ini     config2.ini     output.csv     var to change     value to update var     corresp var     value for corresp var     baseline runoff     measure runoff to save 

python -m urbanwb.main_with_measure batch_run_measure ep_ts.csv ep_neighbourhood.ini ep_measure.ini ep3_results.csv --varkey="storcap_btm_meas" --vararrlist1=[1050,1200] --correspvarkey=None -vararrlist2=None --baseline_variable="r_cp_swds" --variable_to_save="q_meas_swds"

python -m urbanwb.main_with_measure batch_run_measure ep_ts.csv ep_neighbourhood.ini ep_measure.ini ep3_results.csv --varkey="storcap_btm_meas" --vararrlist1=[1050,1200] --correspvarkey="runoffcap_btm_meas" --vararrlist2=[30,40] --baseline_variable="r_cp_swds" -riable_to_save="q_meas_swds"

python -m urbanwb.getconstants ep3_results.csv --num_year=30

5.4   References

  • DROOGERS, P. Verbetering bepaling actuele verdamping voor het strategisch waterbeheer. Definitiestudie. STOWA, 2009.
  • PENMAN, Howard Latimer. Natural evaporation from Open Water, bare soil and grass. Proc. R. Soc. Lond. A, 1948, 193.1032: 120-145.
  • MONTEITH, John L., et al. Evaporation and environment. In: Symp. Soc. Exp. Biol. 1965. p. 4.
  • LINACRE, Edward T. Estimating US Class A pan evaporation from few climate data. Water International, 1994, 19.1: 5-14.