Production planning rn control