Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the location types and their distribution to setup the dwell times #54

Open
nunezco2 opened this issue Feb 20, 2023 · 1 comment
Open
Assignees

Comments

@nunezco2
Copy link
Collaborator

Example:

70% homes
20% shops
10% schools

homes: 8 units
shops: 1 units
schools: 8 units

So: if no distribution is specified, we use one from a file depending on locations.

@nunezco2 nunezco2 added this to the NPRE-580 functional milestone Feb 20, 2023
@nunezco2
Copy link
Collaborator Author

nunezco2 commented Feb 20, 2023

Example JSON section of the scenario file (prior to policy section):

"locations": {
    "type": "named",
    "spec": "poisson"
}

Another example, with the locations above:

"locations": {
    "type": "given",
    "spec": {
        "proportions": {
            "homes": 0.7,
            "shops": 0.2,
            "schools": 0.1
        },
        "dwell": {
            "homes": 8,
            "shops": 2,
            "schools": 4
        },
    }
},

@boda26 boda26 linked a pull request Feb 25, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants