Integral capacitance to energy density

We have calculated integral capacitance via MD simulations, but want to convert it into energy density for supercapacitor system, can someone guide?