rolland.track.ArrangedBallastedSingleRailTrack¶
- class rolland.track.ArrangedBallastedSingleRailTrack(*args, **kwargs)[source]¶
Bases:
DiscrBallastedSingleRailTrackSingle 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
- pad¶
Arrangement instance containing multiple pads.
- Type:
- sleeper¶
Arrangement instance containing multiple sleepers.
- Type:
- distance¶
Arrangement instance containing multiple distances.
- Type:
- 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)