Changed energy balances to be public to allow changing its parameters for the numerical experiments.