DESS algoritme not logical when the whole day the price is zero

See this discussion to awnser some of your questions: