Kimiya
Kimiya (كيمياء — Arabic for "alchemy", the root of "chemistry") — chemistry engine for the AGNOS ecosystem.
Features
- Elements — 36 elements (H–Kr) with accurate atomic masses, electronegativity, categories
- Molecules — composition, molecular weight, formula strings (H2O, CO2, etc.)
- Reactions — Gibbs free energy, equilibrium constants, Hess's law, spontaneity
- Kinetics — Arrhenius rate, half-life, first/second-order concentration decay
- Gas Laws — ideal gas (PV=nRT), Van der Waals, partial pressure, gas density
- Solutions — molarity, molality, dilution, pH, pOH, Henderson-Hasselbalch
- Thermochemistry — heat transfer (q=mcΔT), formation enthalpy, specific heat
Quick Start
use ;
let fe = lookup_by_symbol.unwrap;
println!;
let water = water;
assert!;
let ph = ph_from_h_concentration;
assert!; // pure water
License
GPL-3.0