Study on separation of ship resistance components