SlideShare a Scribd company logo
1 of 45
Planning Mode Simulator: A simulation tool for
    studying ALMA's scheduling behavior

         Undergraduate thesis presentation


             Arturo A. Hoffstadt Urrutia
       Software developer, www.almaobservatory.org
            Research collaborator, www.utfsm.cl
                 <ahoffsta@inf.utfsm.cl>
Agenda
●   Introduction:
    ●   ALMA, Radio-astronomy, Interferometry, Scheduling
        Subsystem
●   State of Art and Practice
    ●   Site characterization, scheduling simulations,
●   Analysis
●   Architecture
●   Desing and Construction
●   Conclusions
Introduction




ALMA antenna in a starry night, long exposure.
Atacama Large Millimeter Array

 12m Array                                 Simulation (!)




             Atacama Compact Array (ACA)
Operation Site Facility
ALMA Operation Site
Radioastronomy
●   Area that studies radio waves emissions from
    phenomena occurring in the outer space.
●   Phenomena:
    ●   Electrons transitions.
    ●   Molecular vibrations.
    ●   Molecular rotations.
    ●   Black body radiation in the order of 1 [K] temperature.
    ●   Synchrotron radiation.
    ●   Dark matter.
Interferometry
●   Smaller wavelenghts => larger antennas.
●   Either build bigger telescope, or use interferometry.

                               
                            =
                               D

●   Technique that allows to combine several sampling of
    the same source, to enhance image resolution.
●   Spatial resolution is limited by diffraction effects:
Interferometry
     ●   This technique combines
         the signal received from
         two receptors,
         multiplying and
         averaging their signals.
Interferometry
     ●   The two receptors, as seen
         from the observing source
         POV, form a baseline.
     ●   More than one baseline
         can be combined to
         reconstruct the original
         signal.
     ●   Baselines changes as
         earth rotates.
Scheduling Subsystem
●   Purpose: ... to manage the execution of approved
    observing projects.
●   Input: Observing projects, Array and DSA
    configuration.
●   Output: Observation schedule.
    ●   (!) Please note that this is a huge simplification of the
        system.
●   Observing projects are composed of several
    Scheduling Blocks (SBs)
Scheduling Subsystem
●   To construct this observation schedule, the subsystem
    must count with several data:
    ●   Wind speed and direction.
    ●   Water vapor content.
    ●   Available antennas and equipment.
    ●   ALMA array configurations.
    ●   Array baselines.
    ●   UV coverage.
    ●   Visibility.
    ●   Percentage per executive, and so on...
Problem Definition
●   Planning Mode Simulator is one of the deliverables of
    the Scheduling subsystem.
●   There is a basic implementation for it, but after
    analysis, found it to be non-usable as it is.
    ●   The current solution has scalabitlity and maintenance
        issues.
    ●   But, simulations concepts and code can be reused.
Thesis Proposal



Main Goal:
   ●   “To design and develop the first iteration of the Planning
       Mode Simulator for the scheduling subsystem of the
       ALMA Project.”
Thesis Proposal
●   Specific Goals:
    ●   Integration of the student to the ALMA Project and it's
        standards.
    ●   Define a software development project.
    ●   Refine necessary requirements.Define an interaction
        storyboard and GUI.
    ●   Design the Planning Mode Simulator.
    ●   Define data models for input and output data.
State of Art and
    Practice
Site Characterization
●   AOS has several studies, which shows:
    ●   Instrument that can determine precepitable water
        vapour, temperature, visibility, wind, phase stability, etc.
    ●   This data has been characterized through several
        years.
●   Long lasting weather effect are studied, such as global
    warming, “El Niño/La Niña” cycles, and Bolivian winter.
●   Studies on wind, temperature and other weather
    variables according to geographic environment is also
    available.
Radio Interferometer
                Scheduling Simulation
●   ALMA publications of earlier development in simulator
    an DSA by Farris.
●   ALMA scheduling policies addition to scheduling
    subsystem by Lucero.
