Repository for the MSc Thesis on the Study of the Current State of Pineapple Leaves Valorisation in the Context of Circular Bioeconomy in Costa Rica by Ignacio Saldivia Gonzatti
You can run any file and it should work out of the box. If not, check that the working directory in the script points to the parent folder (e.g., ..//FLP)
If you are replicating this project and run into problems, please open an issue. Pull requests are welcome
Data contains all raw data as downloaded from the source
Code contains the code to analyse the data
Output contains the analysed data and the generated plots
paperLaTeX contains the source code of the manuscript
The MSc thesis is divided into two main projects: Facility Location Problem (FLP) and Fuzzy Cognitive Map (FCM)
The data processing was divided into different scripts. Some require data generated in other scripts. Running in the following order should work. In any case, all data is already in the output folder.
-
Visualise and store road network streetNetwork_manipulation
-
Transform PAL data and store geometry and quantity PAL_manipulation
-
Get nearest road node to PAL field nearestPALstreet
-
Generate candidate locations candidatesGrid
-
Calculate distance between candidate facilities and PAL fields distanceMatrix
-
Merge all generated data for optimisation mergeAll
-
Run FLP optimisation optimisation
-
Analyse and plot optimisation results resultsOpti
Other
-
Zoning map of Quesada sanCarlosPlan
-
Download and access zoning areas information of Costa Rica planesReguladores_zoning
-
Download all GIS data from profile downloadAPIarcGIS
-
Code to generate transcript from interviews transcriptWhisper
-
Transform survey responses data for FCM analysis expertsResClean
-
FCM analysis FCMpy_analysis
-
Plots for proof of Fuzzy Logic proofFuzzyLogic