UCEF EnergyPlus Co Simulation VirtualBox Configuration - SCU-Smart-Grid-CPS/smart-grid-energy-simulation-research GitHub Wiki
In VirtualBox settings, go to Network and choose Host-only Adapter
If the virtual machine is already powered on, go to Devices -> Network -> Network Settings...
Note: with Host-only Adapter the virtual machine cannot access the rest of the internet, so if the simulation depends on web data access, it will not work with this method.
In virtual machine terminal, run ifconfig
The correct IP is always 192.168.56.101 (even on a different computer!)
Change the IP in Joe_ep_fmu and config.txt to 192.168.56.101
Preconfigured Shortcut
The IP for VirtualBox Host-only Adapter is preconfigured in:
UCEF Optimization config.txt from here