rolland.track.SimplePeriodicBallastedSingleRailTrack¶
- class rolland.track.SimplePeriodicBallastedSingleRailTrack(*args, **kwargs)[source]¶
Bases:
DiscrBallastedSingleRailTrackSingle rail ballasted track with simple periodic support.
All mounting properties are uniform and no variation is allowed.
Note
Properties of ballast need to be defined as discrete values.
Layer
Component
Condition
Variability
/
rail
continuous
no
1st
pads
discrete
no
1st/2nd
sleeper
discrete
no
2nd
ballast
discrete
no
- sleeper¶
Sleeper instance.
- Type:
Instance of
sleeperclass
- distance¶
Distance between mounting positions.
- Type:
float
- 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.track import SimplePeriodicBallastedSingleRailTrack>>> thepad = DiscrPad(sp = [300*10**6, 0], dp = [30000, 0]) >>> thesleeper = Sleeper(ms = 150) >>> distance = 0.6 >>> tr = SimplePeriodicBallastedSingleRailTrack( ... rail=UIC60, ... pad=thepad, ... sleeper=thesleeper, ... distance=distance)