I have a smart meter emulator essentially a VM running some scripts to convert pow to phasor. I want to send the data to another VM having openPDC, can you share what are the essential things i need to be aware of?
I have previously linked an opal-rt with openpec and archived data successfully.
Hi bhaskarmitra,
“Things I need to be aware of” is vague so I’m not sure what you’re expecting. I don’t really know much about OPAL-RT so I’ll just talk from a general perspective of making TCP connections across VMs.
The first thing you’ll want to figure out is what options you have with regard to how your VM hosts emulate network hardware. Hyper-V, for example, provides the concept of a “virtual switch” with three different modes: External, Internal, and Private. If both VMs are running on the same host within Hyper-V, any of these three modes should allow connectivity between them so long as the two VMs are connected to the same virtual switch. If the VMs are on different hosts, you would have to use an External switch on both systems.
The second thing you’ll need to check is the Windows Firewall configuration on the VMs. This is a common source of network connectivity issues when working with openPDC. You need to add an inbound rule on the VM with the TCP/UDP listener that either allows network connections to the ports you have opened or else allows all network connections made to ports opened by the listening application.
I hope it helps.
Thanks,
Stephen
thanks for the reply, when i say “things to be aware of”, i am thinking any special header format or other format the data from the 1st VM hosting the smart meter emulator (essentially a python wrapper code) that has to be packaged so that it can be accepted by the 2nd VM hosting the openPDC. The expectation is that the openpdc will ping the IP address to check for data being sent.