eos_toolbox

Description

Functions

calc_massi(molecular_composition, ...)

This function extracted the mass of each component

check_bead_parameters(bead_library0, ...)

Be sure all needed parameters are available for each bead.

combining_rules(beadA, beadB, parameter[, ...])

Calculates cross interaction parameter according to the calculation method defined.

construct_dummy_bead_library(input_dict[, keys])

Using arrays of values, a dictionary is populated like a bead_library.

cross_interaction_from_dict(beads, ...[, ...])

Computes matrices of cross interaction parameters defined as the keys in the combining dict parameter are extracted from the bead_library and then the cross library.

extract_property(prop, bead_library, beads)

Extract single property or key from a dictionary within a dictionary (e.g. bead parameters) and into a single array of the same length and order as a list of bead names.

partial_density_central_difference(xi, rho, ...)

Take the derivative of a dependent variable calculated with a given function using the central difference method.

remove_insignificant_components(xi_old, ...)

This function will remove any components with mole fractions less than or equal to machine precision.