add energy analysis script for Na0.5CoO2