Array_of_Agent_for_double

Type: array

Each item of this array must be:

Type: object

Abstract representation of an individual that makes one trip per day.


Example:

{
    "id": 1,
    "mode_choice": {
        "type": "Logit",
        "value": {
            "mu": 2.0,
            "u": 0.5
        }
    },
    "modes": [
        {
            "type": "Constant",
            "value": 1.0
        },
        {
            "type": "Road",
            "value": {
                "departure_time_model": {
                    "type": "ContinuousChoice",
                    "value": {
                        "choice_model": {
                            "type": "Logit",
                            "value": {
                                "mu": 4.0,
                                "u": 0.5
                            }
                        },
                        "period": [
                            0.0,
                            86400.0
                        ]
                    }
                },
                "destination": 1,
                "origin": 0,
                "utility_model": {
                    "type": "Proportional",
                    "value": -10.0
                },
                "vehicle": 0
            }
        }
    ],
    "schedule_utility": {
        "type": "AlphaBetaGamma",
        "value": {
            "beta": 5.0,
            "desired_arrival": true,
            "gamma": 20.0,
            "t_star_high": 31350.0,
            "t_star_low": 27900.0
        }
    }
}

Type: integerFormat: uint Default: 0

Id used when writing the results of the agents.

Value must be greater or equal to 0.0

Type: object

Choice model used for mode choice.

When not specified, the first mode is always chosen.

Type: object

Choose the alternative with the largest utility.

Type: enum (of string)

Must be one of:

  • "Deterministic"

Type: object

Choose the alternative with the largest value.

Type: numberFormat: double

Uniform random number between 0.0 and 1.0 to choose the alternative in case of tie.

Value must be greater or equal to 0.0 and lesser or equal to 1.0

Type: object

Choose the alternative using Logit probabilities.

Type: enum (of string)

Must be one of:

  • "Logit"

Type: object

A discrete or continuous Logit model

Type: numberFormat: double

Variance of the error terms, must be positive.

Value must be greater or equal to 0.0001

Type: numberFormat: double

Uniform random number between 0.0 and 1.0 for inversion sampling.

Value must be greater or equal to 0.0 and lesser or equal to 1.0


Example:

{
    "type": "Deterministic",
    "value": {
        "u": 0.5
    }
}

Type: array

Modes accessible to the agent.

Must contain a minimum of 1 items

Each item of this array must be:

Type: object

Mode of transportation available to an agent.

Type: object

A mode of transportation that always provide the same utility level.

Type: enum (of string)

Must be one of:

  • "Constant"

Type: number

Representation of a utility (or monetary) amount.

Type: object

A trip with a vehicle on the road network, with potential congestion.

Type: enum (of string)

Must be one of:

  • "Road"

Type: object

Mode of transportation for a vehicle that travels on the road network.


Example:

{
    "departure_time_model": {
        "type": "ContinuousChoice",
        "value": {
            "choice_model": {
                "type": "Logit",
                "value": {
                    "mu": 4.0,
                    "u": 0.5
                }
            },
            "period": [
                0.0,
                86400.0
            ]
        }
    },
    "destination": 1,
    "origin": 0,
    "utility_model": {
        "type": "Proportional",
        "value": -10.0
    },
    "vehicle": 0
}

Type: object

Model used for the departure-time choice.

Type: object

The departure time is always equal to the given value.

Type: enum (of string)

Must be one of:

  • "Constant"

Type: number

Representation of time duration or timestamp, expressed in seconds.

Type: object

The departure time is chosen according to a continuous choice model.

Type: enum (of string)

Must be one of:

  • "ContinuousChoice"

Type: object

Type: object

Continuous choice model.

Type: enum (of string)

Must be one of:

  • "Logit"

Type: object

A discrete or continuous Logit model

Type: numberFormat: double

Variance of the error terms, must be positive.

Value must be greater or equal to 0.0001

Type: numberFormat: double

Uniform random number between 0.0 and 1.0 for inversion sampling.

Value must be greater or equal to 0.0 and lesser or equal to 1.0

Type: array

Interval in which the departure time is chosen.

Must contain a minimum of 2 items

Must contain a maximum of 2 items

Each item of this array must be:

Type: number

Representation of time duration or timestamp, expressed in seconds.

Type: integer

Id of the destination node on the road network graph.

Value must be greater or equal to 0.0

Type: integer

Id of the origin node on the road network graph.

Value must be greater or equal to 0.0

Type: object

Travel-utility model describing how travel utility is computed.

Type: object

Travel utility is always null.

Type: enum (of string)

Must be one of:

  • "None"
Type: object

Travel utility is proportional to the travel time.

Type: enum (of string)

Must be one of:

  • "Proportional"

Type: number

Representation of a value of time, i.e., a utility amount per time unit, expressed in utility unit per second.

Type: object

Travel utility is a quadratic function of travel time: u = a * tt + b * tt^2.

Type: enum (of string)

Must be one of:

  • "Quadratic"

Type: object

Type: number

First-degree coefficient.

Type: number

Second-degree coefficient.


Examples:

{
    "type": "Proportional",
    "value": -10.0
}
{
    "type": "Quadratic",
    "value": {
        "a": -5.0,
        "b": -2.0
    }
}

Type: integer

Id of the vehicle.

Value must be greater or equal to 0.0

Type: object

Schedule-utility preferences.

Type: object

The schedule utility is always null.

Type: enum (of string)

Must be one of:

  • "None"
Type: object

The schedule utility is computed using the alpha-beta-gamma model.

Type: enum (of string)

Must be one of:

  • "AlphaBetaGamma"

Type: object

Compute the schedule-delay utility using Vickrey's alpha-beta-gamma model

Type: number

The penalty for early arrivals (or departures), in utility per second.

Type: boolean Default: true

If true, tstar_low and t_star_high represent the desired arrival-time interval, otherwise they represent the desired departure-time interval.

Type: number

The penalty for late arrivals (or departures), in utility per second.

Type: number

The latest desired arrival (or departure) time.

Type: number

The earliest desired arrival (or departure) time.


Example:

{
    "type": "AlphaBetaGamma",
    "value": {
        "beta": 5.0,
        "desired_arrival": true,
        "gamma": 20.0,
        "t_star_high": 31350.0,
        "t_star_low": 27900.0
    }
}