Package actuator
Class ActuatorLaneGroupCapacity
- java.lang.Object
-
- actuator.AbstractActuator
-
- actuator.AbstractActuatorLaneGroup
-
- actuator.ActuatorLaneGroupCapacity
-
- All Implemented Interfaces:
InterfaceScenarioElement
,Pokable
public class ActuatorLaneGroupCapacity extends AbstractActuatorLaneGroup
This actuator controls the maximum flow rate on a contiguous set of lanes in a link. The control signal is constrained between user-defined maximum and minimum values.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class actuator.AbstractActuator
AbstractActuator.Type
-
-
Field Summary
Fields Modifier and Type Field Description float
max_rate_vps
float
min_rate_vps
int
total_lanes
-
Fields inherited from class actuator.AbstractActuator
commids, dt, id, initialized, myController, target
-
-
Constructor Summary
Constructors Constructor Description ActuatorLaneGroupCapacity(Scenario scenario, Actuator jact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractActuator.Type
getType()
void
initialize(Scenario scenario, float start_time, boolean override_targets)
void
process_command(InterfaceCommand command, float timestamp)
-
Methods inherited from class actuator.AbstractActuator
getId, getSEType, poke, to_jaxb, turn_off, turn_on, validate_post_init, validate_pre_init
-
-
-
-
Constructor Detail
-
ActuatorLaneGroupCapacity
public ActuatorLaneGroupCapacity(Scenario scenario, Actuator jact) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
getType
public AbstractActuator.Type getType()
- Specified by:
getType
in classAbstractActuator
-
initialize
public void initialize(Scenario scenario, float start_time, boolean override_targets) throws OTMException
- Overrides:
initialize
in classAbstractActuatorLaneGroup
- Throws:
OTMException
-
process_command
public void process_command(InterfaceCommand command, float timestamp) throws OTMException
- Specified by:
process_command
in classAbstractActuator
- Throws:
OTMException
-
-