Fundamentals of Environmental Discharge Modeling