Building ROMs and Digital Twins using Python Libraries