How to calculate energy storage efficiency in ferroelectric diagram