Easiest solution and the one I use (I have my home PCs always use the same IP as I control all the house PCs remotely if I need to) is to use DHCP reservation (or the equivalent name on your router) so that the router always gives each PC the same IP address.
This way you have a static IP without needing to worry if it will work at other locations.
This way you have a static IP without needing to worry if it will work at other locations.