[SCHEDULER-1575]  Priority Boost Based on Project Completion
Type Enhancement
Priority High
Severity Trivial
Component Dispatch Scheduler Engine
Fixed In Version [8.28.2
Versions Affected [8.18.1
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 2/1/2018

Description
See this Comm Center thread by Rowland Archer and Peter Prendergast. This was discussed by phone with Archer as well. The idea is to cause the scheduler to focus on partially completed projects so they get completed in less time. As it is now, if you overload it, the projects get "chipped at" little by little and you have to wait a long time before you have completed projects... and they all start completing around the same time.

To do this, my idea is to add another Efficiency Function coefficient that increases as the Project's plans complete. As soon as a Project has one completed plan,. it gets some preference. Then as more of its plans complete, it gets even more preference. This should cause the scheduler to prefer work harder on plans as they near completion, resulting in plans completing and others being ignored. 

NOTE: The Astro-Imaging plan generator needs to be augmented to generate multiple projects, one for each "job" of 5-20 hours in a given color, etc. This will require additional settings also.

Comments
6/6/2018 7:15:23 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 670
Affected files /trunk/Scheduler/Engine.cs (Modified)
Check-in comment Fix checkbox initialization for Prefer West. Typo in array indices. GEM:1575
6/6/2018 7:13:59 PM   Bob Denny
REOPENED

The checkbox was not initializing properly when the mode was Prefer West. Typo in the initialization code! Fixed.
5/10/2018 2:24:07 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 668
Affected files /trunk/Scheduler/TestProjectForm.cs (Modified)
Check-in comment Fix Random and Asteroid Project creation to show correct start time for simulation. GEM:1575
5/10/2018 2:09:37 PM   Bob Denny
REOPENED

Oops, the changes in rev. 653 for the LRGB project generation (and other refactoring in the test project generator) resulted in Asteroid and Single Image Projects whose descriptions incorrectly list "the beginning of all time" at the start time. 
5/7/2018 7:09:17 PM   Bob Denny
Reports are positive! Geoff Stone says it's too aggressive but he adjusted it down and seems OK. Peter P and other astro imagers love it. I'm calling it permanent.
5/7/2018 7:08:20 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 667
Affected files /trunk/Help/Advanced.htm (Modified)
Check-in comment Oops forgot to write documentation for Project Completion (was already in the Release Notes though) GEM:1575
2/19/2018 12:25:50 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 658
Affected files /trunk/Scheduler/ConfigForm.cs (Modified)
Check-in comment Correct labeling of Project Completion in the Configuration form. GEM:1575
2/2/2018 10:20:46 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 654
Affected files /trunk/Help/RelNotes.htm (Modified)
/trunk/Scheduler/ConfigForm.cs (Modified)
/trunk/Scheduler/Engine.cs (Modified)
/trunk/Scheduler/MainForm.cs (Modified)
/trunk/Scheduler/MainForm.resx (Modified)
Check-in comment Implement project completion boost, including the changes to the user interface to move "ignore priority" to a setting and replace it with a new Project COmpletion checkbox on the main window. Other minor changes as well, unrelated to this. See GEM:1575 GEM:1454
2/2/2018 10:20:43 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 654
Affected files /trunk/Help/RelNotes.htm (Modified)
/trunk/Scheduler/ConfigForm.cs (Modified)
/trunk/Scheduler/Engine.cs (Modified)
/trunk/Scheduler/MainForm.cs (Modified)
/trunk/Scheduler/MainForm.resx (Modified)
Check-in comment Implement project completion boost, including the changes to the user interface to move "ignore priority" to a setting and replace it with a new Project COmpletion checkbox on the main window. Other minor changes as well, unrelated to this. See GEM:1575 GEM:1575
2/2/2018 7:05:14 PM   Bob Denny
ALSO: Make sure log rotation occurs at solar transit following when the dispatcher is first enabled. Was happening based on simulated time at which the Scheduler was started.
2/1/2018 7:04:23 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 653
Affected files /trunk/Scheduler/AssemblyInfo.cs (Modified)
/trunk/Scheduler/ConfigForm.cs (Modified)
/trunk/Scheduler/Engine.cs (Modified)
/trunk/Scheduler/TestProjectForm.cs (Modified)
/trunk/Scheduler/TestProjectForm.resx (Modified)
Check-in comment New settings and changes to generate realistic many-day LRGBH observing plans like they are generated by the web form. No changes (yet) to the dispatching logic. GEM:1575