LSST Scheduler status Francisco Delgado Sr. Software Engineer Telescope & Site.

29
LSST Scheduler status Francisco Delgado Sr. Software Engineer Telescope & Site

Transcript of LSST Scheduler status Francisco Delgado Sr. Software Engineer Telescope & Site.

LSST Schedulerstatus

Francisco DelgadoSr. Software Engineer

Telescope & Site

2

…since previous all-hands

• August 2014:LTS-226 “Scheduler Design” released

• September 2014:Scheduler design reviewed in OCS interface

review• March 2015:

Scheduler workshop

• August 2015:DOC-16282 “Scheduler Requirements”

updated

3

Scheduler prototype in OpSim v3.3.1new simulation baseline candidate enigma_1189

4

Scheduler release v0.1Development Environment

• Design separated from OpSim• Scheduler requirements document• Scheduler interface• JIRA plan+work=>PMCS• SAL/python tests

Today…

5

Requirements Flow down

Science Requirements Document

LPM-17

Scheduler RequirementsDOC-16282

Observatory System Specifications

LSE-30

LSST System Requirements

LSE-29

OpSim RequirementsDOC-15320Observatory Control

System RequirementsLSE-62

Science Book

Metrics RequirementsDOC-15319

Science Collaborations

6

Scheduler Requirements

2.1Inputs2.1.1 Survey Parameters2.1.2 Scheduling Parameters2.1.3 System Parameters2.1.4 Internal Conditions2.1.5 External Conditions2.1.6 Performance Feedbacks

7

Scheduler Requirements

2.2Outputs2.2.1 Next Target2.2.2 Predicted Schedule2.2.3 Scheduling Meta Data2.2.4 Survey Progress

8

Scheduler Requirements

2.3 Functional Requirements2.3.1 Observatory Model2.3.2 Update Observatory Model2.3.3 Scheduler History2.3.4 Science Proposals2.3.5 Sequences in Time Distribution

Proposals2.3.6 Sky Brightness Model2.3.7 Update Sky Brightness Model

9

Scheduler Requirements

2.3.8 Cost Function2.3.9 Filter Swap2.3.10 Self-balancing Proposal Progress2.3.11 Deterministic Look Ahead2.3.12 Downtime Handling2.3.13 Warm start capability2.3.14 Dithering2.3.15 Operation in Event of Input Failure

10

Scheduler Requirements

2.4 Performance Requirements2.4.1 Speed

2.5 Attributes2.5.1 Multiple Scheduling Algorithms2.5.2 Algorithms from OpSim2.5.3 Optimizations from OpSim2.5.4 Global Survey Optimization

11

Scheduler Interfaces to OCS

SchedulerTelemetry

History

Control

Targets

Image Quality

OCS Application

communications middleware

TCSEFD DMCS

OCS Sequencer

VisitsSchedTelem

CCS

CmdVisits

Scheduler Internal Block Diagram

Conductor

Slew Time

Scheduling Data

Candidates

Observation History

Scheduler

Control

Telemetry

History

Image Quality

Visits

Targets

Sched Telem

Sched Mode

Downtime

Degraded

Targets

Observatory conditions

Environment conditions

Forecast

Quality parameters

Past observations

Current observation

Sched Telem

Astronomical Sky

Sky brightness

coordinates

Science ProgramsValue functions

Cost functions

Time

Observatory Model

Kinematic model

coordinates

CandidatesEnvironment conditions

Sched Config

12

13

Scheduler Construction Plan

• Scheduler is WBS 04C.10.02.01• Integrated in OCS construction plan• 12 releases 16 weeks each average• Constant Validation with OpSim• Redesign of OpSim -> SOCS (simulated OCS)• Coordinated development plan

14

Scheduler Interfaces to SOCS

SchedulerTelemetry

History

Control

Targets

Image Quality

SOCSKernel

communications middleware

SOCSObservatory

Model

SOCSSurvey

Database

SOCSSequencer

VisitsSchedTelem

CmdVisits

SOCSEnvironment

Model

SOCSQuality

Simulator

SOCS Internal Block Diagram

15

SimulationKernel

Survey Database

SOCSControl

Telemetry

History

Image Quality

Visits

Targets

Sched Telem

Sched Mode

Downtime

Degraded

Targets

Observatory conditions

Environment conditions

Forecast

Quality parameters

Past observations

Current observation

Sched Telem

Quality Simulator

Downtime Model

Time

Sequencer

Observatory ModelKinematic model

coordinates

Environment ModelSky brightness

coordinates

Time

Config

Sched Config

16

OCS construction plan

17

Plan 100%

Milestones• Integrated with SOCS plan

Release Date Version0.2 2015-Dec Basic functionality1.0 2016-Aug Functional Scheduler (targets)1.2 2017-Mar Look-ahead1.5 2018-Apr Dithering2.0 2018-Jul Complete Requirements in Doc2.2 2019-Feb Additional community reqs

18

Plan 80%

Milestones• Integrated with SOCS plan

Release Date Version0.2 2015-Dec Basic functionality1.0 2016-Nov Functional Scheduler (targets)1.2 2017-Jul Look-ahead1.5 2018-Oct Dithering2.0 2019-Feb Complete Requirements in Doc2.2 2019-Nov Additional community reqs

19

Scheduler release v0.2Scripted Targets

• Implement Scheduler structure with interface• Implement time handling• Refactor and integrate observatory model• Implement Scripted Proposal Integrate with

simulator (SOCS)

20

Scheduler release v0.3Area Distribution Proposals

• Refactor and integrate Astronomical Sky• Integrate Observatory Model slew time estimations• Implement Survey Conductor with slew time cost• Refactor and integrate Area Distribution Science

Proposals• Integrate and benchmark performance with SOCS

21

Scheduler release v1.0Time Distribution Proposals

• Refactor and integrate Time Distribution Science Proposals

• Incorporate filter swaps during new moon• Handle downtime• Handle dynamic configuration• Implement inter-proposal self balancing priority• Incorporate weather telemetry handling• Integrate with SOCS

22

Scheduler release v1.1Look Ahead Area Distribution

• Support for previous release• Implement deterministic look ahead data

structure• Implement Look Ahead algorithm for Area

Distribution Proposals• Integrate and test with SOCS

23

Scheduler release v1.2Look Ahead Time Distribution

• Support for previous release• Implement Look Ahead algorithm for Time

Distribution Proposals• Integrate and test with SOCS

24

Scheduler release v1.3Performance

• Support for previous release• Evaluate and implement performance

enhancements

25

Scheduler release v1.4Warm Start

• Support for previous release• Implement warm start capability• Implement image quality feedback handling• Implement degraded operational modes• Integrate and test with SOCS

26

Scheduler release v1.5Dithering

• Support for previous release• Implement Dithering algorithm• Implement handling of spatial distribution for

weather telemetry• Integrate and test with SOCS

27

Scheduler release v2.0Predicted Schedule

• Support for previous release• Implement publication of future targets

schedule• Integrate and test with SOCS

28

Scheduler release v2.1Weather Forecast

• Support for previous release• Implement handling of weather forecast in

look ahead algorithms• Integrate and test with SOCS

29

Scheduler release v2.2Community Optimizations

• Support for previous release• Implement generic interface for optimization

algorithms• Incorporate community provided

optimizations