Commit 35b30dc1 authored by clivings's avatar clivings
Browse files

corrected car %s (so effectively AV %) for Scenario B.

The differences in 2030 and 2040 are small enough I think we can ignore
them, but 2050 should be run again.
parent b8a48b0a
......@@ -168,7 +168,7 @@ public class AssignPrivatAVs {
//TODO change percentages to match what TP5 gives us for ASTRA Scenario B!
// these agents still have good ol' conventional cars....
if (r <= 0.6176) {//produces "true" 61.40% of the time
if (r <= 0.6939) {//produces "true" 69.39% of the time
person.getAttributes().putAttribute(AV_AVAILABILITY_ATTRIBUTE,"car");
person.getAttributes().putAttribute("carAvail", carAvailability);
......@@ -220,7 +220,7 @@ public class AssignPrivatAVs {
//TODO change percentages to match what TP5 gives us for ASTRA Scenario B!
// these agents still have good ol' conventional cars....
if (r <= 0.9364) {//produces "true" 93.30% of the time
if (r <= 0.9485) {//produces "true" 94.85% of the time
person.getAttributes().putAttribute(AV_AVAILABILITY_ATTRIBUTE,"car");
person.getAttributes().putAttribute("carAvail", carAvailability);
......@@ -272,7 +272,7 @@ public class AssignPrivatAVs {
//TODO change percentages to match what TP5 gives us for ASTRA Scenario B!
// these agents still have good ol' conventional cars....
if (r <= 0.9954) {//produces "true" 99.50% of the time
if (r <= 0.9957) {//produces "true" 99.50% of the time
person.getAttributes().putAttribute(AV_AVAILABILITY_ATTRIBUTE,"car");
person.getAttributes().putAttribute("carAvail", carAvailability);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment