SearcharxivSearch

arXiv subjects

Adrian Kelly

Publications and source records attributed to Adrian Kelly.

8 recordsLinked to original sources

Astrophysics on GPUs: introducing AGILE 1.0

We present AGILE, a GPU-enabled adaptive mesh refinement (AMR) framework for the solution of (near-) conservation laws which occur in astro- and solar-physical applications. AGILE is written in modern fortran 2003, inherits a part of its modules and mesh handling from MPI-AMRVAC, and achieves excellent GPU performance via OpenACC offloading. We here discuss the design decisions which enable AGILE to perform cost-efficient and scalable deeply nested AMR simulations with moderate block sizes of e.g. $16^3$ cells. AGILE currently implements several physics modules, ie. hydrodynamics, frozen-field hydrodynamics, magnetohydrodynamics and special-relativistic hydrodynamics and can easily be extended further through its modular design. Besides strong scaling tests to up to 2048 GPUs and standard benchmarks which show consistent performance across a large range of devices and problem sizes, we demonstrate AGILE's capabilities by means of state-of-the art science applications with all currently available physics modules.

astro-ph.IM

foap4: Adaptive mesh refinement with OpenACC, MPI, and p4est

GPUs and other accelerators are increasingly used for scientific computing. In the future, we want to add GPU support to parallel adaptive mesh refinement (AMR) codes written in Fortran. To understand which changes are necessary to obtain good performance we have developed foap4, an AMR framework implemented in Fortran that uses OpenACC, MPI, and the p4est library. We discuss the design and implementation of the framework. Several benchmark problems are considered, in which Euler's equations of gas dynamics are solved using explicit time integration. These benchmarks are performed in both 2D and 3D, using static and adaptive meshes, for varying problem sizes on different hardware. Our results show that AMR simulations can be carried out efficiently on GPUs with OpenACC and MPI, even when using relatively small grid blocks of $8^3$ or $16^3$ cells.

physics.comp-ph

Thermal instability in coronal loops: linking eigenvalue spectra to time-dependent evolution

Cool, dense condensations such as coronal rain and prominences suggest that coronal plasma can undergo runaway radiative cooling. Connecting this behaviour to linear thermal modes requires us to fully understand the deeper connection between eigenvalue spectra and actual time-dependent evolution. We aim to clarify this intricate link for a simplified, coronal-only model of a stratified coronal loop by combining spectral, linear initial-value, and nonlinear simulations of the same loop setup. We study waves and instabilities, as well as temporal evolutions for a 1D hydrostatic, thermally balanced loop with optically thin radiation and prescribed heating. The non-adiabatic spectrum is computed with our open-source Legolas code. We demonstrate our newly developed boundary value-initial value solver Legolas-IVP, where linear evolutions are performed for controlled perturbations, and fully equivalent nonlinear runs are carried out with MPI-AMRVAC. The spectrum contains discrete acoustic modes and a thermally unstable branch including a thermal continuum. Linear initial-value experiments with isochoric, isobaric, and isentropic pulses highlight how the polarisation of the eigenmodes demonstrates physically consistent behaviour expected from the eigenspectrum. Even in the linear stage, thermal imbalance drives siphon-like flows toward the cooling region. Growth rates from Legolas-IVP agree with spectral predictions and are reproduced in MPI-AMRVAC, which follows the condensation through runaway cooling to chromospheric temperatures, with the cool dense blob sliding under gravity toward the loop footpoint. The spectral-linear-nonlinear investigation demonstrates a direct link between thermal eigenmodes and condensation dynamics, providing a basis for extending to fully 3D MHD models.

astro-ph.SR

The hydrodynamic thermal continuum, with applications to stratified atmospheres and 1D coronal loop models

