Optimal stationary behavior for a class of timed continuous Petri nets