Skip to content

The evolution of kinetic entropy and its connection to energy transfer in fundamental processes

Notifications You must be signed in to change notification settings

argallmr/entropy-hgio-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

entropy-hgio-2023

The evolution of kinetic entropy and its connection to energy transfer in fundamental processes

Create a Database

Load all of the data required for analyzing entropy and other dissipation parameters for a given time interval. Data is resample to the 30ms time cadence of the DES instrument.

import datetime as dt
import database

# Define the time interval
t0 = dt.datetime(2017, 7, 11, 22, 34, 0)
t1 = dt.datetime(2017, 7, 11, 22, 34, 5)

# Load data into file
file = database.load_data(t0, t1)

Plot Dissipation Measures

Compare entropy measures to other indicators of energy dissipation.

import datetime as dt
import plots

# Define the time interval
t0 = dt.datetime(2017, 7, 11, 22, 34, 0)
t1 = dt.datetime(2017, 7, 11, 22, 34, 5)

# Create the plot
plots.dissipation_measures(t0, t1)

Plot Maxwellian Look-Up Table

Plot (and create, if not already created) a Maxwellian distribution Look-Up Table (LUT).

import datetime as dt
import plots

# Define the time interval
t0 = dt.datetime(2017, 7, 11, 22, 34, 0)
t1 = dt.datetime(2017, 7, 11, 22, 34, 5)

# Create the plot
plots.max_lut('mms3', 'brst', 'des-dist', t0, t1)

Plot Errors in the Maxwellian Look-Up Table

Determine the error between the measured, equivalent maxwellian, and optimized equivalent Maxwellian distribution fuctions. Note: this will take a minute or two.

import datetime as dt
import plots

# Define the time interval
t0 = dt.datetime(2017, 7, 11, 22, 34, 0)
t1 = dt.datetime(2017, 7, 11, 22, 34, 5)

# Create the plot
plots.max_lut_error('mms3', 'brst', 'des-dist', t0, t1)

Relative Entropy and Change in Internal Energy

Determine the error between the measured, equivalent maxwellian, and optimized equivalent Maxwellian distribution fuctions. Note: this will take a minute or two.

import datetime as dt
import plots

# Define the time interval
t0 = dt.datetime(2017, 7, 11, 22, 34, 0)
t1 = dt.datetime(2017, 7, 11, 22, 34, 5)

# Create the plot
plots.relative_entropy('mms3', 'brst', 'des-dist', t0, t1)

About

The evolution of kinetic entropy and its connection to energy transfer in fundamental processes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages