Profits of hydrogen production and energy storage