Sample Parameters

Many of the model parameters are defined in JSON parameters file. This allows the advanced user to freely adjust the various values of directly in the JSON text. Below we have provided text from a sample parameters file, feel free to copy/paste this into a text file with a “.json” suffix and use it as input parameters for your model runs (by instantiating an object of InputParameters with its path).

Note

The default parameters can also be modified for the QGIS Plugin, and ar located under the QGIS plugin install location at luptai_core\src\python\model_parameters\default.json. With a default installation, this is located at %APPDATA%\QGIS\QGIS3\profiles\default\python\plugins\luptai_from_installer\luptai_core\src\python\model_parameters You should make a copy of this file before making any changes so the defaults can be restored.

{
    "RandomSeed": 100,
    "DefaultMaximumPathCost": 10800,
    "DefaultMaxWalkTime": 3600,
    "DefaultMaxWaitTime": 3600,
    "DefaultMaximumCycleTime": 7200,
    "DefaultMaximumCarTime": 10800,
    "DefaultInaccessibleCost": 10800,
    "UseMaxCostForInaccessibleActivities": true,
    "IncludeInaccessibleActivitiesInComposite": true,
    "MaxPTLegs": 5,
    "MaximumInterchangeWalkTime": 600,
    "WalkSpeed": 4,
    "CycleSpeed":15,
    "UseParkAndRide": true,
    "UseBikeAndRide": false,
    "AllowWalkIfFaster": false,
    "PTModes": ["Bus", "Train", "School", "Busway", "LightRail", "Ferry"],
    "ExportAdditionalInformation": false,
    "ValidNonPTModeTransfers": {
        "Walk": ["Walk"],
        "Cycle": ["Cycle"],
        "Car": []
    },
    "AllowableCyclePTModes": ["Ferry"],
    "RunTravelTimeAnalysis": false,
    "WalkWeight": 1.5,
    "CycleWeight": 1.0,
    "CarWeight": 1.0,
    "OnRoadWeight": 2.0,
    "MajorRoadsWeight": 1.0,
    "BikeLanesWeight": 1.5,
    "DestinationWaitWeight": 0.8,
    "InterchangeWaitWeight": 1.5,
    "PTTravelTimeWeight": 1.0,
    "PTLayoverWeight": 1.0,
    "InterchangeCost": 300,
    "ValueOfTime": 36,
    "OnRoadSpeedFactor": 0.75,
    "SharedWalkCycleSpeedFactor": 0.75,
    "DedicatedCycleSpeedFactor": 1.5,
    "FootpathSpeedFactor": 0.3,
    "UseHeadways": false,
    "UseMaxHeadway": false,
    "MaxHeadway": 0,
    "UseGradient": false,
    "CarParkingTime": 0,
    "TravelTimeMatrixFilePath": "",
    "TravelTimeMatrixFormat": "EMME",
    "TerminalTimesFilePath": "",
    "UseTerminalTimesFile": false,
    "Iterations": 50,
    "TimePeriods": {
        "AMPeak": {
            "Name": "AM",
            "Start": "2000-01-01T07:00:00",
            "End": "2000-01-01T09:00:00"
        },
        "OFFPeak": {
            "Name": "OFF",
            "Start": "2000-01-01T09:00:00",
            "End": "2000-01-01T16:00:00"
        },
        "PMPeak": {
            "Name": "PM",
            "Start": "2000-01-01T16:00:00",
            "End": "2000-01-01T19:00:00"
        },
        "EVEPeak": {
            "Name": "EVE",
            "Start": "2000-01-01T19:00:00",
            "End": "2000-02-01T02:00:00"
        }
    },
    "Purposes": {
        "Banking": {
            "ActivityClass": "Finance",
            "Weighting": 0.5,
            "ExclusionProbability": 0.5,
            "TypeName": "BANK",
            "Symbol": "bank.bmp"
        },
        "Post_Office": {
            "ActivityClass": "Finance",
            "Weighting": 0.5,
            "ExclusionProbability": 0.0,
            "TypeName": "POST OFFICE",
            "Symbol": "post_office.bmp"
        },
        "Newsagent": {
            "ActivityClass": "Finance",
            "Weighting": 0.6,
            "ExclusionProbability": 0.0,
            "TypeName": "NEWSAGENT",
            "Symbol": "newsagent.bmp"
        },
        "Dentist": {
            "ActivityClass": "Health",
            "Weighting": 0.4,
            "ExclusionProbability": 0.3,
            "TypeName": "DENTIST",
            "Symbol": "dental.bmp"
        },
        "GP": {
            "ActivityClass": "Health",
            "Weighting": 0.6,
            "ExclusionProbability": 0.4,
            "TypeName": "GP",
            "Symbol": "gp.bmp"
        },
        "Hospital": {
            "ActivityClass": "Health",
            "Weighting": 0.5,
            "ExclusionProbability": 0.3,
            "TypeName": "HOSPITAL",
            "Symbol": "hospital.bmp"
        },
        "Pharmacy": {
            "ActivityClass": "Health",
            "Weighting": 0.5,
            "ExclusionProbability": 0.0,
            "TypeName": "PHARMACY",
            "Symbol": "pharmacy.bmp"
        },
        "Health_Service": {
            "ActivityClass": "Health",
            "Weighting": 0.5,
            "ExclusionProbability": 0.3,
            "TypeName": "HEALTH SERVICES",
            "Symbol": "gp.bmp"
        },
        "Local_Shop": {
            "ActivityClass": "Retail",
            "Weighting": 0.9,
            "ExclusionProbability": 0.0,
            "TypeName": "LOCAL SHOP",
            "Symbol": "convenience_store.bmp"
        },
        "Major_Shop": {
            "ActivityClass": "Retail",
            "Weighting": 0.7,
            "ExclusionProbability": 0.1,
            "TypeName": "MAJOR SHOPS",
            "Symbol": "major_shops.bmp"
        },
        "Minor_Shop": {
            "ActivityClass": "Retail",
            "Weighting": 0.9,
            "ExclusionProbability": 0.1,
            "TypeName": "MINOR SHOP",
            "Symbol": "miscellaneous_shops.bmp"
        },
        "Misc_Shop": {
            "ActivityClass": "Retail",
            "Weighting": 0.7,
            "ExclusionProbability": 0.2,
            "TypeName": "MISC SHOPS",
            "Symbol": "miscellaneous_shops.bmp"
        },
        "Primary_School": {
            "ActivityClass": "Education",
            "Weighting": 0.7,
            "ExclusionProbability": 0.4,
            "TypeName": "PRIMARY SCHOOL",
            "Symbol": "primary_school.bmp"
        },
        "Secondary_School": {
            "ActivityClass": "Education",
            "Weighting": 0.7,
            "ExclusionProbability": 0.4,
            "TypeName": "SECONDARY SCHOOL",
            "Symbol": "secondary_school.bmp"
        },
        "University": {
            "ActivityClass": "Education",
            "Weighting": 0.7,
            "ExclusionProbability": 0.7,
            "TypeName": "UNIVERSITY",
            "Symbol": "university.bmp"
        },
        "TAFE": {
            "ActivityClass": "Education",
            "Weighting": 0.7,
            "ExclusionProbability": 0.7,
            "TypeName": "TAFE",
            "Symbol": "tafe.bmp"
        },
        "Tertiary": {
            "ActivityClass": "Education",
            "Weighting": 0.7,
            "ExclusionProbability": 0.7,
            "TypeName": "TERTIARY",
            "Symbol": "tertiary.bmp"
        },
        "Special_School": {
            "ActivityClass": "Education",
            "Weighting": 0.7,
            "ExclusionProbability": 0.2,
            "TypeName": "SPECIAL SCHOOL",
            "Symbol": "primary_school.bmp"
        },
        "Recreation": {
            "ActivityClass": "Recreational",
            "Weighting": 0.3,
            "ExclusionProbability": 0.1,
            "TypeName": "RECREATION",
            "Symbol": "open_space.bmp"
        },
        "Major_Recreation": {
            "ActivityClass": "Recreational",
            "Weighting": 0.3,
            "ExclusionProbability": 0.1,
            "TypeName": "MAJOR RECREATION",
            "Symbol": "open_space.bmp"
        },
        "Minor_Recreation": {
            "ActivityClass": "Recreational",
            "Weighting": 0.3,
            "ExclusionProbability": 0.1,
            "TypeName": "MINOR RECREATION",
            "Symbol": "open_space.bmp"
        },
        "Open_Space": {
            "ActivityClass": "Recreational",
            "Weighting": 0.5,
            "ExclusionProbability": 0.9,
            "TypeName": "OPEN SPACE",
            "Symbol": "open_space.bmp"
        },
        "Cultural": {
            "ActivityClass": "Recreational",
            "Weighting": 0.2,
            "ExclusionProbability": 0.2,
            "TypeName": "CULTURAL",
            "Symbol": "open_space.bmp"
        },
        "Sport_Facility": {
            "ActivityClass": "Recreational",
            "Weighting": 0.3,
            "ExclusionProbability": 0.4,
            "TypeName": "SPORT FACILITY",
            "Symbol": "open_space.bmp"
        },
        "Swimming_Pool": {
            "ActivityClass": "Recreational",
            "Weighting": 0.3,
            "ExclusionProbability": 0.0,
            "TypeName": "SWIMMING POOL",
            "Symbol": "open_space.bmp"
        },
        "Beach": {
            "ActivityClass": "Recreational",
            "Weighting": 0.3,
            "ExclusionProbability": 0.2,
            "TypeName": "BEACH",
            "Symbol": "open_space.bmp"
        },
        "Entertainment": {
            "ActivityClass": "Recreational",
            "Weighting": 0.2,
            "ExclusionProbability": 0.3,
            "TypeName": "ENTERTAINMENT",
            "Symbol": "open_space.bmp"
        },
        "Public_Open_Space": {
            "ActivityClass": "Recreational",
            "Weighting": 0.3,
            "ExclusionProbability": 0.2,
            "TypeName": "PUBLIC OPEN SPACE",
            "Symbol": "open_space.bmp"
        },
        "Community": {
            "ActivityClass": "Service",
            "Weighting": 0.2,
            "ExclusionProbability": 0.0,
            "TypeName": "COMMUNITY",
            "Symbol": "other.bmp"
        },
        "Employment": {
            "ActivityClass": "Employment",
            "Weighting": 1.0,
            "ExclusionProbability": 0.5,
            "TypeName": "EMPLOYMENT",
            "Symbol": "employment_new.bmp"
        },
        "Employment_Major": {
            "ActivityClass": "Employment_Major",
            "Weighting": 1.0,
            "ExclusionProbability": 0.5,
            "TypeName": "EMPLOYMENT",
            "Symbol": "employment_new.bmp"
        },
        "Employment_Minor": {
            "ActivityClass": "Employment_Minor",
            "Weighting": 0.5,
            "ExclusionProbability": 0.5,
            "TypeName": "EMPLOYMENT",
            "Symbol": "employment_new.bmp"
        },
        "Employment_Total": {
            "ActivityClass": "Employment_Total",
            "Weighting": 1.0,
            "ExclusionProbability": 0.99999,
            "TypeName": "EMPLOYMENT",
            "Symbol": "employment_new.bmp"
        },
        "Employment_Blue": {
            "ActivityClass": "Employment_Blue",
            "Weighting": 1.0,
            "ExclusionProbability": 0.99995,
            "TypeName": "EMPLOYMENT",
            "Symbol": "employment_new.bmp"
        },
        "Employment_White": {
            "ActivityClass": "Employment_White",
            "Weighting": 1.0,
            "ExclusionProbability": 0.99999,
            "TypeName": "EMPLOYMENT",
            "Symbol": "employment_new.bmp"
        },
        "Supermarket": {
            "ActivityClass": "Food",
            "Weighting": 1.0,
            "ExclusionProbability": 0.2,
            "TypeName": "SUPERMARKET",
            "Symbol": "employment_new.bmp"
        },
        "Major_Supermarket": {
            "ActivityClass": "Food",
            "Weighting": 0.8,
            "ExclusionProbability": 0.1,
            "TypeName": "MAJOR SUPERMARKET",
            "Symbol": "employment_new.bmp"
        },
        "Minor_Supermarket": {
            "ActivityClass": "Food",
            "Weighting": 0.8,
            "ExclusionProbability": 0.1,
            "TypeName": "MINOR SUPERMARKET",
            "Symbol": "employment_new.bmp"
        },
        "Takeaway": {
            "ActivityClass": "Food",
            "Weighting": 0.8,
            "ExclusionProbability": 0.2,
            "TypeName": "TAKEAWAY",
            "Symbol": "miscellaneous_shops.bmp"
        },
        "Greengrocer": {
            "ActivityClass": "Food",
            "Weighting": 0.8,
            "ExclusionProbability": 0.2,
            "TypeName": "GREENGROCER",
            "Symbol": "convenience_store.bmp"
        },
        "Farmers_Market": {
            "ActivityClass": "Food",
            "Weighting": 0.8,
            "ExclusionProbability": 0.3,
            "TypeName": "FARMERS MARKET",
            "Symbol": "miscellaneous_shops.bmp"
        },
        "Convenience_Store": {
            "ActivityClass": "Food",
            "Weighting": 0.8,
            "ExclusionProbability": 0.5,
            "TypeName": "CONVENIENCE STORE",
            "Symbol": "miscellaneous_shops.bmp"
        },
        "Eatery": {
            "ActivityClass": "Food",
            "Weighting": 0.8,
            "ExclusionProbability": 0.2,
            "TypeName": "EATERY",
            "Symbol": "eatery.bmp"
        },
        "Fast_Food": {
            "ActivityClass": "Food",
            "Weighting": 0.8,
            "ExclusionProbability": 0.2,
            "TypeName": "FAST FOOD",
            "Symbol": "eatery.bmp"
        },
        "Specialist": {
            "ActivityClass": "Food",
            "Weighting": 0.8,
            "ExclusionProbability": 0.2,
            "TypeName": "SPECIALIST",
            "Symbol": "eatery.bmp"
        },
        "Childcare": {
            "ActivityClass": "Education",
            "Weighting": 0.7,
            "ExclusionProbability": 0.8,
            "TypeName": "CHILDCARE",
            "Symbol": "childcare.bmp"
        },
        "Welfare": {
            "ActivityClass": "Service",
            "Weighting": 0.5,
            "ExclusionProbability": 0.0,
            "TypeName": "WELFARE",
            "Symbol": "other.bmp"
        },
        "Library": {
            "ActivityClass": "Service",
            "Weighting": 0.5,
            "ExclusionProbability": 0.0,
            "TypeName": "LIBRARY",
            "Symbol": "other.bmp"
        },
        "Worship": {
            "ActivityClass": "Service",
            "Weighting": 0.5,
            "ExclusionProbability": 0.4,
            "TypeName": "PLACE OF WORSHIP",
            "Symbol": "other.bmp"
        },
        "Custom_Purpose": {
            "ActivityClass": "Custom",
            "Weighting": 0.0,
            "ExclusionProbability": 0.0,
            "TypeName": "CUSTOM ACTIVITY",
            "Symbol": "other.bmp"
        },
        "Default": {
            "ActivityClass": "Default",
            "Weighting": 0.0,
            "ExclusionProbability": 0.0,
            "TypeName": "DEFAULT",
            "Symbol": "other.bmp"
        }
    }
}