Lets say you have two types with the following matrices

car:                           truck
A B 100                    A B 10
A A 200                    A A 20
B A 150                    B A 15
B B 50                      B B 5

If truck is always 10% of car (no correlation between pairs and fleet) then
you can define your matrix as

fleet
A B 110
A A 220
B A 165
B B 55

For od2trips the type is just a string value and no definition for the type
is needed.
When using this with sumo or duarouter you can define a vehicle type
distribution like this (probabilities are normalized automatically):

<vTypeDistribution id="fleet">
  <vType id="car" probability="100"/>
  <vType id="truck" probability="10"/>
</vTypeDistribution>

or if you need to refine the fleet further you can use

<vTypeDistribution id="fleet">
  <vType id="car1" probability="50"/>
  <vType id="car2" probability="50"/>
  <vType id="truck1" probability="3"/>
  <vType id="truck2" probability="7"/>
</vTypeDistribution>




Am Mi., 13. März 2019 um 10:35 Uhr schrieb <christian.damdjow...@zf.com>:

>
>
> Yes but ,
>
> What do you mean with “no correlation between OD-relation and type” ? I
> don’t really get this point.
>
> The OD Matrix is defined for a specific vehicle type. So if that mean a
> correlation, then I have some correlation between the both.
>
> Furthermore  i think for every vehicle type, one have to generate a new
> distribution. If i have as example 3 different type of vehicle I would have
> 3 vehicle type distribution. So the next step what is not really
> understandable for me, is to know how OD2TRIP would know the information
> about this additional file (vTypeDistribution)? Because in od2trip there is
> no option “—additional-file”. In this case I have to define as well for
> every type a new OD matrix.
>
>
>
> Br
>
> christian
>
>
>
>
>
>
>
> *Von:* sumo-user-boun...@eclipse.org <sumo-user-boun...@eclipse.org> *Im
> Au**ftrag von *Jakob Erdmann
> *Gesendet:* Mittwoch, 13. März 2019 10:19
> *An:* Sumo project User discussions <sumo-user@eclipse.org>
> *Betreff:* Re: [sumo-user] question relative to TAZ
>
>
>
> - Only the amitran format allows multiple vehicle types in the same input
> file.
>
> - If there is no correlation between OD-relation and type, then you could
> use a vehicle type distribution and avoid splitting the matrix by type.
>
> - You will always need at least two calls to generate vehicles and persons
> because you need to set the option --pedestrians or -persontrips to get
> persons.
>
>
>
> Am Mi., 13. März 2019 um 10:09 Uhr schrieb <christian.damdjow...@zf.com>:
>
> Hello Jakob,
>
>
>
> thank you for the hint.
>
>
>
> That mean if I’m not using Amitran-format.
>
> I have to define for in a step for 1 hour a new O/D Matrix. Should I do
> that for every object type (passenger car, bicycle , pedestrian …) in this
> case I think is a lot of work to that. Do we have somehow the possibility
> to define in the same O/D Matric different object type ?
>
>
>
> Thank you against
>
>
>
> Br
>
>
>
> Christian
>
>
>
> *Von:* sumo-user-boun...@eclipse.org <sumo-user-boun...@eclipse.org> *Im
> Auftrag von *Jakob Erdmann
> *Gesendet:* Mittwoch, 13. März 2019 07:59
> *An:* Sumo project User discussions <sumo-user@eclipse.org>
> *Betreff:* Re: [sumo-user] question relative to TAZ
>
>
>
> Alternatively, you could use the Amitran-format
> https://sumo.dlr.de/wiki/Demand/Importing_O/D_Matrices#The_Amitran_format
> which allows modelling multple time slices and vehicle types in a single
> input file (in this case od2trips only needs to be run once).
>
>
>
> Am Di., 12. März 2019 um 17:45 Uhr schrieb Jakob Erdmann <
> namdre.s...@gmail.com>:
>
> If you wish to model demand time lines that vary among the OD-pairs, you
> will have split your matrix along the time axis
>
> (one matrix from 0-1 o'clock, one matrix from 1-2 o'clock etc...).
>
> In this case, the documentation regarding timelines becomes irrelevant.
>
> You then have to run od2trips multiple times and load all the generated
> trip files into duarouter (or directly into sumo).
>
>
>
> regards,
>
> Jakob
>
>
>
> Am Di., 12. März 2019 um 15:27 Uhr schrieb <christian.damdjow...@zf.com>:
>
> Thank you Jakob,
>
>
>
> i have another question relative to this point.
>
> In the picture down you can find an picture of a excel file
>
>
>
>
>
> In this picture “+” is source and “-“ sink.
>
> As you can see there I have to for every edgeID a different timeline.
>
> My question is to know the O/D matrix have to know the corresponding
> timeline for specific edgeID.
>
> Also for me is at the moment not really clear how to define in the same
> timeline file, different timeline which correspond to different edgeID, and
> how we have to do the corresponding of this information in the O/D matrix.
> Because the Absolut number of vehicle for every edge have to be define in
> this. So based of this value the percentage in the timeline can be
> calculated.
>
> Is the some more explained example?
>
> I got some overview here :
> https://sumo.dlr.de/userdoc/Demand/Importing_O/D_Matrices.html#Daily_Time_Lines
>
> But this example is not more detail in the explanation. Because we cannot
> see how The file Name (TGw2_PKW.txt, etc. …) are define.
>
> Please could you give me more hint ?
>
>
>
> Br
>
>
>
> Christian
>
>
>
>
>
> *Von:* sumo-user-boun...@eclipse.org <sumo-user-boun...@eclipse.org> *Im
> Auftrag von *Jakob Erdmann
> *Gesendet:* Montag, 11. März 2019 14:13
> *An:* Sumo project User discussions <sumo-user@eclipse.org>
> *Betreff:* Re: [sumo-user] question relative to TAZ
>
>
>
> You can use the same TAZ id for FROM and TO to describe traffic within
> that zone.
>
>
>
> Am Mo., 11. März 2019 um 13:53 Uhr schrieb <christian.damdjow...@zf.com>:
>
> Hello Sumo users,
>
> i have a question relative to the description of TAZ File.
>
> Normally after describing an TAZ File we have to write the Matrix Cell. I
> am using the O-Format, which is given by the form:
>
> FROM | TO | NUMVEHICLES
>
> FROM and TO are both the TAZ id.
>
> We can also use Differentiated Probabilities to describe TAZ .
>
> So we can give in the same TAZ id many tazSource and Tazsink. My question
> now is to know, if I just have one TAZid which have the complete definition
> of Source, Sink and their weight. How should I describe the O-Format Matrix
> cell ?
>
> I mean normally I have to put the TAZid Source (FROM) and TAZid sink (TO).
> But now all the source and sink are located in the same TAZid. How should
> we do ?
>
>
>
> Br
>
>
>
> Christian
>
>
>
>
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to