Using both analytical and numerical means, we demonstrate that linear stability analysis of a hydrodynamic stratified atmosphere or a 1D coronal loop model in non-adiabatic settings features a thermal continuum corresponding to highly localized eigenfunctions. This thermal continuum can be precomputed, involving the net heat-loss function and its partial derivatives, and is the generalization of the thermal instability introduced by~\citet{Parker1953}. We account for a thermal imbalance, directly affecting thermal instability growthrates. We present completely general equations that govern all eigenmodes, including non-adiabatically affected p- and g-modes of the stratified settings. We intend to clarify how linear thermal instability is relevant for solar loops that show spontaneous in-situ condensations, and eliminate recent confusion on specific isochoric routes to linear instability alongside other thermal instability channels. The thermal continuum, previously identified as a crucial ingredient in magnetohydrodynamic eigenmode spectra for coronal loops and atmospheres, drives multithermal aspects across our universe, such as forming solar coronal rain and prominences, or cold cloud creation in intracluster to interstellar medium environments.

astro-ph.SR

A Pioneering Roadmap for ML-Driven Algorithmic Advancements in Electrical Networks

Advanced control, operation, and planning tools of electrical networks with ML are not straightforward. 110 experts were surveyed to show where and how ML algorithms could advance. This paper assesses this survey and research environment. Then, it develops an innovation roadmap that helps align our research community with a goal-oriented realisation of the opportunities that AI upholds. This paper finds that the R&D environment of system operators (and the surrounding research ecosystem) needs adaptation to enable faster developments with AI while maintaining high testing quality and safety. This roadmap serves system operators, academics, and labs advancing next-generation electrical network tools.

eess.SY

Learning to run a power network with trust

Artificial agents are promising for real-time power network operations, particularly, to compute remedial actions for congestion management. However, due to high reliability requirements, purely autonomous agents will not be deployed any time soon and operators will be in charge of taking action for the foreseeable future. Aiming at designing assistant for operators, we instead consider humans in the loop and propose an original formulation. We first advance an agent with the ability to send to the operator alarms ahead of time when the proposed actions are of low confidence. We further model the operator's available attention as a budget that decreases when alarms are sent. We present the design and results of our competition "Learning to run a power network with trust" in which we evaluate our formulation and benchmark the ability of submitted agents to send relevant alarms while operating the network to their best.

cs.AI

Learning to run a Power Network Challenge: a Retrospective Analysis

Power networks, responsible for transporting electricity across large geographical regions, are complex infrastructures on which modern life critically depend. Variations in demand and production profiles, with increasing renewable energy integration, as well as the high voltage network technology, constitute a real challenge for human operators when optimizing electricity transportation while avoiding blackouts. Motivated to investigate the potential of AI methods in enabling adaptability in power network operation, we have designed a L2RPN challenge to encourage the development of reinforcement learning solutions to key problems present in the next-generation power networks. The NeurIPS 2020 competition was well received by the international community attracting over 300 participants worldwide. The main contribution of this challenge is our proposed comprehensive 'Grid2Op' framework, and associated benchmark, which plays realistic sequential network operations scenarios. The Grid2Op framework, which is open-source and easily re-usable, allows users to define new environments with its companion GridAlive ecosystem. Grid2Op relies on existing non-linear physical power network simulators and let users create a series of perturbations and challenges that are representative of two important problems: a) the uncertainty resulting from the increased use of unpredictable renewable energy sources, and b) the robustness required with contingent line disconnections. In this paper, we give the competition highlights. We present the benchmark suite and analyse the winning solutions, including one super-human performance demonstration. We propose our organizational insights for a successful competition and conclude on open research avenues. Given the challenge success, we expect our work will foster research to create more sustainable solutions for power network operations.

cs.LG

Reinforcement Learning for Electricity Network Operation

This paper presents the background material required for the Learning to Run Power Networks Challenge. The challenge is focused on using Reinforcement Learning to train an agent to manage the real-time operations of a power grid, balancing power flows and making interventions to maintain stability. We present an introduction to power systems targeted at the machine learning community and an introduction to reinforcement learning targeted at the power systems community. This is to enable and encourage broader participation in the challenge and collaboration between these two communities.

eess.SP