Abstract: Methods and systems for optimizing pipeline operation are disclosed, including an operating system for optimizing a pipeline objective for a pipeline system comprising a plurality of pipeline sections, the operating system comprising a controller configured to: (i) generate a current state of at least one section of the pipeline, the current state comprising the measured state of at least one pipeline object and at least one fluid object; (ii) generate a line fill; (iii) generate a predicted future state of the at least one section of the pipeline from the line fill, and a schedule of planned additions of fluids and planned flow rates; (iv) generate an optimized future state of the at least one section of the pipeline with an optimization function; and (v) determine one or more setpoints to implement the optimized future state.