Skip to main content

Zero-dimensional hydrodynamics of coronal loops

Project description

ebtelplusplus

CI Status Documentation Status codecov DOI

ebtelplusplus is an implementation of the enthalpy-based thermal evolution of loops (EBTEL) model for doing efficient hydrodynamics of dynamically-heated solar coronal loops. ebtelplusplus decouples the electron and ion energy equations such that the two populations can evolve separately. This implementation also includes effects to due to cross-sectional area expansion.

If you are looking for the original EBTEL implementation, the you can find the repository for the IDL code here.

Installation

The easiest way to install ebtelplusplus is through pip,

pip install ebtelplusplus

If you would like to compile and build the package from source, see the instructions here.

Usage

The code snippet below shows how to set up a simulation for a 40 Mm loop, lasting 2 hours, heated by a single heating event lasting 200 s in which all of the energy is injected into the electrons,

import astropy.units as u
import ebtelplusplus
from ebtelplusplus.models import HeatingModel, TriangularHeatingEvent

heating = HeatingModel(
    background=1e-6*u.Unit('erg cm-3 s-1'),
    partition=1,
    events=[TriangularHeatingEvent(0*u.s, 200*u.s, 0.1*u.Unit('erg cm-3 s-1'))]
)
results = ebtelplusplus.run(2*u.h, 40*u.Mm, heating)

Citation

If you use ebtelplusplus in any published work, it is greatly appreciated if you follow the citation instructions here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

ebtelplusplus-0.3.0-cp312-cp312-win_amd64.whl (2.3 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

ebtelplusplus-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

ebtelplusplus-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

ebtelplusplus-0.3.0-cp312-cp312-macosx_11_0_arm64.whl (2.3 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

ebtelplusplus-0.3.0-cp312-cp312-macosx_10_15_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.12 macOS 10.15+ x86-64

ebtelplusplus-0.3.0-cp311-cp311-win_amd64.whl (2.3 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

ebtelplusplus-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

ebtelplusplus-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

ebtelplusplus-0.3.0-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

ebtelplusplus-0.3.0-cp311-cp311-macosx_10_15_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.11 macOS 10.15+ x86-64

ebtelplusplus-0.3.0-cp310-cp310-win_amd64.whl (2.3 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

ebtelplusplus-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

ebtelplusplus-0.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

ebtelplusplus-0.3.0-cp310-cp310-macosx_11_0_arm64.whl (2.3 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

ebtelplusplus-0.3.0-cp310-cp310-macosx_10_15_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.10 macOS 10.15+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page