ambulance.Ambulance.charge_at_base#

Ambulance.charge_at_base(charging_stations_bases: dict[str, list[simpy.resources.resource.Resource | float]], SIMULATION_PARAMETERS: dict[str, Any], SIMULATION_DATA: dict[str, Any])#

Charge at its base station.

Parameters:
  • charging_stations_bases (dict[str, list[sp.resources.resource.Resource | float]]) – The charging stations resources at all bases together with their charging speeds.

  • SIMULATION_PARAMETERS (dict[str, Any]) – The simulation parameters. The parameter PRINT is at least necessary. See main.py for parameter explanations.

  • SIMULATION_DATA (dict[str, Any]) – The simulation data. Methods that are called within this method require data. See these methods for explanations.