You can see this discussion - https://www.researchgate.net/post/How-id-the-RPL-rank-calculation-done-in-NetSim and this link - https://support.tetcos.com/support/solutions/articles/14000109944-how-to-implement-objective-function-zero-for-rpl-protocol-in-netsim-iot-