-
Notifications
You must be signed in to change notification settings - Fork 181
faq 109226228
by L Marquez on 2017-05-04 03:51:58
I have been unsuccessful in adding an inputChangeEventsFile (representing closures of congested roads) to my Matsim project. As per documentation, I have created a changeEvents.xml file containing:
<link></link>
....
I have also added the required entry in the configuration file:
.....
.....
However, the new Matsim run produces the same results as the previous run without the change events file. What am I missing here? Thanks in advance for any help. Regards, Leorey
by L Marquez on 2017-05-04 04:07:12
Here are the deleted parts in my question.
The changeEvents.xml file contains:
<?xml version="1.0" encoding="UTF-8"?> <networkChangeEvents xmlns="http://www.matsim.org/files/dtd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.matsim.org/files/dtd http://www.matsim.org/files/dtd/networkChangeEvents.xsd">
<networkChangeEvent startTime="00:28:00"> <link refId="1837925"/> <flowCapacity type="absolute" value="0"/> <freespeed type="absolute" value="0.0"/> </networkChangeEvent>
The entry in the config file shows:
<module name="network" >
<param name="inputChangeEventsFile" value="./examples/evac/changeEvents.xml" />
by Joschka Bischoff on 2017-05-04 06:35:07
Hi,
this is a bit tricky, but in addition to adding the file, you also need to enable the timeVariantNetwork in the same config group, i.e.:
<module name="network" >
<param name="inputChangeEventsFile" value="./examples/evac/changeEvents.xml" />
<param name="timeVariantNetwork" value="true" />
...
I hope that helps!
Joschka
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq