Skip to content

faq 108436832

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

roadpricing - multiple schemes in one scenario

by Renan Grace on 2017-03-15 23:19:41


Hi all - and thank you in advance for your assistance.

I have managed to set up a road pricing module and have got some good preliminary results from implementing various distance, link and cordon based pricing schemes. My question is - is there a way to have multiple schemes in the same scenario? For example, could I have a link based charge on freeways and a cordon price for entering the CBD in effect at the same time?

Renan.


Comments: 1


Re: roadpricing - multiple schemes in one scenario

by Kai Nagel on 2017-03-16 17:35:51

Dear Renan,

I think you would have to code it in Java.  RunRoadPricingUsingTollFactorExample contains an example.  It uses the toll factor approach (since we also needed that somewhere else), but you could also program 

class MyRoadPricingScheme implements RoadPricingScheme {
    ...
 }

and insert an instance of that one. 

This is our general direction: If it is too complex to be configured by the existing files and config structure, there is a tendency to move such a configurability problem to Java.

I hope this helps a bit, best wishes

Kai

Clone this wiki locally