The analysis of security cost for different energy sources