Enhanced sampling methods for kinetics of biomolecules and application to triazine polymers