We present a modular framework for generating synthetic power grids that consider the heterogeneity of real power grid dynamics but remain simple and tractable. This enables the generation of large sets of synthetic grids for a wide range of applications. For the first time, our synthetic model also includes the major drivers of fluctuations on short-time scales and a set of validators that ensure the resulting system dynamics are plausible. The synthetic grids generated are robust and show good synchronization under all evaluated scenarios, as should be expected for realistic power grids. A software package that includes an efficient Julia implementation of the framework is released as a companion to the paper.