Automatic Generation of Chemical Kinetic Models Including Macromolecules in Multiphase Systems