●   One research group [5], but no publications or public
    work.
Scheduling Subsystem
●   On previous design, which was published in [6]:
    ●   Only considers ALMA configuration and observation
        project as inputs.
    ●   Simplistic weather simulation.
    ●   No presented results.
●   Requirements for the Planning Mode Simulator can be
    found in several documents.
    ●   A refined version, with cross-reference, was created.
Analysis

Milky Way blazes facilities at Mount Paranal.
General Requirements
●   Create a software that allows the study of:
    ●   Scheduling algorithms,
    ●   Configuration of ALMA for the observing season
    ●   Distribution of observing projects.
●   Weather simulations
    ●   Randomization and fuzzy denomintations
●   Configuration of ALMA.
    ●   Specially growing behaivour.
Input and Parameters
                       Requirements
●   Observation projects for a whole season (12 months,
    18000 scheduling blocks).
    ●   Changes in scientific rating of projects.
●   Tuning parameters of scheduling algorithm.
●   Consider ALMA evolution over season.
●   Consider executive percentage balancing guidelines.
●   Historical weather data.
Reports and visualizations
                     requirements
●   Prepare a long series of reports and visualization:
    ●   Observing modes over/under subscriptions
    ●   Observing band over/under subscriptions.
    ●   Allocated time per executive.
    ●   Expected hours of observing as a function of:
        –   Time
        –   Configuration evolution
    ●   And much more...
Simulations inputs and
               parameters requirements
●   Present data:               ●   Absent data:
    ●   Observation projects.       ●   Weather.
    ●   Actual array                ●   Executive.
        configuration.              ●   ACA coordination.
    ●   Calibrators.                ●   Sub arraying.
    ●   Estimated time of           ●   Future array
        execution.                      configuration.
Architecture
Transveral concerns
●   Performance, specially in network communications.
●   Software maintenance.
●   Flexible DSA.
●   Several input methods.
Dynamic Scheduling Algorithm
●   Inversion of control architecture pattern as main driver.
    ●   Four levels of independant class famalies.
    ●   Each level has a very determined concern and interface
        (uncoupling).
    ●   Pieces in each level can be interchanged, or multiple
        instances can be used.
●   All these to control the scheduling blocks flow through
    selection, priorization and execution stages.
Planning Mode Simulator
●   Conceived as a library, with a CLI and GUI.
●   All parameters and input data are transfered to a
    common package, so that can be reused.
●   Simulation logic is delegated to data-model of
    observatory characterics.
    ●   Time management is handled by the program.
    ●   Arrays and starting and ending times are expressed in
        data-models.
    ●   Necessary configurations are taken from an XML-file.
Data access and persistance
●   Initial data population: XML files.
●   Data persistance: ORM solution.
●   For each database, a common object oriented data-
    model is used, and from it:
    ●   An XML Schema Definition (XSD) is generated.
    ●   POJO classes for in-memory representation of ORM
        are generated.
Data access and persistance
●   A broker-like design pattern will be used for
    implementing intelligent cache of the ALMA Archive in
    a primary-memory HSQLDB.
    ●   Eliminates most queries currently directed to Archive.
    ●   A primary-memory cache is far more efficient than
        network access or secondary memory.
●   DAOs for accessing data. If needed, conversion from
    XML unmarshalled classes to ORM POJO classes is
    provided.
Conclusions and
                             Future Work




Horsehead nebula, using the 0.9-meter telescope on Kitt Peak.
Conclusions
●   First iteration is ready, and delivered to client.
●   A new performance oriented architecture has been
    created, and will be re-used for scheduling subsystem
    as a whole.
●   ALMA-UTFSM is researching new algorithms, which
    will be tested using this same tool.
●   Thesis done as part of ALMA scheduling subsystem, in
    fact, UTFSM contributing 0.5 FTE to the project.
Conclusions
●   More parameters and functionality to be added in next
    iterations.
    ●   Computer simulated weather, SB linkage, sub-arraying,
        calibrations, ...
