Source code for cea.technologies.thermal_storage

"""
thermal storage
"""


from __future__ import division

__author__ = "Thuy-An Nguyen"
__copyright__ = "Copyright 2015, Architecture and Building Systems - ETH Zurich"
__credits__ = ["Thuy-An Nguyen", "Tim Vollrath", "Jimeno A. Fonseca"]
__license__ = "MIT"
__version__ = "0.1"
__maintainer__ = "Daren Thomas"
__email__ = "cea@arch.ethz.ch"
__status__ = "Production"


# investment and maintenance costs

[docs]def calc_Cinv_storage(vol, gV): """ calculate the annualized investment cost of a thermal storage tank :param vol: storage tank volume :type vol: float :param gV: global.var :returns InvCa: """ if vol>0: InvCa = 7224.8 * vol ** (-0.522) * vol * gV.EURO_TO_CHF / 50 else: InvCa = 0 return InvCa # CHF/a