Real-time battery SoC estimation using machine learning with raspberry Pi and OPAL-RT validation | Synapse