Sharon,
In addition to those listed above, I have at least four kind words for the humble Ditchlily:
1.) It produces a fair amount of foliage, which collects energy from the sun. When dies or is cut, that energy gets added to the soil.
2.) The foliage and roots also helps to prevent soil erosion
3.) The foliage provides shade for the soil which helps to slow evaporation and keep the soil organisms cool.
4.) Animals come to it to eat and import organic material into the system (feces).
From a permaculture perspective, in situations where it is uncultivated like ditches, it is a successional plant that is working with the rest of the plants around it to prepare the soil to support more plant life. When the soil improves, which might not happen in a ditch due to mowing and other disruptions, other plants should take hold and crowd out the Ditchlily.