Update loadbalance.py

Cast string ppn as int