We consider a storage/production process where the production rate is state dependent, the demand arrival is a renewal process, and the sizes of the demands are i.i.d exponentially distributed random variables. The resulting content process is non-Markovian but regenerative. We construct a dual Markovian dam process with drift, jump rate and jump sizes that are state dependent and use it to compute the limiting one-dimensional distribution of the content process.