Greetings Smriti,
Typhoon HIL provides a comprehensive API library that allows real-time data exchange and control. You can use Python-based scripting to interface with external data sources, such as a solar panel monitoring app, and feed this data into your HIL simulation. You can take a look at our API functions library on this link.
Hope this helps,