Lightweight Tg and reactivity ratio calculator

I put together a small Python notebook that fits copolymer reactivity ratios (Fineman–Ross or Kelen–Tudos) and predicts Tg with the Fox equation to speed up synthesis planning. Used it last week to target a 60/40 MMA/BA with Tg about 30 °C and hit 32 °C at 78% conversion — happy to share the template and would love pointers to similar open tools (especially for RAFT kinetics).

‌⁠‍⁠​‍​‍‌⁠‌​​‍​‍​⁠‍‍​‍​‍‌‍​⁠‌‍‍​‌‍‌‌‌‍⁠‌‌‍‍‌‌⁠​⁠‌⁠‌​​‍​‍​‍⁠​​‍​‍‌‍‍⁠​‍​‍​⁠‍‍​‍​‍‌‍⁠‍‌‍‌‌‌⁠‌⁠‌‌⁠⁠‌⁠‌​‌‍⁠⁠‌⁠​​‌‍‍‌‌‍​⁠​‍​‍​‍⁠​​‍​‍‌‍‍‌‌‍‌​​‍​‍​⁠‍‍​‍​‍‌‍⁠‍‌‍‌‌‌⁠‌⁠​‍​‍​‍⁠​​‍​‍‌‍‌​​‍​‍​⁠‍‍​‍​‍​⁠​‍​⁠​​​⁠​‍​⁠‌‌​⁠​‌​⁠​‍​⁠​‍​⁠​‌​‍​‍​‍⁠​​‍​‍‌‍‍​​‍​‍​⁠‍‍​‍​‍​⁠​​‌‌‌‍‌‍‌⁠‌⁠‌⁠​‍⁠‌​⁠‌‌‌⁠‌‌‌‍‍‍‌​‍​‌⁠‌​‌‌‌⁠‌‍⁠‌‌⁠​‍​⁠‌‍‌⁠​​​⁠​⁠​‍​‍‌⁠⁠‌​

For Tg I’ve found Fox is fine, but for MMA/BA I get tighter predictions with a simple Gordon–Taylor (k≈1.0–1.1) once the feed drifts — saves me from spreadsheet whack‑a‑mole. For RAFT kinetics, I’ve dumped elementary steps into COPASI (https://copasi.org) and let it fit kp/kx to conversion/Đ vs time; not pretty, but it works.

‌⁠‍⁠​‍​‍‌⁠‌​​‍​‍​⁠‍‍​‍​‍‌‍​⁠‌‍‍​‌‍‌‌‌‍⁠‌‌‍‍‌‌⁠​⁠‌⁠‌​​‍​‍​‍⁠​​‍​‍‌‍‍⁠​‍​‍​⁠‍‍​‍​‍‌⁠​‍‌‍‌‌‌⁠​​‌‍⁠​‌⁠‍‌​‍​‍​‍⁠​​‍​‍‌‍‍‌‌‍‌​​‍​‍​⁠‍‍​⁠‌‌​⁠​‌​⁠​‍​⁠‌‌​‍⁠​​‍​‍‌‍‌​​‍​‍​⁠‍‍​‍​‍​⁠​‍​⁠​​​⁠​‍​⁠‌‌​⁠​‌​⁠​‍​⁠​‍​⁠‌‌​‍​‍​‍⁠​​‍​‍‌‍‍​​‍​‍​⁠‍‍​‍​‍‌‌‌‌‌‍⁠​‌​‍‌‌​​‌​⁠​⁠​‍⁠‌‌‍‌⁠‌​‌‌‌​⁠⁠‌​‍​‌​‍‍‌​‌​​⁠​‌‌​‌⁠‌‌‍​‌‌​​​‍​‍‌⁠⁠‌