rolland.track.ArrangedBallastedSingleRailTrack

class rolland.track.ArrangedBallastedSingleRailTrack(*args, **kwargs)[source]

Bases: DiscrBallastedSingleRailTrack

Single rail ballasted track with varying periodic support.

Variations in the form of periodicaly or stochasticaly varying mounting properties are allowed.

Note

Properties of ballast need to be defined as discrete values.

Layer

Component

Condition

Variability

/

rail

continuous

no

1st

pads

discrete

periodic/stochastic

1st/2nd

sleepers

discrete

periodic/stochastic

2nd

ballast

discrete

no

rail

Rail instance.

Type:

Rail

ballast

Ballast instance.

Type:

Ballast

pad

Arrangement instance containing multiple pads.

Type:

Arrangement

sleeper

Arrangement instance containing multiple sleepers.

Type:

Arrangement

distance

Arrangement instance containing multiple distances.

Type:

Arrangement

num_mount

Number of mounting positions.

Type:

int

mount_prop

Dictionary for discrete mounting positions (x-> (Pad, Sleeper)).

Type:

dict

l_track

Track length \([m]\). (May change slightly after discretization. Results from the number of mounting positions and the mounting distances).

Type:

float

Example

>>> from rolland.database.rail.db_rail import UIC60
>>> from rolland.components import DiscrPad, Sleeper
>>> from rolland.arrangement import PeriodicArrangement
>>> from rolland.track import ArrangedBallastedSingleRailTrack
>>> thepadA = DiscrPad(sp = [300*10**6, 0], dp = [30000, 0])
>>> thepadB = DiscrPad(sp = [400*10**6, 0], dp = [40000, 0])
>>> thesleeperA = Sleeper(ms = 150)
>>> thesleeperB = Sleeper(ms = 200)
>>> pad = PeriodicArrangement(item=[thepadA, thepadB])
>>> distance = PeriodicArrangement(item=[0.65, 0.5])
>>> sleeper = PeriodicArrangement(item=[thesleeperA, thesleeperB])
>>> track = ArrangedBallastedSingleRailTrack(
...     rail=UIC60,
...     pad=pad,
...     sleeper=sleeper,
...     distance=distance)
calc_mount_prop(change=None)[source]

Calculate the mounting properties.

validate_track()[source]

Validate the track configuration.

validate_single_rail_track()[source]

Validate the single rail configuration.

validate_ballasted_single_rail_track()[source]

Validate the ballasted single rail configuration.

validate_discr_ballasted_single_rail_track()[source]

Validate the discrete ballasted single rail configuration.