HSLdevcom / helmet-model-system

European Union Public License 1.2
10 stars 3 forks source link

Toll matrix #499

Closed hsl-petrhaj closed 1 year ago

hsl-petrhaj commented 1 year ago

Some weeks ago I got request if we could provide "toll matrix" based on our model. I guess it should not be that difficult to implement in Python? Opinions?

zptro commented 1 year ago

You mean a matrix with sum of paid toll from the assignment? That is what you have in the cost_xxx.omx files.

hsl-petrhaj commented 1 year ago

@zptro These are the matrices that I got through R in cost_aht.omx: $Matrices name dclass dim type 1 car_leisure FLOAT 2035 x 2035 matrix 2 car_work FLOAT 2035 x 2035 matrix 3 trailer_truck FLOAT 2035 x 2035 matrix 4 transit_leisure FLOAT 2035 x 2035 matrix 5 transit_work FLOAT 2035 x 2035 matrix 6 truck FLOAT 2035 x 2035 matrix 7 van FLOAT 2035 x 2035 matrix

Do I need to toggle some extra setting to get the toll matrix? Or could it be this scenario does not have tolls, therefore there is no toll matrix automatically?

hsl-petrhaj commented 1 year ago

@zptro Now I managed to clear the confusion. In the land of activity-based models, cost commonly means general cost. But in this case cost clearly means only the cost paid at the toll gates. If this confusion becomes more common, perhaps a more suitable name for the matrices could be found.