Construction and characterization of models of hypercrosslinked polystyrene