19 package org.matsim.core.mobsim.hermes;
21 import jakarta.validation.constraints.Positive;
22 import org.apache.logging.log4j.LogManager;
33 public static final String
NAME =
"hermes";
34 private static final String
END_TIME =
"endTime";
48 private static final String
DETPT =
"useDeterministicPt";
58 private static final String
STUCKTIMEPARAMDESC =
"time in seconds. Time after which the frontmost vehicle on a link is called `stuck' if it does not move." 59 +
" Set to Integer.MAX_VALUE to disable this behavior";
62 private static final String
MAINMODESPARAMDESC =
"[comma-separated list] Modes that are handled in the mobsim along links. By default: car";
65 private static final String
DETPTDESC =
"treats PT as deterministic. PT vehicles will run with a steady speed. Should be used with separate network layers for PT and other network modes.";
158 Map<String, String> comments = super.getComments();
159 comments.put(
END_TIME,
"Simulation End Time");
169 super.checkConsistency(config);
171 LogManager.getLogger(getClass()).warn(
"Hermes should be run with one thread per handler.");
void checkConsistency(Config config)
static final String DETPTDESC
static Set< String > stringToSet(final String values)
double storageCapacityFactor
String getEndTimeAsString()
static final String FLOW_CAPACITY_FACTOR
static String setToString(final Set< String > values)
static final int MAX_VEHICLE_VELOCITY
EventsManagerConfigGroup eventsManager()
static final String MAINMODESPARAM
void setFlowCapacityFactor(double flowCapacityFactor)
Set< String > getMainModes()
double getFlowCapacityFactor()
static final int MAX_STOP_ROUTE_ID
Map< String, String > getComments()
static final boolean CONCURRENT_EVENT_PROCESSING
static final double parseTime(final String time)
static final String END_TIME
String getMainModesAsString()
void setStorageCapacityFactor(double storageCapacityFactor)
static final String STUCKTIMEPARAMDESC
double flowCapacityFactor
void setDeterministicPt(boolean deterministicPt)
static final String writeTime(final double seconds, final String timeformat)
static final int MAX_EVENTS_AGENT
boolean isDeterministicPt()
static final boolean DEBUG_REALMS
void setMainModes(Set< String > mainModes)
static final boolean DEBUG_EVENTS
static final String MAINMODESPARAMDESC
static final int MAX_VEHICLE_PCETYPES
static final int LINK_ADVANCE_DELAY
void setStuckTime(int stuckTime)
static void setEndTime(String endTime)
static final String DETPT
final ControllerConfigGroup controller()
double getStorageCapacityFactor()
Boolean getOneThreadPerHandler()
static final String STUCKTIMEPARAM
static final int MAX_LINK_ID
static final String STORAGE_CAPACITY_FACTOR