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

Improve household construction #54

Open
djgroen opened this issue Feb 4, 2024 · 0 comments
Open

Improve household construction #54

djgroen opened this issue Feb 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@djgroen
Copy link
Owner

djgroen commented Feb 4, 2024

Currently, households have members with a completely random age. This can lead to households with only children for example.

We should introduce a method to generate more realistic households.

My suggestion would be to make the first member 18+ by default, and then to change the probability of child / adult generation for the other household members to ensure that the distributed in demographics.csv is fully adhered to.

To do this, we need to probably split the eco.ages structure into two distributions, one for ages 0-17 and one for ages 18+.

@djgroen djgroen added the enhancement New feature or request label Feb 4, 2024
@djgroen djgroen assigned djgroen and unassigned djgroen Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant