Electrification.get_indep_line_names

Electrification.get_indep_line_names(verbose=False)[source]

Get names of independent lines.

Parameters

verbose (bool) – whether to print relevant information in console as the function runs, defaults to False

Returns

a list of independent line names

Return type

list

Example:

>>> from pyrcs.line_data import Electrification

>>> elec = Electrification()

>>> l_names = elec.get_indep_line_names()

>>> print(l_names[:5])
['Beamish Tramway',
 'Birkenhead Tramway',
 'Black Country Living Museum',
 'Blackpool Tramway',
 'Brighton and Rottingdean Seashore Electric Railway']