●   GUI to be provided in coming iteration as an
    OpenOffice application, with planning mode simulator
    incorporated as plugin, using UNO component model.
    ●   To achieve the necessary visualization capabilities.
Bibliography
●   Site characterization: Alma memos series [1]
    ●   M. Holdaway, Fast switching Phase Calibration... [25]
    ●   J. Pérez, Analysis of wind data gathered at Chajnantor.
    ●   S. Radford, Site Characterization and Monitoring. [35]
●   Radio astronomy and Inteferometry:
    ●   K. Jansky, Radiowaves from outside the solar system.
    ●   B. Burke, An introduction to radio astronomy. [11]
    ●   W. Goss, Discovery of Type I, II and III ... [21]
●   Patterns:
    ●   R. Johnson, Designing resusable classes. [27]
●   State before this thesis:
    ●   Allen Farris et. al, Scheduling Subsystem Design Document. [17]
Acknowledgement
●   To my family, who has accompany my along this road.
●   To my dear friends, who are almost my second family.
●   To two dear teachers, Cecilia Reyes and Horst von
    Brand.
●   To my collegues, who are as much author of this work
    as I am: Jorge, Rafael and David.
●   This work is possible through the ALMA-Conicyt grant
    #31080031, and a complementary fund granted by
    NRAO.
Questions?
Use cases (1/3)
Use cases (2/3)
Use case (3/3)
 Planning Mode Simulator: A simulation tool for studying ALMA's scheduling behavior
 Planning Mode Simulator: A simulation tool for studying ALMA's scheduling behavior
 Planning Mode Simulator: A simulation tool for studying ALMA's scheduling behavior
 Planning Mode Simulator: A simulation tool for studying ALMA's scheduling behavior

More Related Content

Viewers also liked

Bio. Ch. 10
Bio. Ch. 10Bio. Ch. 10
Bio. Ch. 10
lheath
 
Reeef Zack Williams
Reeef   Zack WilliamsReeef   Zack Williams
Reeef Zack Williams
lheath
 
04 Стандартная Библиотека
04 Стандартная Библиотека04 Стандартная Библиотека
04 Стандартная Библиотека
phearnot
 

Viewers also liked (20)

