Not completely sure what your question is, but if you're wondering if energy is renewable, it definitely is. Yes, energy is lost at every level and is not as efficient after change of form (entropy, 2nd Law of Thermodynamics as you said) however there is still usable energy after each transfer...