Documentation of UrbanFireXDT
Documentation of UrbanFireXDT
Loading...
Searching...
No Matches
vehicles.h
Go to the documentation of this file.
1/*
2 * vehicles.h
3 *
4 * It contains all classes and structures for
5 * modeling and representing
6 * 1) the (electric) vehicle driving profiles
7 * 2) the ev itself modeled as a finite-state machine
8 */
9
10#ifndef VEHICLES_H
11#define VEHICLES_H
12
18 unsigned long next_tour_id;
20 unsigned long departure_ts_of_day;
21 unsigned long ts_duration;
24};
25
38
48
58
59#endif
60
Definition vehicles.h:29
unsigned long ts_arrival
Time step, when tour ends (i.e., arrival of the car at the beginning of the time step)
Definition vehicles.h:31
struct WeeklyVehicleTour * weekly_tour
Reference to the corresponding weekly tour.
Definition vehicles.h:33
double energy_consumption_kWh
Energy consumption for this trip.
Definition vehicles.h:32
unsigned long ts_start
Time step, when tour starts.
Definition vehicles.h:30
SingleVehicleTour(unsigned long ts_start, unsigned long ts_arrival, double econs, struct WeeklyVehicleTour *weekly_tour)
Definition vehicles.h:35
Definition vehicles.h:17
bool with_work
Definition vehicles.h:23
double tour_length_km
Total length of the tour in km.
Definition vehicles.h:22
short day_of_week
The day of the week a tour starts. Note: 0 is Monday (like in Python, not like tm_wday where 0 is a S...
Definition vehicles.h:19
unsigned long departure_ts_of_day
Number of time steps after midnight where the tour starts.
Definition vehicles.h:20
unsigned long next_tour_id
0, if there is no new tour
Definition vehicles.h:18
unsigned long ts_duration
Tour duration in time steps, arrival at the beginning of a new time step (i.e., ts_duration = 1 --> a...
Definition vehicles.h:21
EVStateIfConnAtHome
Definition vehicles.h:52
EVState
Definition vehicles.h:42
@ ConnectedAtHome
@ DisconnectedAtHome
@ ChargingOnTheWay