Integrate PCU-based counting in Cadyts car calibration.#4646
Draft
Integrate PCU-based counting in Cadyts car calibration.#4646
Conversation
Contributor
|
Hi Pieter, just a small note. I interpret your approach as if you added an agent-specific size-weight to (25) in (https://svn.vsp.tu-berlin.de/repos/public-svn/publications/vspwp/2008/08-19/FloeBierNage2010TS_dec2010.pdf). Then, the "score correction" (26) and (28) is indeed scaled by that size-weight, so your approach appears correct. Could you perhaps include this back-link to the theory in the code description, to simplify later interpretation? Gunnar |
Author
|
Thanks, Gunnar, will do. I realised yesterday I had pushed too early as my code cleaner wiped a bunch of comments so fixing that and will include your note in the relevant places before merging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(cadyts): Support PCU-weighted calibration for mixed traffic
This PR introduces Passenger Car Unit (PCU) support to the Cadyts integration, allowing for accurate calibration in mixed traffic simulations (e.g., cars vs. motorcycles). We have to do mixed traffic calibration for Meerut, India, at UNSW rCITI, which prompted the need for this adaptation.
Changes include:
PcuVolumesAnalyzerwhich aggregates flow based onvehicle.getPcuEquivalents()rather than raw vehicle counts.CadytsContextandCadytsContextIto expose agent weights (PCU) viagetAgentWeight(Person).CadytsScoringandCadytsPlanChangerto scale calibration offsets by the agent's PCU. This ensures that agents contributing less to congestion (e.g., 0.5 PCU) receive a proportionally smaller score correction.CadytsPcuITintegration test to verify that the calibrator correctly steers mixed populations (1.0 PCU Cars and 0.5 PCU Motorcycles) to match PCU-based traffic counts.