Modeling and validation of the Flex Power Grid Laboratory