+1 vote
325 views
by Haydar Karhan (13 points)
Hello,

I am trying to model a DC motor in Typhoon in either VHIL or TyphoonSim. I want to export the Electrical Torque of the motor in real time to import in a Matlab Simscape model for visualization of the motor. How can I do this transfer? Ideally I would like to do this via TCP/UDP, as is possible in a real HIL device.

I thought of streaming the data in SCADA API and reading the file using a custom script. If there are any easier methods of achieving this please let me know.

Thanks for your answers in advance!

1 Answer

0 votes
ago by Era Bajpai (325 points)
Hello Haydar,

For Virtual simulation, the possibility is to export data using data logging widgets only. You can use signal data logger for .MAT or .CSV data storing OR you can use stream data logger for .CSV, .H5 or .MF4. In case for higher data rates, it is not recommended to use .CSV format.
You can use TCP/UDP protocol incase of physical device connection over Ethernet only.
Welcome to the Typhoon HIL user forum. Please check self-service support resources before posting a question.

HIL Specialist 2.0 courses
Documentation
Knowledgebase (Legacy)
Video support on demand
Youtube tutorials

For subscription-based support visit Typhoon HIL Support Center
...