def calc_Cinv_gas(PnomGas, gV):
    """
    Calculate investment cost of natural gas connections.

    :param PnomGas: peak natural gas supply in [W]
    :type PnomGas: float
    :param gV: globalvar.py

    :returns InvCa:
    :rtype InvCa:

    """

    InvCa = 0
    InvCa = gV.GasConnectionCost * PnomGas # from Energie360 - Zurich

    return InvCa