rolland.discretization.DiscretizationEBBVerticConst

class rolland.discretization.DiscretizationEBBVerticConst(*args, **kwargs)[source]

Bases: DiscretizationEBBVertic

Discretization with non-time-dependent parameters according to Stampka and Sarradj [4].

The parameters are constant over time. Only applicable for non-moving sound sources and linear superstructure properties.

track

Track instance.

Type:

Track

dt

Step size in time \([s]\).

Type:

float

req_simt

Requested simulation time \([s]\).

Type:

float

bx

Stability coefficient for dx calculation (must be \(b_x \geq 1\)) \([-]\).

Type:

float

nt

Number of time steps \([-]\).

Type:

int

sim_t

Actual simulation time \([s]\).

Type:

float

dx

Step size in space \([m]\).

Type:

float

bx_upd

Updated stability coefficient \([-]\).

Type:

float

nx

Number of spatial steps \([-]\).

Type:

int

bound

Boundary instance.

Type:

PMLRailDampVertic

A

Coefficient matrix A.

Type:

scipy.sparse.csc_matrix

B

Coefficient matrix B.

Type:

scipy.sparse.csc_matrix

C

Coefficient matrix C.

Type:

scipy.sparse.csc_matrix

vec_dr

Rail damping vector.

Type:

numpy.ndarray

vec_sp

Pad stiffness vector.

Type:

numpy.ndarray

vec_dp

Pad damping vector.

Type:

numpy.ndarray

vec_ms

Sleeper/Slab mass vector.

Type:

numpy.ndarray

vec_sb

Ballast stiffness vector.

Type:

numpy.ndarray

vec_db

Ballast damping vector.

Type:

numpy.ndarray

validate_discretization()[source]

Validate the discretization.

validate_discretization_stampka()[source]

Validate the discretization according to Stampka.

initialize_vectors()[source]

Initialize the vectors.

add_boundary_conditions()[source]

Add boundary conditions to the rail damping vector.

This method modifies the rail damping vector (vec_dr) by adding the boundary conditions from the Perfectly Matched Layer (PML) at both ends of the grid.

build_superstructure_vectors()[source]

Handle track-specific logic.

This method initializes the superstructure property vectors based on the type of track.

Parameters:

None

Return type:

None

build_discrete_slab_track()[source]

Build discrete slab track.

Properties are assigned to the corresponding mounting positions.

Parameters:

None

Return type:

None

build_discrete_ballasted_track()[source]

Build discrete ballasted track.

Properties are assigned to the corresponding mounting positions.

Parameters:

None

Return type:

None