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

Distinguish between education destinations #108

Open
sebhoerl opened this issue Apr 3, 2022 · 0 comments
Open

Distinguish between education destinations #108

sebhoerl opened this issue Apr 3, 2022 · 0 comments

Comments

@sebhoerl
Copy link
Contributor

sebhoerl commented Apr 3, 2022

Currently, we do not distinguish between education facility types for different population strata. The following would need to be done:

  • When processing the BPE (data.bpe.cleaned), write out the TYPEQU holding the facility type. See https://www.insee.fr/fr/statistiques/fichier/3568638/Contenu_bpe20_ensemble_xy.pdf
  • When creating education facilities (synthesis.locations.education), use this attribute to distinguish between N education facility types. These N need to be defined in some way. This could either be via age class or cross-over with other attributes (highest diploma / current diploma)
  • These N classes (if more complex than age) should then be implemented in an additional stage or in the synthesis.population.enriched stage (or directly in the location assignment, see below)
  • We need to preprocess the OD matrix for education. Currently, it only gives a probability for each destination municipality, given an origin municipality. What we need is to have N matrices, with zeros for destination municipalities where the selected category n is not available. In total the N matrices should then give the original matrix, so some decomposition needs to be applied here. This needs a new stage, potentially in synthesis.population.spatial.primary.education_matrices.
  • Assignment of facilities happens in two steps. First, we take the OD matrix and then assign an education destination municipality to each person in synthesis.population.spatial.primiary.candidates. Here, we need to perform the assignment for each of the N categories individually (i.e. select all persons with category n, then select the matrix for category n and perform the assignment as described in the paper / in the code already)
  • After, assignment of a facility from the selected municipalities happens. This does not need much modification in synthesis.population.spatial.primary.locations, only the assignment needs to happen per category n.
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

No branches or pull requests

1 participant