Active projects and challenges as of 21.11.2024 20:33.
Hide full text Print Download CSV Data Package
10 - 2000-Watt-Site - Reduction of energy consumption
🌳🏡🌳
Summary
Why?
The Grossmatte in Littau and the Schweighof in Kriens are newly established resident areas. Both projects seek to reach the goals of the 2000-Watt-Society. There is a gap between the site owners and the resident’s interests regarding the achievement of the 2000-Watt goals. The main question is, how do site owners encourage residents to alter their lifestyles to be more in line with the 2000-Watt goals? Also, there is a lack of identification of the residents with their neighborhood.
What?
Currently, the residents can use an app, which displays all the information about their apartment’s consumption. However, there is no possibility to compare their stats with other residents. Hence, they don’t know whether their consumption is high or low in relation to other apartments. We therefore suggest, to put this information into context by introducing a comparison method which figures as an information tool as well as an incentive system.
How?
Our idea is to introduce a ranking, which compares the individual consumption to the neighbor’s consumptions. This ranking could be either included into the currently used app or displayed on screens in the hallways. Based on this ranking, a recommender system could be implemented, which informs the user about possible ways of reducing their consumption and improving their ranking. Finally, for example every year, the best couple of apartments could be offered a benefit. Possible are financial, physical or digital benefits. We recommend including all the services available on the 2000-Watt site when defining the benefits. For example, coupons for stores and coffee shops might foster the social life and the identification of the residents with the site. Apart from stores and coffee shops, coupons for the car sharing service might help to introduce people to the car sharing concept and reduce “usage barriers”.
Process and Methods
Findings & Obstacles
In order to implement an effective incentive system, the comparability of the consumption data is inevitable. The apartments differ in size and in the count of inhabitants, which might distort the ranking in an unfair way. As well as the algorithm, the incentive is a crucial part of the system. The ETH Zürich, together with the EWZ, conducted a research project, which studied the effectiveness of different forms of incentives on reducing energy consumption.
Bonusmodelle für energieeffiziente Haushalte - EWZ
Prototype
Test our two different prototyps and click on the phone or on the desktop image.
Outlook
First, the project would have to be evaluated and approved by the investors. Then a team of experts and developers would have to be assembled to continue the project. For this purpose, a data pool with all necessary data would have to be set up, which could then be used for the calculations. To continue this project, we would recommend that the project team would exchange information with the EWZ and thus benefit from their experience.
Data & Informations:
2000-Watt-Site Schweighof, Kriens2000-Watt-Site Grossmatte, Littau
Catalogue of criteria
106: Quality of Life in Lucerne
What can the city administration of Lucerne do to enhance the quality of life for its residents?
Challenge Definition
During a student project, the city administration of Lucerne invited city residents to answer an online questionnaire about their perceived quality of life. The result of this online questionnaire is a rich set of data from 630 participants.
Already during the student-project, many interesting insights could be read from the data. Nevertheless, we would like to dig a little deeper in this set of data.
- What coherences can be found?
- How do the demographics influence the different aspects of life that are connected to quality of life?
- What is your advice to the city administration?
The city administration is happy to use the results of this challenge to further improve quality of life in the city of Lucerne.
Data:
- Answers of the online questionnaire (raw data, unpublished)
- Results of the student project
- Results of the (official) population survey 2019: www.lustat.ch/daten?id=26999
Contact: nadja.vonballmoos AT stadtluzern.ch
Project
Our Approach
To get to our overall goals we have different approaches.
- We build clusters to group the data.
- We look at correlations and use machine learning models (LM, Decision Tree …) to see which factors impact the overall quality of life the most.
- We use text analysis to interpret the comment sections of the online questionnaire.
- We search for specific demographic characteristics with a high or low quality of life to get further insights.
Main Results and Insights
Disclaimer: The data in this survey is not representative of the whole population of Lucerne
Clustering By appling clustering on the whole data set, we could find 5 groups that differ in various aspects of their quality perception. Correlation Matrix The Correlation Matrix helps us to understand, which variables correlate to a certain degree with the response variable "Lebensqualität Allg." Decisicion Trees The Decision Tree gives us a idea, which variables could be relevant for the splits. Closer Look to City Participation With help of logistic regression and classification trees we found that especially the variables "Zuzug" (time since moving in to Lucerne) and "Bildung" (eduction) have an influence on the city participation and engagement. Text analysis A text analysis of the answers to the question "Wovon wünschen Sie sich mehr?" led to the following word cloud. Next steps
- Further focus to more specific questions (based of the new insights)
- Further analysis with more survey data
- Build a framework including the most common used methods
106: HackdaysLucerne - Quality of Life in Lucerne
What can the city administration of Lucerne do to enhance the quality of life for its residents?
Challenge Definition
During a student project, the city administration of Lucerne invited city residents to answer an online questionnaire about their perceived quality of life. The result of this online questionnaire is a rich set of data from 630 participants.
Already during the student-project, many interesting insights could be read from the data. Nevertheless, we would like to dig a little deeper in this set of data.
Ideas:
What coherences can be found? How do the demographics influence the different aspects of life that are connected to quality of life? What is your advice to the city administration? The city administration is happy to use the results of this challenge to further improve quality of life in the city of Lucerne.
Data:
Answers of the online questionnaire (raw data, unpublished) Results of the student project Results of the (official) population survey 2019: www.lustat.ch/daten?id=26999
Contact administration of Lucerne: nadja.vonballmoos@stadtluzern.ch
Git-Hub Documentation:
- README.md
- cleaned_data.csv (anonymised)
- HackdaysLucerne-LifeQualityAnalysisArbenzKoelliker_Wenger (Correlation Matrix & Decision Tree)
- CityEngagementvsDemographics
- Comments-Analysis-StadtLuzern.ows (Word-Cloud)
- clustering_personas.html
- Analyse_Personas.xlsx
11 - Reduce car rides at traffic peak hours
How to cope with traffic on the Nidfeld 2000-Watt Site in Kriens (LU)
Topic:
On the Nidfeld site in Kriens, a new neighborhood with apartments and commercial space is currently under construction. To avoid overloading the traffic situation in the area during peak hours, there is a given requirement (by the authorities) on how many cars are allowed to enter and leave the site between 17:00 CEST / 5 PM and 18:00 CEST / 6 PM.
The "Fahrtenmodell" available to the site developer Losinger Marazzi AG estimates that the maximum of 200 entrances and exits will be exceeded once the new site is in use.
Challenge:
Use the "Fahrtenmodell" to gain ideas about reducing the number of car rides during the peak hour. Review / test your solutions based on the "Fahrtenmodell".
Possible Solutions:
Losinger Marazzi's current plan is to slow down the exit barrier to limit the number of exits temporarily. However, there must be a better solution than this. For example, there might be ways to create incentives for residents, workers, and customers to bypass the peak hour or use public transport, bicycles, or car sharing. You are free to think out of the box and come up with solutions that reduce the number of car rides to the allowed maximum.
Data & Tools:
- Further information on the Nidfeld Site and challenge (github link below)
- Development plan Nidfeld | Regulations (in particular access and mobility in chapter 6)(github link below)
- Development plan Nidfeld | Site plan (github link below)
- Geo portal Lucerne | Public transport stops in Kriens
- Geo portal Lucerne | Zone map Lucerne
- LUSTAT Statistics Canton Lucerne
- Federal Office for Statistics | Mobility & Transport Data
- Open data platform mobility Switzerland
- Google Maps
- Open Street Map
- GitHub
First update:
Initially, we have evaluated different possible solutions to reduce traffic during rush hours caused by residents. Still, on the other hand, we are also questioning the Mobilitätsbüro's calculation, i.e., Google shows that Prodega customers peak around midday-2pm, which would imply that the 10% share of DWV in the peak hours 5pm-6pm seems overly optimistic. We identified two possible stakeholder groups where significant improvements can be made: 1. Residents 2. Prodega customers
Result:
We evaluated possible solutions to reduce traffic during rush hours caused by the key stakeholders: residents and Prodega customers. Although a third group - employees of companies located in the area - contributes to the traffic situation, we focused on the first two groups. Measures for residents and Prodega customers seem to be more feasible than for employees. Before coming up with ideas and evaluating them, we questioned the data that was provided to us. When comparing the numbers of Prodega visitors with the "Popular Times" section for Prodega Kriens on Google, we detected that the number of customers peaked around midday-2pm. This implies that the Mobilitätsbüro assumption that 10% of DWV is from 5pm to 6pm seems overly optimistic.
Key Stakeholders:
- Residents
- Prodega customers
Process:
In the beginning, we sat together to brainstorm. The goal was to get a wide set of ideas prioritized and evaluated in detail. This resulted in the following mindmap containing ideas for residents and Prodega customers:
Residents:
We believe that financial benefits or other incentives can influence human behavior. Therefore we came up with ideas for residents to not use their cars during rush hour. The following options are among them:
- Carpooling service via App
- Partially subsidized car-sharing services
- Signaling: Control of traffic flow (i.e., sending outgoing traffic in one direction only)
- Reduced or even free public transport tickets
- Mobility Car Sharing promotion, i.e., free annual subscription
- Variable monthly parking fee. I.e., discounts if no exits in peak hours are registered. This may follow a staggered approach, e.g., no departures will give the highest discount, whereas up to 10 exits per month will yield a slightly reduced discount.
- Free delivery services for residents: We believe a certain share of exits may be attributed to grocery shopping.
- commercial stores on the ground floor: evaluate supermarket
- Make the way between the living area and nearest train station more attractive by offering e-mobility solutions like e-scooters or enuu vehicles, attractive pricing necessary.
Prodega:
- Partially subsidized delivery service for Restaurants
- Time-dependent discounts. I.e., time the discounts to only be valid during non-peak hours. Prodega's cooperation may be awarded a rent deduction.
- Promote online shopping services.
- Promote combined pickup for multiple customers
- Time-dependent parking fee:
- Free of charge from 10am-3pm
- From 4-7pm pm e.g. 5 francs/15minutes.
Evaluation of Main Ideas
Variable monthly parking fee for residents and employees
Implement a bonus system for individuals that rent a private parking spot. The default rent is set to above average in the beginning of the month. Residents can reduce their rent by not exiting the area during the peak time slot 5-6 pm. If a certain number of exits or entries during the peak time is not surpassed, the rental price will drop significantly. The App designed for the area could display the savings for each resident.
Area | Assessment |
---|---|
Effect | Lowers traffic during peak time. |
Feasibility | Altering the rental price does not require any costly steps. Registration of exit and entrance can be measured either by sensors on the parking spot or by registration of the license plate number at the exit/entrance location. |
Financing | Above average rental compensates the bonus. |
Acceptance | As the measure is designed as a bonus and not as a malus system, we assume wide acceptance. |
Risk | Above average (upfront) prices for parking spots may have a negative impact on attractivity of living area |
Time-dependent discounts for Prodega customers
Identify customers that regularly shop during peak times at Prodega. Analyze their shopping behavior and offer time-dependent personal discounts (i.e., use Supercard data). For example: "10% on mayonnaise before 5pm or after 6 pm."
Area | Assessment |
---|---|
Effect | Altering preferred shopping time for customers |
Feasibility | Identification of products and customers with the biggest impact is feasible under the condition that the data collection occurs through loyalty cards. Difficult to convince Prodega to participate. |
Financing | Prodega discount could be financed through a reduction of rent. |
Acceptance | As the measure is designed as a bonus and not as a malus system we assume wide acceptance. Acceptance of Prodega is questionable. |
Risk | Prodega is not willing to participate. Cost of discount financing may be too high. |
Reduced or free public transport tickets & Subsidized Mobility Car Sharing for residents
Reduced public transport cost for residents may lower car usage. Subsidizing the annual subscription of Mobility Car Sharing for the residents and providing on-premise Mobility Cars might get people not to want to own a car.
Area | Assessment |
---|---|
Effect | Shift from car to public transport or car sharing results in less traffic. |
Feasibility | Measure is easily implementable under the condition that financing is solved. |
Financing | Finance through higher parking spot price or include the discount in the rent. |
Acceptance | Depends on financing. Public transport discount needs to be conveyed as an extra service. |
Risk | Strong dependence on the quality of public transport. Public transport discount may not lead to usage. |
E-Mobility solutions between living area and nearest/most important train stations
In order to increase usage of public transport the transfer time from the living area to the nearest train station is crucial. To shorten the transfer time, the availability of e-mobility vehicles like e-scooters, e-bikes or e-cars (for example, Enuu) could be ensured. The provider may implement a specific subscription model for residents.
Area | Assessment |
---|---|
Effect | Attractivity of public transport increases. Shift from car to public transport results in less traffic. |
Feasibility | Feasible if e-mobility providers are willing to collaborate. |
Financing | Fixed cost of loading stations may be financed by the e-mobility providers. |
Acceptance | Additional mobility offer does not have any negative impact on residents and should be widely accepted. |
Risk | Usage of e-mobility depends on the weather situation. Constant availability of e-vehicles is difficult to guarantee. |
Next Steps:
Before proceeding with further analysis, we strongly recommend to the challenge owner to verify the data provided by the "Mobilitätsbüro" as we can not assure its validity. LUSTAT and Astra may be the right institutions to get in touch with. Unfortunately, we could not communicate with them as we did not get any responses either by phone or by email.
We spent a fair amount of time trying to model the traffic flow using the open-source and state-of-the-art urban mobility modeling software "SUMO". We deem the software's capability as quite significant and thus recommend investing more time in modeling the traffic flow surrounding the area to trial various ideas. We are attaching the developed modeling environment in the following ZIP file: Link
9: 360° Stakeholderfeedback
Stakeholderanalysis dashboard to mitigate risks in building projects.
Development of a tool for the 360° analysis of stakeholder interests and identification of key opinion leaders (KOLs)
WHY
For large projects with high level of investments such as building projects delays and changes during the planning stages are a risk. One of the measurements to mitigate this is to closely manage the different stakeholders to identify hidden requirements and problems as early as possible. IVO Innenentwicklung AG advises and supports municipalities and cities in the transformation of urban spaces. In order for IVO to meet the interests of as many stakeholders as possible, their needs and requirements are assessed by means of personal interviews and online surveys, which serves as a good data basis but does not provide a quick overview on status, issues and stakeholder group.BUSINESS VALUE
Better understanding of stakeholder and community needs Support in opinion forming with a tailor-made communication strategy by identifying KOLs Reputation building and expectation management through insights gained from stakeholder management Efficient and structured approach to data analysisWHAT
We are addressing this problem by providing a concise but informative dashboard containing grouping, qualification and prioritization of the stakeholders in order to make more of the available data and provide users with a fast overview by project.HOW
Aggregation multiple data sources such as data from online surveys (MS Excel), transcripts of personal interviews (MS Word) by NLP sentiment-analysis / part-of-speech-tagging, network analysis, dependency detection and interactive dashboards.Data sources:
- Data from online surveys (MS Excel)
- Transcripts of personal interviews (MS Word)
- external data sources as required
Aapproaches:
- NLP: Sentiment-Analysis, Topic Modelling
- Anomaly detection, dependency detection
- Interactive Dashboards
Technology:
- Python, R
- IBM Watson
- Google NLP API
Repository Link:
Google ColabNEXT
- Presentation to and discussion with IVO Innenentwicklung AG
- Improve Data Collection and set up proper ETL-process
- User Testings with Dashboard - Initiate Improvement Feedback Cycles
- Launch MVP
Readme
Hackathon
This jupyter notebook was created for the "Open Data Hackdays - Shape My City" event: https://opendata.ch/projects/hslu_shape-my-city-2020/
Installation
If downloaded locally, install all required modules & create folder structure.
|--root
|---Data
|---interview_n.docx
Usage
Provide your own API key and url when calling IBM Watson in Cell [15].
Data
Put Interviews as .docx files in folder "Data". The analysed csv data will be saved to the current working directory.
CODE
We have written selfdocumenting code, which you can access directly on Google Colab:
DASHBOARD
The interactive Dashboard can be found under the following link:
Challenges
03. Solar Energy in the City
We are searching the spots that are most feasible for utilizing solar energy in the city.
The idea
Solar energy is often overlooked when old buildings are renovated or new buildings are constructed. However, every house that maintains its individual solar power station is less reliant on the public grid which in turn helps to lower energy costs for the residents. This makes solar energy a very interesting power source.
Given that the canton of Lucerne specified in 2019 that every new building is obliged to produce its own electricity, it is even more surprising that the rate of newly built solar power stations is quite low.
Our goal
Our goal is to analyze all buildings within the city limits of Lucerne and identify clusters of those buildings which are outstandingly suitable for producing solar energy. Factors we will look at include (but are not limited to) the geographic location, the orientation of the building and the slope of the building's roof.
These clusters are then further analyzed (Which percentage of buildings already produce solar energy? How suitable are the remaining buildings?) in order to identify those areas in the city that are most attractive for the installation of a solar system. These insights can then be used to provide information about the framework conditions, the new legal framework and available public grants in order to raise the number of solar systems in the city.
What we want to do and how we want to do it
We want to utilize geospatial data as well as data regarding the suitability of building rooftops. The finished working product could be an application or an interactive map that allows for filtering the clusters we will identify.
Data and tools
Header image credit: Photograph by Jud McCranie, distributed under a CC BY-SA 4.0 licence.
Solar Energy in the City
Open Data Hackdays – Shape my City -- Challenge 03 November 27 -- 28 2020
Introduction
Solar energy is often overlooked when old buildings are renovated or new buildings are constructed. However, every house that maintains its individual solar power station is less reliant on the public grid which in turn helps to lower energy costs for the residents. This makes solar energy a very interesting power source.
Given that the canton of Lucerne specified in 2019 that every new building is obliged to produce its own electricity, it is even more surprising that the rate of newly built solar power stations is quite low.
Main objective
Our goal is to analyze all buildings within the city limits of Lucerne and identify clusters of those buildings which are outstandingly suitable for producing solar energy. Factors we will look at include (but are not limited to) the geographic location, the orientation of the building and the slope of the building's roof.
These clusters are then further analyzed (Which percentage of buildings already produce solar energy? How suitable are the remaining buildings?) in order to identify those areas in the city that are most attractive for the installation of a solar system. These insights can then be used to provide information about the framework conditions, the new legal framework and available public grants in order to raise the number of solar systems in the city.
The main data sources were: * Solar Potential Register * Building and Apartment Register
Both datasets describe data in the region of the city of Lucerne.
Questions to be answered
- Which buildings have the highest energy output (kWh)?
- Density: Where are many buildings with high potential close together?
- Density 2: Where are many buildings with at least some potential close together?
- Ownership: Where are many buildings with all different owners close together?
- Which buildings do have potential and are not (re)constructed for many years?
Filtering questions:
- Which of those are only for electricity or only for thermal power?
- Which of those are under monumental protection?
- Which of those are not downtown?
Pre-processing of the data
In order to start working with the data that has been gathered prior to the Hackathlon, we had to preprocess it accordingly. As mentioned above, the data basis provided for this project, came from two different sources. Therefore, a thorough preprocessing of both datasets was key. It was imperative to have all datasets in the same data type - and preferably .csv or .xlsx, since we have received the data in many different shapes and data types.
In a first step, the data provided by the solar potential register was preprocessed. Since the main goal is to provide one universal excel sheet to our challenge owner, this large dataset had to be reduced. First, we filtered by roof areas that have a promising solar potential. In another step, we were able to group by the identification number of the buildings. This step was necessary in identifying the roofs because the dataset provided divided the roofs into different parts. With this step we were able to create a better overview per roof. However, this means that several other columns had to be summed up or taken the mean value of it in order to group the dataset by an ID.
In a second step, the data provided by the building and apartment register had to be merged into one big dataset. We have received over ten different data sets from the building and apartment register. These different datasets came in many different shapes such as .dsv, .shp, .prj, or .shx. Once this was converted into the desired type, all these datasets were merged into one big dataset using R.
Ultimately, the two datasets were joined by an unique building identifier found on both datasets. This allowed us to add additional data from the building and apartment register. This preprocessing approach turned out to be the key to a successful accomplishment of this challenge. Afterwards, the dataset was transformed as needed and some calculations were performed.
Problems identified
Existing solar panel
Although the obtained dataset from the building and apartment register contains a column that shows whether a building already has a solar panel installed, it turned out during the preprocessing that the data quality was rather low. The values returned were either “N/A” or “0”, which means that it was unclear whether there was a solar panel, or there was certainly no solar panel installed. However, we did not get any buildings that had solar panels installed, which was rather unlikely. Therefore, we were unable to identify and sort out buildings that already had solar panels and are not to be contacted.
Results
The main goal of the challenge was to provide the challenge owner with an excel file that would help him promote the installation of solar panels. This goal was fully reached and the challenge therefore successfully completed.
Outlook and further work
Since the desired product could be delivered in the form of an excel file and so the main goal was achieved, the group went on to cluster the buildings based on the following features:
- Photovoltaic yield per year (kWh/a)
- Total roof area
- Building category
- Building period
- Building coordinates and proximity
The following algorithms were used:
- k-Means
- GMM (Gaussian Mixture Models)
Example for clustering the buildings with k-means:
Example for clustering the buildings with GMM:
The results were thereafter imported into Google Earth for a more user-friendly and intuitive visualization:
However, the interpretation of both clustering results with k-means and GMM proved to be quite difficult for the moment, so more work should go into the interpretation of the results and the tuning of the models. This way, we should be able to find a suitable number of clusters and interpret the results accordingly.
04: Consumer behavior of the population in the canton of Lucerne
Different persona are to be compiled on the basis of data from Bfs and LuStat to raise awareness of environmental issues
Idea
The aim of the project is to sensitize the population in the canton of Lucerne to the topic of the environment.
Challenge
Various persona are to be compiled on the basis of data that provide information on budget income/expenditure, demographic characteristics, opinions on the environment in the Canton of Lucerne, as well as data that describe the population's perception of the environment at federal level. The personas produced will describe the individual consumer groups.
On the one hand, the data at cantonal level from the LUStat and Bfs will help us to make direct statements about the Canton of Lucerne, and on the other hand, the data from Bfs at federal level can be linked by age group, household size and other factors and thus help us to draw conclusions. These findings can be used to raise awareness of environmental issues among the relevant groups. In addition, further measures for environmental counselling can be derived, such as marketing campaigns to actively address the relevant consumer group.
Goal
The personas produced will describe the individual consumer groups.
First Update (27.11.2020)
Get together with the team member --> Storming, Norming, Forming, Performing. In the first point it was more about knowing the challenge and collect the requirements with the challenge owner. After we knew what to do and estimate the scope of the challenge we decided to split to 2 groups: One group was focusing on the consum behavior and the other group was focusing on the persona indicator as well as which indicators can influence the habitat concerning the living (heating cost, rental cost etc..). The main goal was to prepare the data in order to combine several files which were found on BFS and LuStat. The biggest effort was to collect the specific data and to merge it and in order to do that we needed to understand the data and do some mathematical calculations.
Second Update (28.11.2020)
At that point we had the data ready to do the specified personas. The two groups came together to discuss the findings and based on these findings we created two persona: environmental neutral and environmental sceptic. Furthermore, we prepared the slides for the presentation which leads us to do a retrospective on the project --> We discussed what our obstacles and what the key points of our finding were.
The created Personas
Data Sources
Bundesamt für Statistik
Detailed data available by canton, by household type and by age group
Perception of the environment by the population
Lustat Statistik Kanton Luzern
Data on the income of persons in Lucerne
Data on the age structure of people in Lucerne
Data on municipal waste in Lucerne
06 Quantification of visitors of cultural events in Lucerne
Create a prototype of a technical solution to count visitors of cultural events.
Problem
The City of Lucerne would like to register how many people visiting cultural events in the City of Lucerne are actually residents of Lucerne and how many are visiting from the agglomeration (K5: Ebikon, Emmen, Horw, Kriens, City of Lucerne incl. Littau and Reussbühl) or even outside the Region. This information would be used by the City of Lucerne to discuss more accurately with the agglomeration, how much they have to pay to the city on cultural promotion.
Idea
At the entrance of the cultural events we would put a tablet where visitors are asked to insert the zip code of their home address. This would be a voluntary process and the visitors will be rewarded with a funny thank you note, once they put in the information. For the City of Lucerne a dashboard with visualisations of the visitor flow to the different cultural events can be created.
Goal
Create a prototype of a technical solution to count visitors of cultural events. What is the percentage of visitors from the city of Lucerne and the surrounding municipalities?
Data
There is no data which can be used as the goal of the challenge is to find a way of collecting the data.
Partner
Judith Christen City of Lucerne, Kultur & Sport
Hackathon Shape my City - 27-28. November 2020
06 Quantification of visitors of cultural events in Lucerne
Create a prototype of a technical solution to count visitors of cultural events
Team: Yvonne Schärli, Salome Isch, Thushanth Gunasegaram, Adriana Ricklin, Cengiz Cetinkaya, Christina Sudermann
1) What is the challenge about
Problem Description
The City of Lucerne would like to register how many people visiting cultural events in the City of Lucerne are actually residents of Lucerne and how many are visiting from the agglomeration (K5: Ebikon, Emmen, Horw, Kriens, City of Lucerne incl. Littau and Reussbühl) or even outside the Region. This information would be used by the City of Lucerne to discuss more accurately with the agglomeration, how much they have to pay to the city on cultural promotion.
Idea of Implementation
At the entrance of the cultural events we would put a tablet where visitors are asked to insert the zip code of their home address. This would be a voluntary process and the visitors will be rewarded with a funny thank you note, once they put in the information. For the City of Lucerne a dashboard with visualisations of the visitor flow to the different cultural events can be created.
Goal
Create a prototype of a technical solution to count visitors of cultural events. What is the percentage of visitors from the city of Lucerne and the surrounding municipalities?
Data
There is no data which can be used as the goal of the challenge is to find a way of collecting the data.
Partner
City of Lucerne, Kultur & Sport
Link to the Hackathon Challenges: hack.opendata
2) Practical Approach to solve the challenge
Architecture
For this project the database management system MongoDB is used for the data storage. For the backend Python Flask is used, for the frontend the JavaScript React Framework and for the visualisations Tableau.
Backend
For Backend the Python web application framework Flask is used. A connection to MongoDB is setup. Functions to get all postal codes and events entered by the visitors of the events on the web app and to write it into the database.
Frontend: WebApp
For the Front end Web development, the JavaScript React Framework was used. For this challenge a very simple App will be setup because only a few buttons are needed for the input of the zip codes. It should be as simple as possible for the user. The user gets a feedback after inserting the zip code on the tablet.
Here is a first look of the WebApp with different buttons for the zip codes.
Visualisation
For the visualisations we wanted to set up a connection to the MongoDB, but this was in the short time of the hackathon not possible. Therefore Tableau visaulisations were created without a connection and with a sample dataset. The original idea was, to have a connection to MongoDB server which is regularly updated in order to have nearly real time data of the input of the zip codes at the events.
Here is an example of what it could look like on the tablet. Further visualisations can be found in the folder images in the power point presentation.
3) Next steps
- Frontend enlargement. To make it more user friendly the setup should be brought to the cloud. This would make the data more accessible for different users. Additionally, more postal codes are added for surrounding areas and the design of the web app is finalised.
- Create further visualisations to give feedback to the visitors at the events.
- In order for the city of Lucerne to have an overview over the visitors, a second use case is created. According to the needs of the city of Lucerne visualisations in Tableau will be created.
- A pilot should be setup at one event location to test the web app.
08. Open Social Spaces
Organisation of Open Social Spaces using the example of the "Rüteliwiese" in Horw
Idea:
At the Open Data Hackdays 2020, a creative solution is being sought for the exchange of information on the use of open social spaces between the residents and the municipality of Horw.
Prototype:
The Rüteliwiese in the municipality of Horw is a meeting place for old and young and is used for a variety of purposes. Especially in summer, you will find many bathers and cyclists there. The municipality of Horw is now asking itself how this open social space can be improved for the benefit of the community?
Goal:
The residents of Horw should be able to communicate their ideas and needs for the design of the Rüteliwiese. It should also be possible to share and evaluate these ideas with others. In addition, your interactive solution should activate the residents to participate in your project "Shape the Rüteliwiese of Horw". Be creative, think simple and use public data. The idea should be usable for other social spaces too.
Data sources:
- Google Picture
- Open Street Map: https://planet.osm.ch
- Zone Map of Horw: https://www.geo.lu.ch/map/zonenplan
- GeoPortal Canton of Lucerne: https://geoportal.lu.ch
Partner:
Building Department of the Municipality of Horw, Spatial Planning
Documentation:
Project: Open Social Spaces (“Rüteliwiese, Horw”)
Project members: Gino Cattelan (gino.cattelan@stud.hslu.ch), Gianni Pinelli(gianni.pinelli@stud.hslu.ch), Stefan Hüttenmoser (stefan.huettenmoser@stud.hslu.ch), Benjamin Auer (auer.benjamin@gmail.com) , Andy Gubser (Conceptual Coaching)(andy.gubser@stud.hslu.ch), Marco Hassan und Raphael Tholl (Technical Coaching) Please add your contact detail / github links Link to opendata.ch: https://hack.opendata.ch/project/605
Executive Summary
Why ?
Regarding spatial planning local governments often face different challenges. Town hall meetings are often attended by a very homogeneous group consisting of mostly elderly people, while the groups actually using the open social spaces, in particular the youth and minorities, are often underrepresented.
How?
We quickly came to the conclusion that a solution is required to invite locals to get involved with shaping their open social spaces. We evaluated different ideas from using BIM objects to creating an App. With the available resources we decided on creating a very easily accessible, 2D design tool that also includes the possibility to share, read and vote on different ideas.
What?
We developed a web application accessible via on site QR code. On the application you’re then able to place certain items like trees, benches ect. on a map with AR. It’s then possible for the individual to vote on the ideas of other participants. This data then can be exported into a JSON Database for the government to use.
Input
What:
We created an online AR-Tool to generate Data. On their phone, users can select from different objects (park bench, park bin, tree) and place them in AR into the park. Geodata from phone is added to placed objects
How:
JavaScript, HTML and CSS were used to build the Web-Application WebXR (ARCore based) was implemented to access AR Example code was used and customized for our problem (https://github.com/googlecodelabs/ar-with-webxr/archive/master.zip) 3D low-poly models (park bench, park bin, tree) were made using Blender
Obstacles:
No previous knowledge on web AR applications Web AR application only runs on very recent phones (https://developers.google.com/ar/discover/supported-devices) Adding geodata to AR objects needs some additional calculations and code (not done yet) The used ARCore library only works with HTTPS, not on the local network. Therefore we had to use a temporary website (https://star.cyon.site)
Outlook
Next steps:
What would you need (data, skills, tools …)?
Will you keep on working on the project?
Input IBMler
Python erzeugt Daten, welche später via Node-RED auf einer Weltkarte angezeigt werden Python schickt Daten an Node-RED via API (http POST request) Node-RED bietet Usern die Möglichkeit verschiedene Objekte auf der Weltkarte anzuzeigen e.g. Bäume, Bänke usw. User wählen anzuzeigende Objekte via Dropdown Menu Node (Dashboard Nodes) aus. Ein Switch Case und Array.filter filtern dann die von Python kommenden Daten basierend auf der User Auswahl.
Hier zwei Links die helfen in JavaScript ein Switch Case und Array.filter zu nutzen:
Switch Case: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Statements/switch
Array.filter: https://javascript.info/array-methods#filter
opensocialspaces
102: Small Neighbourhoods
Visualize existing data of the small sub-quarters to gain valuable insights about the participation of those residents
Original Challenge The goal is to visualize the existing data of the small sub-quarters in a way that they can be integrated or linked into/with the existing website. An example for this would be the representation on a dynamic map of the small quarters. The displayed data must always be up-to-date, shows changes and development and should therefore generate added value and information for the visitors of the website and for planning by neighbourhood organisations and the city.
Update 28.11.2020 During the hackdays, the hackers of this challenge visualized existing data of the small sub-quarters to gain valuable insights about the facts, needs and participation of the residents in those neighbourhoods. The hackers did so by using the business analytics tool Power BI to provide interactive visualizations and one can make its own analysis without any previous knowledge what is especially important when reaching all residents from a neighbourhood where not everyone has a technological affinity.
What did we find out What topics are especially important to the residents and how and where they would like to participate in discussions. Moreover, deeper insights about the values of the neighbourhood association Würzenbach and voting Participation, including demography details on the neighbourhood Würzenbach.
Next steps The insights and visualisation need to be integrated into the website to make the findings accessible to all residents. Moreover, a dynamic map of the small quarters should be created what is a need from the original challenge owner.
Our interactive dashboards
Available Datasets • Statistical borders of small sub-quarters (https://webgis.stadtluzern.ch/WebOffice/synserver?project=admin_einteilung&user=guest&client=core) • Grade of Activation at Neighbourhood Association • Population Data 2014 – 2019 (Demographic) • Employer Data 2016 • Participation in Voting • Value Survey
Project link https://github.com/LinoSimoni/shapemycity
Participants Luca Cincera / Carmen Moreno / Lino Simoni / Marc Sprenger
Contact details Luca Cincera, luca.cincera@stud.hslu.ch Carmen Moreno, carmen.boehler@stud.hslu.ch Lino Simoni, lino.simoni@stud.hslu.ch Marc Sprenger, marc.sprenger@stud.hslu.ch
Pitch präsentation https://docs.google.com/presentation/d/e/2PACX-1vTEFsVtGKn4M3sMCHMefoHhiHulghhS469wC0Tv2Z_e77CZvWB6hfz64yEl6T6ESZsGCaAFngL2_7g-/pub?start=false&loop=false&delayms=3000
103 - Geovisualization of simulated building energy demands
Interactive visualization of the energy use of buildings based on energy simulation data
IDEA
The aim of the challenge is to visualize the energy use of buildings either in 3D or 2D based on energy simulation data. The visualization should be interactive and the users should be able to discover information about the buildings from the graphics. The information which is visualized is not limited to energy use but also any additional knowledge the challengers can engineer from the results (e.g. identification of cluster of high demand, reporting at different spatial levels i.e. postcode, identification of areas that could benefit most from energy saving strategies, etc.).
TASKS
- understanding data
- determine and develop the key figures to be visualized
- choosing the tool for the visualization
- implementing the visualization
- knowledge engineering
DATA FILES
- energy simulation data
- description of the attributes from the simulation
Data files will be provided by the challenge owner (protected data)
THE SOLUTION
The creation of this 3D interactive application (GUI) requires various preceding steps. The data challenge team therefore decided to build a pipeline.
The pipeline basically consists of 4 parts:
- Setting up the basic infrastructure
- Data collection
- Data preparation (apply relevant Skripts)
- Layer creation
- Use of GUIs
FINDINGS
- Nested Data structure (CityGML Data, xml, kml, json, gltf, ...)
- many possible approaches exist (Python, Web application, R, …)
OBSTACLES
- handling & understanding of data structure
- Adapt Visual to research question (Adapt javascript of 3D-CityDB Web Client)
NEXT STEPS
- Colouring of Layers in Web-Client
- Automation of current manuelly tasks
- Further evaluation of 3D-Visualization-Tools with more flexible GUI
Link to the presentation
Link to the documentation
https://drive.google.com/file/d/1yh-YxZTv9sdGHPrFod-qItmmLhysTtSX/view?usp=sharing
104: Flat finder for seniors
Enabling seniors to find a place that fits their needs.
Problem
As we grow older, our needs and requirements for living change. Finding a suitable house or apartment can be a real challenge for all of us - but especially for the older population. Seniors face numerous housing challenges, including for example affordability, physical accessibility, and access to medical and other services inside and outside the home. Conventional housing platforms rarely take into account the specific needs of the older population in their search criteria. With this challenge, we want to change this.
Goal
We want to enable senior citizens to search for an apartment or house online. The goal is to implement predefined search criteria in any programming language in order to develop a prototype platform that finds suitable apartment or houses for senior citizens. Criteria may include accessibility to services & infrastructure, lift, barrier free accessibility, public transport access, services, outdoor space, neighbourhood, etc.
Data sources
- List of relevant search criteria (ranked according to target group's needs)
- Housing advertisements from the city of Lucerne, collected via Immoscout24 API
- Open Street Maps
Here the slides to the final presentation: https://docs.google.com/presentation/d/e/2PACX-1vQYHERpmwUBu3bPQUQB-Z-bLQt6c0kLKMZeJRRDRzoP6Mlw_ZjrklHSqTpY2Yc6lrBwRdffXoO0leZn/pub?start=false&loop=false&delayms=3000
You will find the link to our Tableau-visualization prototype here: https://public.tableau.com/profile/francisco.borge8567#!/vizhome/prototype_luzern_60_plus/Lucerne_60_plus_prototype
You will find further illustrations of the workflow and very simple user interface in the images below.
Detailed description: The idea is to have a very simple user interface where seniors can select the most important search criteria for a new flat. They can choose between must-have criteria and should-have criteria. The search mask then queries the database which stores the json-data we already downloaded daily (according to a schedule) from the immo websites. These data are already enriched and tagged by NLP processes with a custom built NLP model. This is a huge added value as the json-files representing a flat advertisement often contain a "False" for information that has not been entered by the flat owner, but the text description actually does contain such information. An example would be "pets allowed" or "wheelchair accessible", which often have "False" in the json file, hence one would assume that the flat does not fulfill that criterion. But when one does an analysis of the text description, one can often see that the text box indeed does contain verbal information like "pets allowed upon request" or "barrierefrei". It seems that instead of ticking all relevant boxes when publishing a flat advertisement, people rather use the text description to provide most necessary information. Further, some information like "sonnig" / "sunny" are typically based on personal interpretation and thus only represented written in the text description. Our NLP model takes this into consideration by doing text analysis and keyword tagging, by which the data is enriched and stored in our MongoDB store. From there, whenever there are search criteria activated in the user interface, the enriched and tagged data are being queried and ranked according to the best fit of the criteria. Then we have two types of result representation: a very simple one like a list with pictures, description, price and contact info as well as an interactive map -even with changeable search criteria again. The link to the interactive map prototype is in the project link below. Here is a more detailed description of the backend-processes: All data is fetched with an HTTP Client via the Immoscout24 API periodically. We first had to fetch all the elements on the overview page and for each flat the program loads the detailed information. The JSON file is then stored in a mongoDB. For the web UI we provide a RestAPI which can handle different search criterias. For the purpose of this prototype we only use the criteria accessability. This criteria is than passed to the FlatFinder module which queries the mongoDB and returns the data in JSON format. The NLP Pipeline was build as well but not integrated in this prototype.
Here is our very simple and basic user interface with the search mask:
Here is the whole workflow in a very simple and basic manner, just to understand conceptually:
And here is the detailed backend workflow process:
105: Netto- Null in den Quartieren?
Visualisierung des Ist-Zustands als beitrag zur Energiewende in den Quartieren der Satdt Luzern
Initial situation:
The CO2-neutral neighbourhoods make a significant contribution to driving forward the energy turnaround. With the help of a change in energy supply and increased energy efficiency in buildings, primary energy consumption and greenhouse gas emissions can significantly be reduced. Buildings account for 24% of greenhouse gas emissions in Switzerland (Federal Statistical Office). Climate-neutral neighbourhoods pursue the approach of reducing the energy requirements of buildings as far as possible, optimising the systems engineering and covering the remaining energy requirements with renewable energies.
Idea:
To determine the current level of CO-2 emissions in the districts of the City of Lucerne, the data provided will be used to visualise which heating methods the buildings are using. The comparison of the CO2 emissions of the heating methods will also be integrated into the visualisation. This visualisation will then make it possible to see which buildings can heat with a more efficient heating method and thus significantly reduce greenhouse gas emissions. The long-term goal of the energy concept is to develop an energy-efficient neighbourhood that is managed independently of fossil fuels.
Target:
The aim of this challenge is to create a visualisation of CO2 emissions as a contribution to the energy turnaround in the districts of the city of Lucerne. It is important that the data is aggregated on the level oft the different city districts. In addition to the data provided, further data that can be accessed online can be integrated.
Hackdays:
Using the available data, the hackers visualised important information during the Hackdays regarding the heating methods used in the districts of the city of Lucerne. The four hackers used Python for data processing and visualisation. An interactive visualisation is available to the user. In future, this can also be supplemented with consumption information on the buildings. Due to data protection guidelines, the data and the visualisation may only be used and edited by authorised persons.
What have we found out?
The visualisation shows which quarters are heated in which way.
Next steps:
By implementing the consumption information for the buildings, a visualisation can be created which shows which buildings emit how much CO2.
Participants:
Yarkin Götzmen, Alexandra Strohmeier, Rafael Morgenthaler, Sutki Hereqi
Contact:
yarkin.goecmen@stud.hslu.ch alexandra.strohmeier@stud.hslu.ch rafael.morgenthaler@stud.hslu.ch sutki.hereqi@stud.hslu.ch
Data source:
Hausbezogene Wärmeerzeugung BFS – GWR 2015, Zuordnungen der Hausbezogenen Daten zu den Quartiervereinen der Stadt Luzern
Partners:
- Martin Scherrer, President Association of Neighbourhood Associations
- Alex Willener, Lecturer HSLU
12: Find energy inefficient buildings in the city of Lucerne
Improve the process of analysing building structures.
Problem
Rising Prices, shrinking resources, liability for climate and environment are just a few reasons to challenge our energy consumption and approach a more thoughtful and economical way. Buildings in Switzerland are responsible for about 45 % of energy usage. EMPA would like to change this by combining open data and modern technologies like neural network classification to evaluate buildings worth a structural energy efficiency upgrade and reduce energy loss in the city Lucerne.
Solution
Our solution is all about improving the process of analysing building structures. Image data based challenges need a solid infrastructure for further use. Therefore we implemented an easy to use python script to retrieve images by using the google API and to save them in a PostgreSQL database. Furthermore we developed a prototype mockup for a gamified user application to check image quality, to provide image information and to add images manually. Mockup-Link: https://share.proto.io/U768ZR/
Outlook
- Build a working prototype for the user
- Implement labeling features in the app and the database structure
- Think about gamified solutions to calculate the windows to wall ration on a building (include a drawing functionality
Project repository
https://github.com/Duneyr4/Analysis-of-energy-inefficient-buildings
Challengers
Dominik Vasquez, Stephan Wernli, Luca Casuscelli, Jonas Zürcher
Analysis-of-energy-inefficient-buildings
Project description
Rising Prices, shrinking resources, liability for climate and environment are just a few reasons to challenge our energy consumption and approach a more thoughtful and economical way. Buildings in Switzerland are responsible for about 45 % of energy usage. EMPA would like to change this by combining open data and modern technologies like neural network classification to evaluate buildings worth a structural energy efficiency upgrade and reduce energy loss in the city Lucerne. For the performance of image analysis and model training we first need a solid infrastructure to retrieve and store data. With our project we would like to tackle this challenge.
Technical Base
The application is using Python and PostgreSQL to save the data provided by the google API. The connection data like username, password, database name, etc. are stored in server.ini.
Architecture
There are several classes that manage the database connection, the creation of table entries and the saving of the pictures to the file system. The semantic key to access a picture is given through its address. The zip-code, the street and the building number are used to access the data sets and check whether an entry exists or not. If a building does not exist yet in the database a uuid-key is generated and used as a primary key for the building. The picture is saved with the “uuid”.jpg as filename.
Classes
• DBConnection: Manages the DB connections and handles DB cursors
• DBCursor: little Proxy for Cursors
• Building: The Buillding class is meant to manage the access and the storing of pictures and meta data.
• ImageExtractor: Interface to Google Street View API
Files
• addresses.txt: some sample addresses for testing and mockup
• Building_database.py: home of Class Building
• create_tables.py: Creates the needed DB tables
• db_connection.py: home of Classes DBConnection and DBCursor
• googlestreetextractor.py: home of Class ImageExtractor
• key.txt: not used in prototype. Is supposed to contain the Google Street View API key
• main.py: Mockup of functionality. Reads addresses from addresses.txt and extracts data and images from google street view and saves them in the database using Classes ImageExtractor and Building
• Readme.md…
• requirements.txt: contains all necessary requirements (Anaconda style)
• server.ini: contains all configuration data (to be adjusted by customer by writedbconfig.py)
• test_retrieve.py: Test of extraction of data and images that were written with main.py
• writedbconfig.py: writes parameters to server.ini
Data
The data was retrieved with a Google API Key
Authors
Dominik Vasquez, Stephan Wernli, Luca Casuscelli, Jonas Zürcher
Drug Sharing Ecosystem Driven by Blockchain
Blockchain was developed to increase transparency, security and automatization in the health care industry.
Initial Situation
Interviews with pharmacies and Webinars by industry partners highlighted that the drug sharing has much potential in being optimized. Specifically, the exchange of medicines among pharmacies or other stakeholders is not fully coordinated and automated.
The Corona pandemic exposed issues in quality and quantity of material such as masks. Various materials of reduced quality have come into circulation during this period due to insufficient stocks and control mechanisms. Another problem is the insufficient communication between pharmacists and other stakeholders. For example, there is no visible stock of existing drugs in the entire circulation. A pharmacy can therefore not exactly know what other pharmacies have in their stock. This leads to inefficiencies in the exchange of medicines directly between pharmacies and various stakeholders such as patients for example. As a result, shortages occur in situations of increased demand as it is a challenge to track the locations and ownerships of the products.
Goal of the Challenge
We intend to optimize the exchange, shipping and transport of medicines between stakeholders in the healthcare industry using Blockchain technology. The goal is to create a prototype of a Blockchain where the transactions between the stakeholders are visible at all time, productions and orders are automated and security against fraud or counterfeiting is given.
Outcome
The output of these Hackdays is a basic prototype of a Blockchain that comes with its concept plan and description.
Concept:
The ecosystem of a healthcare industry including different process were created and visualized on a Business Process Model and Notation (BPMN) concept. This process illustrated some of the most important transactions of such an ecosystem from initial production of the drug to its consumption. Furthermore, the whole concept ensures that all information that occurs after each transaction is stored in the Blockchain. The Blockchain database not only ensures that transaction data cannot be subsequently manipulated, it also opens the way for drug manufacturers and pharmacies to make data analysis to improve their processes, products and services according to the latest demand.
A more detailed description of the concept and its various processes can be found in our repository .
Prototype Blockchain:
A prototype of a Blockchain was created with the use of Python programming language. By implementing various participants (pharma manufacturer), assets (the items such as drugs) and transactions (the various processes such as the order or deliver of drugs) in to the Blockchain, it was possible to automate the generation of transactions and its underlying blocks of the Blockchain. Thereby, Use cases such as fraud detection and information transparency were addressed and implemented in our prototype. Below you will find an output of the Python-file, where the individual stocks of the various stakeholders regarding a specific type of medicine is illustrated. This use case would help the pharma manufacturer to monitor and control the circulation of its product and therefore forecast and future demand.
Next Steps
- This prototype of a Blockchain will further be presented and discussed by the City of Lucerne for further development
- The technology and system behind this Blockchain may not only be applied on drug sharing, but also on other areas such as food waste or recycling
- The increased efficiency and transparency of Blockchain may the right approach for a stakeholder relationship management model
Below you find the slides to our final presentation of the hackdays:
Contact
For further information on this project, please contact the challenge owner: Matthias Albisser.