ChemPy: A package useful for chemistry written in Python. Dahlgren, B. Journal of Open Source Software, 3(24):565, April, 2018.
Paper doi abstract bibtex ChemPy is a Python library that provides functions and classes for solving chemistry related problems. It includes classes for representing substances, reactions, and systems of reactions. It also includes well established formulae from physical chemistry, as well as analytic solutions to some differential equations commonly encountered in chemical kinetics. Last, but not the least, it collects parametrizations of chemical properties of substances from the literature. Its intended audience is primarily researchers and engineers who need to perform modelling work. But since the intermediate representations of, e.g., ODE systems and systems of non-linear equations are available symbolically, ChemPy may also be used in an educational setting. Substances are represented by a class that holds their names and, optionally, information on their composition, weight, charge etc., as well as how to pretty print them using LaTeX, HTML and unicode. Both the composition and stylistic representations can be deduced by ChemPy's parser. Reactions are represented through their stoichiometry and thermodynamic/kinetic parameters. If the stoichiometry of a reaction is unknown, ChemPy can balance it based on the composition of the substances. The classes for representing systems of reactions provide methods to analyze, e.g., if there are disjoint sets of reactions, or if all are connected in the same network. The classes also offer a series of checks performed at initialization, ensuring balanced reactions with sane coefficients and consistent units. Systems of reactions can be represented as graphs, tables, systems of ordinary differential equations (chemical kinetics) or non-linear equations (chemical equilibria). The latter two forms can be solved numerically using pyodesys [@dahlgren_pyodesys_2018] and pyneqsys [@dahlgren_pyneqsys_2018] respectively. Thanks to the use of SymPy [@Meurer2017], stoichiometry problems with a single unique solution can be solved analytically, as well as under-determined systems, where the answer then contains a free parameter. The under-determined formulation can also be expressed in a canoncial form with coefficients minimzed using PuLP [@mitchell2011pulp;@lougee2003common]. In fact, most equations and parametrizations in ChemPy support—in addition to NumPy arrays [@vanderWalt2011]—also symbolic input, as well as arrays with explicit units. The latter allows ChemPy to check that, e.g., the correct dimensionality with respect to reaction order is used for rate constants.
@article{dahlgren_chempy:_2018,
title = {{ChemPy}: {A} package useful for chemistry written in {Python}},
volume = {3},
issn = {2475-9066},
shorttitle = {{ChemPy}},
url = {http://joss.theoj.org/papers/10.21105/joss.00565},
doi = {10.21105/joss.00565},
abstract = {ChemPy is a Python library that provides functions and classes for solving chemistry related problems. It includes classes for representing substances, reactions, and systems of reactions. It also includes well established formulae from physical chemistry, as well as analytic solutions to some differential equations commonly encountered in chemical kinetics. Last, but not the least, it collects parametrizations of chemical properties of substances from the literature.
Its intended audience is primarily researchers and engineers who need to perform modelling work. But since the intermediate representations of, e.g., ODE systems and systems of non-linear equations are available symbolically, ChemPy may also be used in an educational setting.
Substances are represented by a class that holds their names and, optionally, information on their composition, weight, charge etc., as well as how to pretty print them using LaTeX, HTML and unicode. Both the composition and stylistic representations can be deduced by ChemPy's parser. Reactions are represented through their stoichiometry and thermodynamic/kinetic parameters. If the stoichiometry of a reaction is unknown, ChemPy can balance it based on the composition of the substances. The classes for representing systems of reactions provide methods to analyze, e.g., if there are disjoint sets of reactions, or if all are connected in the same network. The classes also offer a series of checks performed at initialization, ensuring balanced reactions with sane coefficients and consistent units.
Systems of reactions can be represented as graphs, tables, systems of ordinary differential equations (chemical kinetics) or non-linear equations (chemical equilibria). The latter two forms can be solved numerically using pyodesys [@dahlgren\_pyodesys\_2018] and pyneqsys [@dahlgren\_pyneqsys\_2018] respectively.
Thanks to the use of SymPy [@Meurer2017], stoichiometry problems with a single unique solution can be solved analytically, as well as under-determined systems, where the answer then contains a free parameter. The under-determined formulation can also be expressed in a canoncial form with coefficients minimzed using PuLP [@mitchell2011pulp;@lougee2003common]. In fact, most equations and parametrizations in ChemPy support---in addition to NumPy arrays [@vanderWalt2011]---also symbolic input, as well as arrays with explicit units. The latter allows ChemPy to check that, e.g., the correct dimensionality with respect to reaction order is used for rate constants.},
number = {24},
urldate = {2018-04-16},
journal = {Journal of Open Source Software},
author = {Dahlgren, Björn},
month = apr,
year = {2018},
keywords = {chemistry, physical chemistry, uses sympy},
pages = {565},
}
Downloads: 0
{"_id":"h4GS8D7k8zPzZehmL","bibbaseid":"dahlgren-chempyapackageusefulforchemistrywritteninpython-2018","authorIDs":[],"author_short":["Dahlgren, B."],"bibdata":{"bibtype":"article","type":"article","title":"ChemPy: A package useful for chemistry written in Python","volume":"3","issn":"2475-9066","shorttitle":"ChemPy","url":"http://joss.theoj.org/papers/10.21105/joss.00565","doi":"10.21105/joss.00565","abstract":"ChemPy is a Python library that provides functions and classes for solving chemistry related problems. It includes classes for representing substances, reactions, and systems of reactions. It also includes well established formulae from physical chemistry, as well as analytic solutions to some differential equations commonly encountered in chemical kinetics. Last, but not the least, it collects parametrizations of chemical properties of substances from the literature. Its intended audience is primarily researchers and engineers who need to perform modelling work. But since the intermediate representations of, e.g., ODE systems and systems of non-linear equations are available symbolically, ChemPy may also be used in an educational setting. Substances are represented by a class that holds their names and, optionally, information on their composition, weight, charge etc., as well as how to pretty print them using LaTeX, HTML and unicode. Both the composition and stylistic representations can be deduced by ChemPy's parser. Reactions are represented through their stoichiometry and thermodynamic/kinetic parameters. If the stoichiometry of a reaction is unknown, ChemPy can balance it based on the composition of the substances. The classes for representing systems of reactions provide methods to analyze, e.g., if there are disjoint sets of reactions, or if all are connected in the same network. The classes also offer a series of checks performed at initialization, ensuring balanced reactions with sane coefficients and consistent units. Systems of reactions can be represented as graphs, tables, systems of ordinary differential equations (chemical kinetics) or non-linear equations (chemical equilibria). The latter two forms can be solved numerically using pyodesys [@dahlgren_pyodesys_2018] and pyneqsys [@dahlgren_pyneqsys_2018] respectively. Thanks to the use of SymPy [@Meurer2017], stoichiometry problems with a single unique solution can be solved analytically, as well as under-determined systems, where the answer then contains a free parameter. The under-determined formulation can also be expressed in a canoncial form with coefficients minimzed using PuLP [@mitchell2011pulp;@lougee2003common]. In fact, most equations and parametrizations in ChemPy support—in addition to NumPy arrays [@vanderWalt2011]—also symbolic input, as well as arrays with explicit units. The latter allows ChemPy to check that, e.g., the correct dimensionality with respect to reaction order is used for rate constants.","number":"24","urldate":"2018-04-16","journal":"Journal of Open Source Software","author":[{"propositions":[],"lastnames":["Dahlgren"],"firstnames":["Björn"],"suffixes":[]}],"month":"April","year":"2018","keywords":"chemistry, physical chemistry, uses sympy","pages":"565","bibtex":"@article{dahlgren_chempy:_2018,\n\ttitle = {{ChemPy}: {A} package useful for chemistry written in {Python}},\n\tvolume = {3},\n\tissn = {2475-9066},\n\tshorttitle = {{ChemPy}},\n\turl = {http://joss.theoj.org/papers/10.21105/joss.00565},\n\tdoi = {10.21105/joss.00565},\n\tabstract = {ChemPy is a Python library that provides functions and classes for solving chemistry related problems. It includes classes for representing substances, reactions, and systems of reactions. It also includes well established formulae from physical chemistry, as well as analytic solutions to some differential equations commonly encountered in chemical kinetics. Last, but not the least, it collects parametrizations of chemical properties of substances from the literature.\n\nIts intended audience is primarily researchers and engineers who need to perform modelling work. But since the intermediate representations of, e.g., ODE systems and systems of non-linear equations are available symbolically, ChemPy may also be used in an educational setting.\n\nSubstances are represented by a class that holds their names and, optionally, information on their composition, weight, charge etc., as well as how to pretty print them using LaTeX, HTML and unicode. Both the composition and stylistic representations can be deduced by ChemPy's parser. Reactions are represented through their stoichiometry and thermodynamic/kinetic parameters. If the stoichiometry of a reaction is unknown, ChemPy can balance it based on the composition of the substances. The classes for representing systems of reactions provide methods to analyze, e.g., if there are disjoint sets of reactions, or if all are connected in the same network. The classes also offer a series of checks performed at initialization, ensuring balanced reactions with sane coefficients and consistent units.\n\nSystems of reactions can be represented as graphs, tables, systems of ordinary differential equations (chemical kinetics) or non-linear equations (chemical equilibria). The latter two forms can be solved numerically using pyodesys [@dahlgren\\_pyodesys\\_2018] and pyneqsys [@dahlgren\\_pyneqsys\\_2018] respectively.\n\nThanks to the use of SymPy [@Meurer2017], stoichiometry problems with a single unique solution can be solved analytically, as well as under-determined systems, where the answer then contains a free parameter. The under-determined formulation can also be expressed in a canoncial form with coefficients minimzed using PuLP [@mitchell2011pulp;@lougee2003common]. In fact, most equations and parametrizations in ChemPy support---in addition to NumPy arrays [@vanderWalt2011]---also symbolic input, as well as arrays with explicit units. The latter allows ChemPy to check that, e.g., the correct dimensionality with respect to reaction order is used for rate constants.},\n\tnumber = {24},\n\turldate = {2018-04-16},\n\tjournal = {Journal of Open Source Software},\n\tauthor = {Dahlgren, Björn},\n\tmonth = apr,\n\tyear = {2018},\n\tkeywords = {chemistry, physical chemistry, uses sympy},\n\tpages = {565},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Dahlgren, B."],"key":"dahlgren_chempy:_2018","id":"dahlgren_chempy:_2018","bibbaseid":"dahlgren-chempyapackageusefulforchemistrywritteninpython-2018","role":"author","urls":{"Paper":"http://joss.theoj.org/papers/10.21105/joss.00565"},"keyword":["chemistry","physical chemistry","uses sympy"],"metadata":{"authorlinks":{}},"downloads":0},"bibtype":"article","biburl":"https://bibbase.org/zotero-group/nicoguaro/525293","creationDate":"2020-07-15T19:11:20.570Z","downloads":0,"keywords":["chemistry","physical chemistry","uses sympy"],"search_terms":["chempy","package","useful","chemistry","written","python","dahlgren"],"title":"ChemPy: A package useful for chemistry written in Python","year":2018,"dataSources":["YtBDXPDiQEyhyEDZC","fhHfrQgj3AaGp7e9E","qzbMjEJf5d9Lk78vE","45tA9RFoXA9XeH4MM","MeSgs2KDKZo3bEbxH","nSXCrcahhCNfzvXEY","ecatNAsyr4f2iQyGq","tpWeaaCgFjPTYCjg3"]}