Class TbiAnalyzer
- All Implemented Interfaces:
FluidAnalyzer
The station set is partitioned into cells (see tbiPartition(jline.lang.NetworkStruct, jline.solvers.SolverOptions)). On
each growing-horizon time segment, the initial value problem of every cell is
solved with the state of the other cells frozen at the trajectory computed in
the previous sweep (Jacobi waveform relaxation); sweeps repeat until the
trajectory sup-norm gap falls below options.config.tbi_tol. Cross-cell
inflows are therefore evaluated on frozen trajectories, interior flows on the
live cell state, matching the decomposed closing-method ODEs of TBI.
Only the ODE integration loop is overridden; the state initialization and
the QN/QNt/UNt/TN/UN postprocessing are inherited from
ClosingAndStateDepMethodsAnalyzer, run under the closing method
convention.
Reference: Sheldon, Tuncer, Casale, "TBI: Transient Hierarchical Modeling of Large-Scale Vehicle Sharing Systems", IEEE T-ITS.
-
Field Summary
Fields inherited from class jline.solvers.fluid.analyzers.ClosingAndStateDepMethodsAnalyzer
xvec_it, xvec_t -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanalyze(NetworkStruct sn, SolverOptions options, SolverResult result) protected voidsolver_fluid_iteration(NetworkStruct sn, Map<Station, Map<JobClass, Matrix>> mu, Map<Station, Map<JobClass, Matrix>> phi, Matrix S, double[] yDefault, Matrix slowrate, SolverOptions options, SolverResult result) static List<int[]> tbiPartition(NetworkStruct sn, SolverOptions options) Partition the station set into cells for trajectory-based iteration.Methods inherited from class jline.solvers.fluid.analyzers.ClosingAndStateDepMethodsAnalyzer
detectStiffnessUsingOstrowski, getXVecIt
-
Constructor Details
-
TbiAnalyzer
public TbiAnalyzer()
-
-
Method Details
-
analyze
- Specified by:
analyzein interfaceFluidAnalyzer- Overrides:
analyzein classClosingAndStateDepMethodsAnalyzer
-
solver_fluid_iteration
protected void solver_fluid_iteration(NetworkStruct sn, Map<Station, Map<JobClass, Matrix>> mu, Map<Station, Map<JobClass, Matrix>> phi, Matrix S, double[] yDefault, Matrix slowrate, SolverOptions options, SolverResult result) - Overrides:
solver_fluid_iterationin classClosingAndStateDepMethodsAnalyzer
-
tbiPartition
Partition the station set into cells for trajectory-based iteration. Honorsoptions.config.tbi_cells, a list of disjoint zero-based station-index vectors covering 0..nstations-1. Otherwise stations are agglomerated greedily on the symmetrized station-level routing weights, targetingoptions.config.tbi_cellsizestations per cell.- Parameters:
sn- network structoptions- solver options- Returns:
- list of cells, each an array of zero-based station indices
-