[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
 
Thesis Presentation
Thesis PresentationThesis Presentation
Thesis Presentation
 
Evaluation of DOM Tree Similarities - Thesis Presentation
Evaluation of DOM Tree Similarities - Thesis PresentationEvaluation of DOM Tree Similarities - Thesis Presentation
Evaluation of DOM Tree Similarities - Thesis Presentation
 
Evaluation of DOM Tree Similarities - Thesis Report
Evaluation of DOM Tree Similarities - Thesis ReportEvaluation of DOM Tree Similarities - Thesis Report
Evaluation of DOM Tree Similarities - Thesis Report
 
Master Thesis presentation
Master Thesis presentationMaster Thesis presentation
Master Thesis presentation
 
Digital Crime & Forensics - Presentation
Digital Crime & Forensics - PresentationDigital Crime & Forensics - Presentation
Digital Crime & Forensics - Presentation
 
Title Defense Presentation
Title Defense PresentationTitle Defense Presentation
Title Defense Presentation
 
CRM als Universele Stekkerdoos (Pecha kucha Open Coffee)
CRM als Universele Stekkerdoos (Pecha kucha Open Coffee)CRM als Universele Stekkerdoos (Pecha kucha Open Coffee)
CRM als Universele Stekkerdoos (Pecha kucha Open Coffee)
 
Bio. Ch. 10
Bio. Ch. 10Bio. Ch. 10
Bio. Ch. 10
 
360esi Value
360esi Value360esi Value
360esi Value
 
GTUG GTAP Google Health Project
GTUG GTAP Google Health ProjectGTUG GTAP Google Health Project
GTUG GTAP Google Health Project
 
Reeef Zack Williams
Reeef   Zack WilliamsReeef   Zack Williams
Reeef Zack Williams
 
Presentation For Franchise Orientation
Presentation For Franchise OrientationPresentation For Franchise Orientation
Presentation For Franchise Orientation
 
Tíntin presentació
Tíntin presentacióTíntin presentació
Tíntin presentació
 
iPhone Biz Meetup
iPhone Biz MeetupiPhone Biz Meetup
iPhone Biz Meetup
 
Cubby-2008-01-15 OT
Cubby-2008-01-15 OTCubby-2008-01-15 OT
Cubby-2008-01-15 OT
 
Section 2.4
Section 2.4Section 2.4
Section 2.4
 
De Klant als Concurrentiewapen
De Klant als ConcurrentiewapenDe Klant als Concurrentiewapen
De Klant als Concurrentiewapen
 
La rete web integra i mezzi classici
La rete web integra i mezzi classiciLa rete web integra i mezzi classici
La rete web integra i mezzi classici
 
04 Стандартная Библиотека
04 Стандартная Библиотека04 Стандартная Библиотека
04 Стандартная Библиотека
 

Similar to Planning Mode Simulator: A simulation tool for studying ALMA's scheduling behavior

AMAR_KANTETI_RESUME
AMAR_KANTETI_RESUMEAMAR_KANTETI_RESUME
AMAR_KANTETI_RESUME
amar kanteti
 
Data quality evaluation &amp; orbit identification from scatterometer
Data quality evaluation &amp; orbit identification from scatterometerData quality evaluation &amp; orbit identification from scatterometer
Data quality evaluation &amp; orbit identification from scatterometer
Mudit Dholakia
 

Similar to Planning Mode Simulator: A simulation tool for studying ALMA's scheduling behavior (20)

Modeling & Simulation of CubeSat-based Missions'Concept of Operations
Modeling & Simulation of CubeSat-based Missions'Concept of OperationsModeling & Simulation of CubeSat-based Missions'Concept of Operations
Modeling & Simulation of CubeSat-based Missions'Concept of Operations
 
Automating Speed: A Proven Approach to Preventing Performance Regressions in ...
Automating Speed: A Proven Approach to Preventing Performance Regressions in ...Automating Speed: A Proven Approach to Preventing Performance Regressions in ...
Automating Speed: A Proven Approach to Preventing Performance Regressions in ...
 
byteLAKE's expertise across NVIDIA architectures and configurations
byteLAKE's expertise across NVIDIA architectures and configurationsbyteLAKE's expertise across NVIDIA architectures and configurations
byteLAKE's expertise across NVIDIA architectures and configurations
 
HP - Jerome Rolia - Hadoop World 2010
HP - Jerome Rolia - Hadoop World 2010HP - Jerome Rolia - Hadoop World 2010
HP - Jerome Rolia - Hadoop World 2010
 
Profiling & Testing with Spark
Profiling & Testing with SparkProfiling & Testing with Spark
Profiling & Testing with Spark
 
AMAR_KANTETI_RESUME
AMAR_KANTETI_RESUMEAMAR_KANTETI_RESUME
AMAR_KANTETI_RESUME
 
Fugue: Unifying Spark and Non-Spark Ecosystems for Big Data Analytics
Fugue: Unifying Spark and Non-Spark Ecosystems for Big Data AnalyticsFugue: Unifying Spark and Non-Spark Ecosystems for Big Data Analytics
Fugue: Unifying Spark and Non-Spark Ecosystems for Big Data Analytics
 
Future guidelines the meteorological view - Isabel Martínez (AEMet)
Future guidelines the meteorological view - Isabel Martínez (AEMet)Future guidelines the meteorological view - Isabel Martínez (AEMet)
Future guidelines the meteorological view - Isabel Martínez (AEMet)
 
Resource Aware Scheduling in Apache Storm
Resource Aware Scheduling in Apache StormResource Aware Scheduling in Apache Storm
Resource Aware Scheduling in Apache Storm
 
Resource Aware Scheduling in Apache Storm
Resource Aware Scheduling in Apache StormResource Aware Scheduling in Apache Storm
Resource Aware Scheduling in Apache Storm
 
Ensuring Performance in a Fast-Paced Environment (CMG 2014)
Ensuring Performance in a Fast-Paced Environment (CMG 2014)Ensuring Performance in a Fast-Paced Environment (CMG 2014)
Ensuring Performance in a Fast-Paced Environment (CMG 2014)
 
NS-CUK Joint Journal Club: Minwoo Choi, Review on "Short-term wind speed fore...
NS-CUK Joint Journal Club: Minwoo Choi, Review on "Short-term wind speed fore...NS-CUK Joint Journal Club: Minwoo Choi, Review on "Short-term wind speed fore...
NS-CUK Joint Journal Club: Minwoo Choi, Review on "Short-term wind speed fore...
 
Realizing Robust and Scalable Evolutionary Algorithms toward Exascale Era
Realizing Robust and Scalable Evolutionary Algorithms toward Exascale EraRealizing Robust and Scalable Evolutionary Algorithms toward Exascale Era
Realizing Robust and Scalable Evolutionary Algorithms toward Exascale Era
 
The Search for Gravitational Waves
The Search for Gravitational WavesThe Search for Gravitational Waves
The Search for Gravitational Waves
 
Towards Automated Design Space Exploration and Code Generation using Type Tra...
Towards Automated Design Space Exploration and Code Generation using Type Tra...Towards Automated Design Space Exploration and Code Generation using Type Tra...
Towards Automated Design Space Exploration and Code Generation using Type Tra...
 
Rally--OpenStack Benchmarking at Scale
Rally--OpenStack Benchmarking at ScaleRally--OpenStack Benchmarking at Scale
Rally--OpenStack Benchmarking at Scale
 
Weather and Climate Visualization software
Weather and Climate Visualization softwareWeather and Climate Visualization software
Weather and Climate Visualization software
 
Contributions to the Efficient Use of General Purpose Coprocessors: KDE as Ca...
Contributions to the Efficient Use of General Purpose Coprocessors: KDE as Ca...Contributions to the Efficient Use of General Purpose Coprocessors: KDE as Ca...
Contributions to the Efficient Use of General Purpose Coprocessors: KDE as Ca...
 
Data quality evaluation &amp; orbit identification from scatterometer
Data quality evaluation &amp; orbit identification from scatterometerData quality evaluation &amp; orbit identification from scatterometer
Data quality evaluation &amp; orbit identification from scatterometer
 
[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Planning Mode Simulator: A simulation tool for studying ALMA's scheduling behavior

  • 1. Planning Mode Simulator: A simulation tool for studying ALMA's scheduling behavior Undergraduate thesis presentation Arturo A. Hoffstadt Urrutia Software developer, www.almaobservatory.org Research collaborator, www.utfsm.cl <ahoffsta@inf.utfsm.cl>
  • 2. Agenda ● Introduction: ● ALMA, Radio-astronomy, Interferometry, Scheduling Subsystem ● State of Art and Practice ● Site characterization, scheduling simulations, ● Analysis ● Architecture ● Desing and Construction ● Conclusions
  • 3. Introduction ALMA antenna in a starry night, long exposure.
  • 4. Atacama Large Millimeter Array 12m Array Simulation (!) Atacama Compact Array (ACA)
  • 7. Radioastronomy ● Area that studies radio waves emissions from phenomena occurring in the outer space. ● Phenomena: ● Electrons transitions. ● Molecular vibrations. ● Molecular rotations. ● Black body radiation in the order of 1 [K] temperature. ● Synchrotron radiation. ● Dark matter.
  • 8. Interferometry ● Smaller wavelenghts => larger antennas. ● Either build bigger telescope, or use interferometry.  = D ● Technique that allows to combine several sampling of the same source, to enhance image resolution. ● Spatial resolution is limited by diffraction effects:
  • 9. Interferometry ● This technique combines the signal received from two receptors, multiplying and averaging their signals.
  • 10. Interferometry ● The two receptors, as seen from the observing source POV, form a baseline. ● More than one baseline can be combined to reconstruct the original signal. ● Baselines changes as earth rotates.
  • 11. Scheduling Subsystem ● Purpose: ... to manage the execution of approved observing projects. ● Input: Observing projects, Array and DSA configuration. ● Output: Observation schedule. ● (!) Please note that this is a huge simplification of the system. ● Observing projects are composed of several Scheduling Blocks (SBs)
  • 12. Scheduling Subsystem ● To construct this observation schedule, the subsystem must count with several data: ● Wind speed and direction. ● Water vapor content. ● Available antennas and equipment. ● ALMA array configurations. ● Array baselines. ● UV coverage. ● Visibility. ● Percentage per executive, and so on...
  • 13. Problem Definition ● Planning Mode Simulator is one of the deliverables of the Scheduling subsystem. ● There is a basic implementation for it, but after analysis, found it to be non-usable as it is. ● The current solution has scalabitlity and maintenance issues. ● But, simulations concepts and code can be reused.
  • 14. Thesis Proposal Main Goal: ● “To design and develop the first iteration of the Planning Mode Simulator for the scheduling subsystem of the ALMA Project.”
  • 15. Thesis Proposal ● Specific Goals: ● Integration of the student to the ALMA Project and it's standards. ● Define a software development project. ● Refine necessary requirements.Define an interaction storyboard and GUI. ● Design the Planning Mode Simulator. ● Define data models for input and output data.
  • 16. State of Art and Practice
  • 17. Site Characterization ● AOS has several studies, which shows: ● Instrument that can determine precepitable water vapour, temperature, visibility, wind, phase stability, etc. ● This data has been characterized through several years. ● Long lasting weather effect are studied, such as global warming, “El Niño/La Niña” cycles, and Bolivian winter. ● Studies on wind, temperature and other weather variables according to geographic environment is also available.
  • 18. Radio Interferometer Scheduling Simulation ● ALMA publications of earlier development in simulator an DSA by Farris. ● ALMA scheduling policies addition to scheduling subsystem by Lucero. ● One research group [5], but no publications or public work.
  • 19. Scheduling Subsystem ● On previous design, which was published in [6]: ● Only considers ALMA configuration and observation project as inputs. ● Simplistic weather simulation. ● No presented results. ● Requirements for the Planning Mode Simulator can be found in several documents. ● A refined version, with cross-reference, was created.
  • 20. Analysis Milky Way blazes facilities at Mount Paranal.
  • 21. General Requirements ● Create a software that allows the study of: ● Scheduling algorithms, ● Configuration of ALMA for the observing season ● Distribution of observing projects. ● Weather simulations ● Randomization and fuzzy denomintations ● Configuration of ALMA. ● Specially growing behaivour.
  • 22. Input and Parameters Requirements ● Observation projects for a whole season (12 months, 18000 scheduling blocks). ● Changes in scientific rating of projects. ● Tuning parameters of scheduling algorithm. ● Consider ALMA evolution over season. ● Consider executive percentage balancing guidelines. ● Historical weather data.
  • 23. Reports and visualizations requirements ● Prepare a long series of reports and visualization: ● Observing modes over/under subscriptions ● Observing band over/under subscriptions. ● Allocated time per executive. ● Expected hours of observing as a function of: – Time – Configuration evolution ● And much more...
  • 24. Simulations inputs and parameters requirements ● Present data: ● Absent data: ● Observation projects. ● Weather. ● Actual array ● Executive. configuration. ● ACA coordination. ● Calibrators. ● Sub arraying. ● Estimated time of ● Future array execution. configuration.
  • 26. Transveral concerns ● Performance, specially in network communications. ● Software maintenance. ● Flexible DSA. ● Several input methods.
  • 27.
  • 28. Dynamic Scheduling Algorithm ● Inversion of control architecture pattern as main driver. ● Four levels of independant class famalies. ● Each level has a very determined concern and interface (uncoupling). ● Pieces in each level can be interchanged, or multiple instances can be used. ● All these to control the scheduling blocks flow through selection, priorization and execution stages.
  • 29. Planning Mode Simulator ● Conceived as a library, with a CLI and GUI. ● All parameters and input data are transfered to a common package, so that can be reused. ● Simulation logic is delegated to data-model of observatory characterics. ● Time management is handled by the program. ● Arrays and starting and ending times are expressed in data-models. ● Necessary configurations are taken from an XML-file.
  • 30. Data access and persistance ● Initial data population: XML files. ● Data persistance: ORM solution. ● For each database, a common object oriented data- model is used, and from it: ● An XML Schema Definition (XSD) is generated. ● POJO classes for in-memory representation of ORM are generated.
  • 31. Data access and persistance ● A broker-like design pattern will be used for implementing intelligent cache of the ALMA Archive in a primary-memory HSQLDB. ● Eliminates most queries currently directed to Archive. ● A primary-memory cache is far more efficient than network access or secondary memory. ● DAOs for accessing data. If needed, conversion from XML unmarshalled classes to ORM POJO classes is provided.
  • 32.
  • 33. Conclusions and Future Work Horsehead nebula, using the 0.9-meter telescope on Kitt Peak.
  • 34. Conclusions ● First iteration is ready, and delivered to client. ● A new performance oriented architecture has been created, and will be re-used for scheduling subsystem as a whole. ● ALMA-UTFSM is researching new algorithms, which will be tested using this same tool. ● Thesis done as part of ALMA scheduling subsystem, in fact, UTFSM contributing 0.5 FTE to the project.
  • 35. Conclusions ● More parameters and functionality to be added in next iterations. ● Computer simulated weather, SB linkage, sub-arraying, calibrations, ... ● GUI to be provided in coming iteration as an OpenOffice application, with planning mode simulator incorporated as plugin, using UNO component model. ● To achieve the necessary visualization capabilities.
  • 36. Bibliography ● Site characterization: Alma memos series [1] ● M. Holdaway, Fast switching Phase Calibration... [25] ● J. Pérez, Analysis of wind data gathered at Chajnantor. ● S. Radford, Site Characterization and Monitoring. [35] ● Radio astronomy and Inteferometry: ● K. Jansky, Radiowaves from outside the solar system. ● B. Burke, An introduction to radio astronomy. [11] ● W. Goss, Discovery of Type I, II and III ... [21] ● Patterns: ● R. Johnson, Designing resusable classes. [27] ● State before this thesis: ● Allen Farris et. al, Scheduling Subsystem Design Document. [17]
  • 37. Acknowledgement ● To my family, who has accompany my along this road. ● To my dear friends, who are almost my second family. ● To two dear teachers, Cecilia Reyes and Horst von Brand. ● To my collegues, who are as much author of this work as I am: Jorge, Rafael and David. ● This work is possible through the ALMA-Conicyt grant #31080031, and a complementary fund granted by NRAO.

Editor's Notes

  1. Arraying. Transporter Indicate differences Radio telescope interferometer. 66 antennas transportable antennas, 2 transporters. 200 to 1600 [GHz] observing spectrum.
  2. Operation Support Facility, @ 2800 [m] Worldwide collaboration: EE.UU. (NRAO), Europe (ESO), East Asia (NAOJ)
  3. Put enfasis on the simplification, as it will take a lot of time to explain the scheduling subsystem. (There are two CDR explaining it, and another one of the interfactes to it).
  4. Notice also the lifecyle of the an Observing Project Notice on that the list is neither final, nor throughout
  5. Explicar que y cuales son las bandas de observacion de ALMA.
  6. MVC Pattern: Mapping = Model CLI &amp; GUI = View Library = Controler