def _add_cable_to_equipment_changes(network, line):
    """Add cable to the equipment changes

    All changes of equipment are stored in network.results.equipment_changes
    which is used later to determine grid expansion costs.

    Parameters
    ----------
    network : :class:`~.grid.network.Network`
        The eDisGo container object
    line : class:`~.grid.components.Line`
        Line instance which is to be added
    """
    network.results.equipment_changes = \
        network.results.equipment_changes.append(
            pd.DataFrame(
                {'iteration_step': [0],
                 'change': ['added'],
                 'equipment': [line.type.name],
                 'quantity': [1]
                 },
                index=[line]
            )
        )
Add cable to the equipment changes

    All changes of equipment are stored in network.results.equipment_changes
    which is used later to determine grid expansion costs.

    Parameters
    ----------
    network : :class:`~.grid.network.Network`
        The eDisGo container object
    line : class:`~.grid.components.Line`
        Line instance which is to be added