cmd

    Dark Mode
Search:
Group by:

Non-linear loss module functions

Procs

proc calc_cmd(prev_cmd, rainfall, et, effective_rainfall, recharge: float): float {...}{.
    stdcall, exportc, dynlib, raises: [], tags: [].}

Calculate Catchment Moisture Deficit.

Min value of CMD is 0.0 and is represented in mm depth. A value of 0 indicates that the catchment is fully saturated. A value greater than 0 means that there is a moisture deficit.

proc calc_linear_interim_cmd(cmd, param_d, rainfall: float): float {...}{.stdcall,
    exportc, dynlib, raises: [], tags: [].}

Calculate interim CMD (:math:M_{f}) in its linear form.

Based on HydroMad implementation and details in references.

References:
Croke, B.F.W., Jakeman, A.J. 2004
A catchment moisture deficit module for the IHACRES rainfall-runoff model, Environmental Modelling & Software, 19(1), pp. 1–5. doi: 10.1016/j.envsoft.2003.09.001
Croke, B.F.W., Jakeman, A.J. 2005
Corrigendum to "A Catchment Moisture Deficit module for the IHACRES rainfall-runoff model [Environ. Model. Softw. 19 (1) (2004) 1–5]" Environmental Modelling & Software, 20(7), p. 997. doi: 10.1016/j.envsoft.2004.11.004
Parameters:
  • cmd : previous Catchment Moisture Deficit :math:(M_{k-1})
  • param_d : model parameter factor d
  • rainfall : rainfall for current time step in mm
Returns:interim CMD :math:(M_{f})
proc calc_trig_interim_cmd(cmd, param_d, rainfall: float): float {...}{.stdcall,
    exportc, dynlib, raises: [], tags: [].}

Calculate interim CMD (M_{f}) in its trigonometric form.

Based on HydroMad implementation and details in references.

Parameters:
  • cmd : previous Catchment Moisture Deficit (M_{k-1})
  • param_d : model parameter d
  • rainfall : rainfall for current time step in mm
Returns:interim CMD (M_{f})
proc calc_ft_interim_cmd(cmd, rain, d, d2, alpha: float): (float, float, float) {...}{.
    stdcall, exportc, dynlib, raises: [], tags: [].}

Direct port of original Fortran implementation to calculate interim CMD (M_{f}).

Calculates estimates of effective rainfall and recharge as a by-product.

Parameters:
  • cmd : previous Catchment Moisture Deficit (M_{k-1})
  • rain : rainfall for time step in mm
  • d : flow threshold value
  • d2 : scaling factor applied to d
  • alpha : scaling factor
Returns:interim CMD value, effective rainfall, recharge