The file thermo-data.csv
contains thermodynamic data on several compounds under standard conditions of pressure (\(p = 1\;\mathrm{bar}\)) and at \(T = 298\;\mathrm{K}\) in the format:
Formula, DfHm /kJ.mol-1, DSm /J.K-1.mol-1
H2O(g), -241.83, 188.84
CO2(g), -393.52, 213.79
LiOH(s), -484.93, 42.81
Li2CO3(s), -1216.04, 90.31
Read these data into suitable dictionaries of the standard molar enthalpies of formation and molar entropies, and use them to calculate the equilibrium constant for the following reaction, which forms the basis for the operation of carbon dioxide removal from the crew cabins of some space craft.
$$ 2\mathrm{LiOH(s)} + \mathrm{CO_2(g)} \rightarrow \mathrm{Li_2CO_3(s)} + \mathrm{H_2O(g)} $$