Release Notes¶
Development Branch¶
Version 1.2.19¶
Apr. 8, 2020
- Fixed bug where
LSRcould not be imported inread_excel(). - Updated
iosections to incorporate Pathlib library - Added helper functions in
omkmto organize phases - Fixed bug where slopes and y intercepts were switched for
PiecewiseCovEffectwhen writing CTI files. - Fixed bug in
write_surf()wheren_sitescould be written as a float - Updated OpenMKM IO example
Version 1.2.17¶
Jan. 31, 2020
- Added more descriptive warning messages when incorrect temperature values are
passed to
Nasa,Nasa9, andShomate. - Fixed bug where the conversion factor for Hartrees was incorrect.
- Added extra parameters for OpenMKM IO.
- Added helper functions for OpenMKM IO to assign phases easily.
- Added a helper method in
IdealGasandStoichSolidto only assign a reaction to the phase if all the species belong to that phase. - Fixed outdated code in Chemkin example and OpenMKM example.
- Reorganized documentation to use stubs. Shorter pages should hopefully make the documentation easier to navigate.
Version 1.2.15¶
Dec. 5, 2019
- Added
write_yaml()to write YAML files for OpenMKM. - Added warning for
read_excel()if the header is blank but the cells are occupied. - Fixed bug in
read_excel()wheremodelwas not correctly initialized withStatMech(). - Added the generic method,
set_dict_value()to specify dictionaries inread_excel() - Removed redundant statements involving returning dictionaries in functions to process Excel data.
- Fixed warning raised whenever CpoR = 0 when fitting empirical polynomials.
Version 1.2.14¶
Oct. 25, 2019
- Added functionality to write files (such as
write_thermdat()) can return a string containing the file iffilenameis not specified. - Bug fix where
from_modelforNasaandShomatereturned errors. The fix was related to incorrect datatyping formisc_models. - Improved
Shomateto allow users to specify the units for the polynomial coefficients. - Energies from Gaussian input functions (
gaussian) was originally in Hartrees. Changed to allow users to specify what unit they desire (default in eV). - Added functionality to write BEP relationships to OpenMKM CTI files.
- Restructured OpenMKM CTI writer to be more robust when specifying custom IDs
- Added functionality to remove leading and trailing spaces when reading from Excel sheets since users found this error hard to pick up.
Version 1.2.13¶
Oct. 2, 2019
- Fixed bug where small non-zero rotational inertia modes were chosen preferentially over larger contributing modes.
- Fixed bug where presets had to be specified before statistical mechanical arguments. Now, the preset will not overwrite any previously set values.
- Updated
read_thermdat()to allow the user to return theNasaobjects as a list, tuple, or dictionary. - Updated
write_thermdat()to accept a list or a dictionary ofNasaobjects - Implemented from_model method in
NasaandShomateclasses so empirical objects can be created fromStatMechobjects as well as other empirical objects. Thefrom_statmechmethod is deprecated. - Added more descriptive warnings and errors.
- Created
GasPressureAdjso entropy and Gibbs energy of gas-phase empirical objects (likeShomateandNasa) are dependent on pressure. This object is assigned automatically tomisc_modelsifphaseis ‘g’ or ‘gas’ and theadd_gas_P_adjcan be set to False if users do not wish to assign this object automatically. - Thermodynamic quantities of individual species can also be calculated on a
per mass basis (i.e. users can calculate quantities in J/g, cal/kg, etc.).
The object must contain a dictionary of its composition in
elementsfor this functionality. - Fixed broken hyperlinks.
Version 1.2.12¶
Aug. 22, 2019
- Refactored
write_thermdatso that it is simpler to understand - Implemented
Nasa9andSingleNasa9polynomials - Added preliminary CTI file writer for Cantera and OpenMKM
- Added Binder notebooks to Examples page so users can try pMuTT before installing
- Fixed bug where
StatMechwas not passed when modes were specified indivudally in spreadsheets.
Version 1.2.11¶
Jun. 18, 2019
- Added xlrd dependency so spreadsheets can be read using pandas
- Updated documentation page with NAM 2019 instructions.
Version 1.2.10¶
Jun. 13, 2019
- Another hotfix to fix a bug where the version was not incremented correctly
Version 1.2.9¶
Jun. 13, 2019
- Hotfix where pypi created the folder in the old case (pMuTT) instead of lower case (pmutt)
Version 1.2.8¶
Jun. 13, 2019
- Importing from pMuTT is now all in lowercase. (i.e.
import pmuttinstead ofimport pMuTT)
Version 1.2.7¶
Jun. 11, 2019
- Added documentation page for more verbose installation instructions.
- Updated
networkto use graph theory approach using states as nodes - Bug fix for
LSRto handle inputs that are not pmutt model objects - Added ability to create interactive plots with Pygal
- Updated
GroundStateElecto readpotentialenergyfrom inputtedAtomsobject.
Version 1.2.6¶
Apr. 26, 2019
- Moved
referencesattribute from empirical classes toStatMech - Changed
mix_modelsattribute tomisc_modelsin indicating any model object can be used - Implemented
DebyeVibandConstantModeclasses - Restructured
BEPobject to act as a transition state species inReactionobjects - Implemented
LSRobject - Added option to calculate pre-exponential factor using ratio of partition functions or entropy of activation
- Added option to use electronic energy as descriptor for
BEPobject - Added some imperial unit functionality to
pmutt.constantsmodule - Renamed
from_parameter andtoparameter inpmutt.constants.convert_unit()toinitialandfinal - Added ability to import individual translational, rotational, vibrational, electronic and nuclear modes to Excel
- Renamed
pmutt.statmech.trans.IdealTranstoFreeTrans - Renamed
pmutt.statmech.elec.IdealElectoGroundStateElec - Renamed
pmutt.statmech.nucl.IdealNucltoEmptyNucl
Version 1.2.5¶
Mar. 21, 2019
- Renamed
pmutt.io_module topmutt.io - Renamed
pmutt.io_.jsoniomodule topmutt.io.json - Added preliminary IO support for MongoDB in module:
pmutt.io.db - Bug fixes for Chemkin IO behavior
Version 1.2.3¶
Feb. 25, 2019
- Added
smilesattribute toStatMechandEmpiricalBaseclasses - Added functions to write Chemkin surf.inp, gas.inp, and EAs.inp files
- Added
CovEffectclass to model coverage effects and integrated it withStatMechandEmpiricalBaseclasses - Added
include_ZPEparameter toget_EoRT,get_E,get_delta_EoRTandget_delta_Efor theStatMechclass andReactionclass to add zero-point energy in calculations - Renamed private methods
_get_delta_quantityand_get_state_quantityto public methodsget_delta_quantityandget_state_quantityinReactionclass - Added generic method
get_quantitytoStatMechclass so any method can be evaluated. It takes the parametersraise_errorandraise_warningso the user has the ability to ignore modes if they do not have the desired properties - Added
plot_coordinate_diagrammethod to theReactionsclass to plot coordinate diagrams. - Added
get_EoRTandget_Emethods toStatMechclass to calculate electronic contribution to thermodynamic properties - Added
get_EoRT_stateandget_delta_EoRTmethods toReactionto calculate electronic contribution to reaction properties - Added an optional parameter,
activation, toget_delta_Xmethods to specify the difference between the reactants/products and the transition state. - Added
pmutt.constants.symmetry_dictto allow easy look up of common symmetry numbers - Fixed bug where specie-specific arguments were not passed correctly for
Reactionclass
Version 1.2.2¶
Jan. 18, 2019
- Added option to extract imaginary frequencies from VASP’s OUTCAR files
- Added support for imaginary frequencies for
HarmonicVibandQRRHOVibclasses - Restructured
HarmonicVibandQRRHOVibclasses to calculate vibrational temperatures, scaled wavenumbers and scaled inertia when methods are called (rather than at initialization) to prevent incorrect calculations due to changes in the vibrational wavenumbers. - Fixed unit test names
- Added
get_speciestoReactionandReactions - Fixed bug related to
ReferencesandReferenceobjects not JSON-write compatible. - Fixed bug related to referencing in
Shomateclass
Version 1.2.1¶
Dec. 17, 2018
- Added
vib_outcarspecial rule forread_excel()andset_vib_wavenumbers_from_outcar()to get vibrational frequencies directly from VASP’s OUTCAR file. - Added
get_Xmethods toNasa,Shomate,StatMechandReactionto directly calculate thermodynamic properties (such as H, S, F, G) with the appropriate units - Changed symbol for Hemlholtz energy from A to F
Version 1.1.3¶
Dec. 11, 2018
- Added
BEPclass - Restructured
Reactionclass so reaction states (i.e. reactants, products, transition states) can be calculated separately - Updated
Referencesclass to be able reference any attribute - Added
placeholderentry topresetsdictionary to represent an empty species - Added correction factor to calculate partition coefficient, q, in
IdealElecclass
Version 1.1.2¶
Nov. 27, 2018
- Fixed bugs in
Reactionclass for calculating pre-exponential factors - Added methods in
Reactionclass to calculate rate constants and activation energy (currently, this just calculates the difference in enthalpy between the reactant/product and the transition state) - Quality of life improvements such as allowing
Reactionclass inputs to be a single pmutt object instead of expecting a list
Version 1.1.1¶
Nov. 7, 2018
- Fixed bugs in
Shomateclass forget_HoRTandget_SoRwhere one temperature would return a 1x1 vector instead of a float - Fixed bug in
Zacrosclass where it expected vibrational energies instead of wavenumbers.
Version 1.1.0¶
Oct. 26, 2018
- Updated
Reactionclass to parse strings - New
Shomateclass - New equation of state classes:
IdealGasEOS,vanDerWaalsEOS - New
PhaseDiagramclass - New
EinsteinVibclass - New
read_reactions()function to read species and reactions from Chemkin surf.inp and gas.inp files