Thank you Michael,

   1. The file content is bellow. The questions you asked helped me
   understand and solve the problem. The traffic pattern of my simulation is
   dynamically changed with Veins, because of this the simulation takes longer
   than <end value="3600"/> and longer than sim-time-limit = 4000s in Veins.
   By incrementing both settings to a value larger than the new simulation
   duration everything runs smoothly. Interestingly this worked even though I
   stopped a car in a highway for a duration longer than the simulation
   time.The only problem with this is that you need to know the simulation
   time beforehand or give a large value to end value and sim-time-limit.
   2. The question now is how do I use this generated file to load the
   initial value of the vehicles' travel times container in a future run?


Regards,

Wilmer



<additional>
<edgeData id="dump_1" freq="3600"
file="C:\Users\arellano\src\aggregated_3600.xml"/>
</additional>

On Sat, Oct 18, 2014 at 5:30 AM, Michael Behrisch <
[email protected]> wrote:

> Hi Wilmer,
> could you please send the sim.add.xml you are using? Did you specify an
> output frequency there? Also is the simulation running until the end
> step of 3600 or is it stopped via TraCI / Veins before that?
>
> Best regards,
> Michael
>
> Am 17.10.2014 um 09:19 schrieb Wilmer Arellano:
> > Hello,
> >
> > I found the problem, in my configuration file I was not using an
> additional
> > file for <edgeData id="dump_1" file="C:\Users\arellano\src\
> > aggregated_1.xml"/>.
> >
> > Now that is solved, but aggregated_1.xml is created with no data, see
> > bellow.
> >
> > Can you please tell what is wrong? I don't know if this matters, but I am
> > running the simulation under Veins.
> >
> > Thank you,
> >
> > Wilmer
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> >
> > <!-- generated on 10/16/2014 10:22:31 PM by SUMO gui Version 0.19.0
> > <?xml version="1.0" encoding="UTF-8"?>
> >
> > <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:noNamespaceSchemaLocation="
> > http://sumo-sim.org/xsd/sumo-gui.exeConfiguration.xsd";>
> >
> >     <input>
> >         <net-file value="sim.net.xml"/>
> >         <route-files value="sim.rou.xml"/>
> >         <additional-files value="sim.add.xml,sim.geometry.xml"/>
> >     </input>
> >
> >     <output>
> >         <netstate-dump value="sim.netdmp.xml"/>
> >         <save-state.prefix value="state"/>
> >     </output>
> >
> >     <time>
> >         <begin value="0"/>
> >         <end value="3600"/>
> >     </time>
> >
> >     <traci_server>
> >         <remote-port value="60663"/>
> >     </traci_server>
> >
> >     <random_number>
> >         <random value="false"/>
> >         <seed value="0"/>
> >     </random_number>
> >
> > </configuration>
> >
> >
> > On Wed, Oct 15, 2014 at 6:08 PM, Wilmer Arellano <[email protected]>
> > wrote:
> >
> >> Thank you Michael,
> >>
> >> I am using the configuration file bellow, but nothing is saved and I get
> >> error 15. Could you please let me know what I am doing wrong?
> >>
> >> Thank you,
> >>
> >> Wilmer
> >>
> >> <configuration>
> >>     <input-files>
> >>         <net-file>sim.net.xml</net-file>
> >>         <route-files>sim.rou.xml</route-files>
> >>         <additional-files>sim.geometry.xml</additional-files>
> >>     </input-files>
> >>     <output>
> >>        <edgeData id="dump_1"
> >> file="C:\Users\arellano\src\aggregated_1.xml"/>
> >>     </output>
> >>     <netstate-dump>sim.netdmp.xml</netstate-dump>
> >>     <simulation>
> >>         <begin>0</begin>
> >>         <end>3600</end>
> >>     </simulation>
> >> </configuration>
> >>
> >>
> >> On Sun, Oct 12, 2014 at 10:41 AM, Michael Behrisch <
> >> [email protected]> wrote:
> >>
> >>> Hi Wilmer
> >>>
> >>> Am 11.10.2014 um 18:20 schrieb Wilmer Arellano:
> >>>> Thank you Michael,
> >>>>
> >>>> Please correct me if I wrong, "input_additional.add.xml" will provide
> >>>> location of weight files. In this case there are three:
> >>>>
> >>>>     <edgeData id="dump_60" freq="60" file="aggregated_60.xml"/>
> >>>>     <edgeData id="dump_300" freq="300" file="aggregated_300.xml"/>
> >>>>     <edgeData id="dump_900" freq="900" file="aggregated_900.xml"/>
> >>>>
> >>>
> >>> correct
> >>>
> >>>> Is there a Web page that explains how to work wits this?
> >>>
> >>>
> >>>
> http://sumo.dlr.de/wiki/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures
> >>>
> >>>> What I really want is to set the initial road travel times in the
> >>> vehicles'
> >>>> internal containers with default values that may change from run to
> run.
> >>>
> >>> Of xourse you can generate those weight files by hand / your own script
> >>> as well.
> >>>
> >>> Best regards,
> >>> Michael
> >>>
> >>>
> >>
> >
>
>
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to