Energy balance analysis method in oscillating type wave converter