Hello,
some models were missing in our xsd definitions. Update
http://sumo.dlr.de/trac.wsgi/browser/trunk/sumo/data/xsd/routeTypes.xsd or
run sumo with the option
--xml-validation never

regards,
Jakob

2015-06-29 14:09 GMT+02:00 Didac Busquets <[email protected]
>:

> Hello,
>
>
> I'm trying to set up a new car type that uses a car-following model
> different from the default one (Krauss), but I'm having problems with it.
>
>
> As stated in
> http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Car-Following_Models
> I've set up the new car type with the following .rou.xml file (just changed
> a couple of  lines from one of the tutorials):
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:noNamespaceSchemaLocation="http://
>
> sumo.dlr.de/xsd/routes_file.xsd">
>
>   <vType accel="1.0" decel="5.0" id="Car" length="5.0" minGap="2.0"
> maxSpeed="50.0" sigma="0">
>
>         <carFollowing-SmartSK/>
>
>   </vType>
>
>
>   <route id="route0" edges="AtoB"/>
>
>
>   <vehicle depart="1" id="veh0" route="route0" type="Car" />
>
> </routes>
>
>
> With this route file, I get the following error:
>
>
> Error: no declaration found for element 'carFollowing-SmartSK'
>
>  In file 'single.rou.xml'
>
>  At line/column 5/25.
>
>
> If I use Krauss, KraussPS, BKerner, DM or Wiedemann as car-following model
> it works well, but not with SmartSK, Daniel1, PWagner2009 or with a new car
> following model I have implemented (and for which I've declared all the XML
> identifiers, etc).
>
> What might be happening?
>
> Thanks,
>
>
>
>
> Didac Busquets
>
> Senior Technologist
>
>
> Transport Systems Catapult
>
> 3rd floor, The Pinnacle
>
> 170 Midsummer Boulevard
>
> Milton Keynes
>
> MK9 1BP
>
>
> Tel: +44 (0) 1902 359 999 Ext: 1126
>
> [email protected]
>
> The Transport Systems Catapult is one of a network of elite technology and
> innovation centres established by Innovate UK as a long-term investment in
> the UK's economic capability. Applying business-led research, Catapults
> help businesses transform great ideas into valuable products and services
> to compete in the global markets of tomorrow. Transport Systems Catapult is
> a company limited by guarantee, registered in England and Wales with
> company number 08041919. Registered office: The Pinnacle, Midsummer
> Boulevard, Milton Keynes, Bucks, MK9 1BP. This email and any attachments
> are confidential and intended solely for the use of the recipient(s) to
> whom they are addressed. If you have received it in error, please destroy
> all copies and inform the sender.
>
> ------------------------------------------------------------------------------
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors
> network devices and physical & virtual servers, alerts via email & sms
> for fault. Monitor 25 devices for free with no restriction. Download now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to