 These have also to be taken into account, including the costs of mitigation of negative side effects.The "optimization" of drainage design and the development of "drainage criteria" are discussed in the article on drainage research.Figure 4 shows an example of the effect of drain depth on soil salinity and various irrigation/drainage parameters as simulated by the SaltMod program.