Package models.fluid

Class FluidLaneGroup

    • Field Detail

      • nom_ffspeed_cell_per_dt

        public double nom_ffspeed_cell_per_dt
      • nom_capacity_veh_per_dt

        public double nom_capacity_veh_per_dt
      • wspeed_cell_per_dt

        public double wspeed_cell_per_dt
      • lc_w

        public double lc_w
      • ffspeed_cell_per_dt

        public double ffspeed_cell_per_dt
      • capacity_veh_per_dt

        public double capacity_veh_per_dt
      • jam_density_veh_per_cell

        public double jam_density_veh_per_cell
      • critical_density_veh

        public double critical_density_veh
    • Method Detail

      • validate_post_init

        public void validate_post_init​(OTMErrorLog errorLog)
      • initialize

        public void initialize​(Scenario scenario,
                               float start_time)
                        throws OTMException
        Overrides:
        initialize in class core.AbstractLaneGroup
        Throws:
        OTMException
      • get_lat_supply

        public double get_lat_supply()
      • set_road_params

        public void set_road_params​(Roadparam r)
        Overrides:
        set_road_params in class core.AbstractLaneGroup
      • set_actuator_capacity_vps

        public void set_actuator_capacity_vps​(double rate_vps)
      • set_to_nominal_capacity

        public void set_to_nominal_capacity()
      • set_actuator_speed_mps

        public void set_actuator_speed_mps​(double speed_mps)
      • allocate_state

        public void allocate_state()
      • get_max_vehicles

        public double get_max_vehicles()
      • get_upstream_vehicle_position

        public Double get_upstream_vehicle_position()
      • release_vehicle_packets

        public void release_vehicle_packets​(float timestamp)
                                     throws OTMException
        Throws:
        OTMException
      • update_long_supply

        public void update_long_supply()
      • vehs_dwn_for_comm

        public float vehs_dwn_for_comm​(Long comm_id)
      • vehs_in_for_comm

        public float vehs_in_for_comm​(Long comm_id)
      • vehs_out_for_comm

        public float vehs_out_for_comm​(Long comm_id)
      • get_num_cells

        public final int get_num_cells()
      • request_flow_accumulators_for_cell

        public final FlowAccumulatorState request_flow_accumulators_for_cell​(Set<Long> comm_ids,
                                                                             int cell_index)
      • request_flow_lcout_accumulators_for_cells

        public final List<FlowAccumulatorState> request_flow_lcout_accumulators_for_cells​(Long comm_id)
      • request_flow_lcin_accumulators_for_cells

        public final List<FlowAccumulatorState> request_flow_lcin_accumulators_for_cells​(Long comm_id)
      • get_upstream_cell

        public final AbstractCell get_upstream_cell()
      • get_dnstream_cell

        public final AbstractCell get_dnstream_cell()
      • create_cells

        public final void create_cells​(core.AbstractFluidModel model,
                                       float cell_length_meters)
                                throws OTMException
        Throws:
        OTMException
      • release_vehicles

        public void release_vehicles​(Map<State,​Double> X)
      • compute_lcw

        public void compute_lcw()