You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Currently, we do not distinguish between education facility types for different population strata. The following would need to be done:
data.bpe.cleaned
), write out theTYPEQU
holding the facility type. See https://www.insee.fr/fr/statistiques/fichier/3568638/Contenu_bpe20_ensemble_xy.pdfsynthesis.locations.education
), use this attribute to distinguish betweenN
education facility types. TheseN
need to be defined in some way. This could either be via age class or cross-over with other attributes (highest diploma / current diploma)N
classes (if more complex than age) should then be implemented in an additional stage or in thesynthesis.population.enriched
stage (or directly in the location assignment, see below)N
matrices, with zeros for destination municipalities where the selected categoryn
is not available. In total theN
matrices should then give the original matrix, so some decomposition needs to be applied here. This needs a new stage, potentially insynthesis.population.spatial.primary.education_matrices
.synthesis.population.spatial.primiary.candidates
. Here, we need to perform the assignment for each of theN
categories individually (i.e. select all persons with categoryn
, then select the matrix for categoryn
and perform the assignment as described in the paper / in the code already)synthesis.population.spatial.primary.locations
, only the assignment needs to happen per categoryn
.The text was updated successfully, but these errors were encountered: