Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Add new parameter

There is currently no mechanism to add car following model parameters from the command line. The recommend approach is to set them in the xml input files.
For minimal effort you can access any `<param>` elements of the vType in your model using myType->getParameter().getParameter()
You could use the envsubst command to customize the xml file based on environment variables set on the command line (or simply generated the correct files beforehand).


Am Di., 4. Feb. 2025 um 09:43 Uhr schrieb 林紹維 via sumo-user <sumo-user@xxxxxxxxxxx>:
Dear community,
        I am currently modifying the source code of a car following model and need to add new parameter values inserted from the command line. However, I have trouble parsing the values from the command line to the car following model implementation, how can I manage to do this? Any help would be appreciated.

Best regards,

Leonardo
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top