SlideShare a Scribd company logo
1 of 22
Download to read offline
Datu bistaratze soluzioen garapena Smartcity
proiektuetan
Iker Martinez De Agirre Mendia
2016-07-20
Mondragon Goi Eskola Politeknikoa - MU
CITyFiED PROIEKTUA
• 21 Bazkide – 5 Europar herrialde
• 3 Frogapen gune (Suedia, Turkia eta Espainia)
• Finantziazioa - Europar Batasunaren VII Marco Programa
• Helburuak
– Energia kontsumoaren/beharraren murrizketa
– Distrituen berritze energetikoak
– Kalefakzio sareak – Energia berriztagarriak
– Metodologia eta prozedura berritzaileen garapena
– Hedapen potentziala
• Monitorizazioa  BISTARATZE SOLUZIOAK
2
This project has received funding from the European Union’s Seventh Programme for research,
technological development and demonstration under grant agreement No 609129
CITYFIED PROIEKTUA - METODOLOGIA
Kontzeptualizazioa
Diseinua
Garapena
Hedapena
• Erabiltzaile eta soluzioen identifikazioa
• Identitate grafikoaren definizioa
• Teknologien identifikazioa
• Balio proposamena
3
CITYFIED PROIEKTUA - METODOLOGIA
Kontzeptualizazioa
Diseinua
Garapena
Hedapena
• Esperientzia diseinua
• Diseinu estatikoa
• Diseinu analitikoa
• Erabiltzaileen testa
• Baldintza teknikoak
4
CITYFIED PROIEKTUA - METODOLOGIA
Kontzeptualizazioa
Diseinua
Garapena
Hedapena
• Front End + Back End garapena
• Frogapena
5
PC Tablet Smartphone
CITYFIED PROIEKTUA - METODOLOGIA
Kontzeptualizazioa
Diseinua
Garapena
Hedapena
• Hedapena
• Monitorizazioa
6
PROIEKTUAREN TESTUINGURUA - EKOSISTEMA
• Frogapen gunea: Torrelago distritua, Laguna De Duero, Valladolid
7
CITyFiED
Platform
Business
Intelligence
Web API
ETL
Consumer
Applications
Visualization
Solutions
Residents
KPI
Governance
DH
Simulation
Algorithms
Reporting tool
BI ETL DH Out
ETL
RWD HMI
Django
Web API
DH in
ETL
DH Web
Service (up)
Provider
Systems/Access
HEMS KPI Data DH (DEMS)
Structural
Data
KPI Form
KPI
ETL
HEMS
Stream
Processor
HEMS ETL
Backoffice
Forms
DH Web
Service (down)
PROIEKTUAREN TESTUINGURUA - EKOSISTEMA
• Frogapen gunea: Torrelago distritua, Laguna De Duero, Valladolid
8
HEMS
DATU BASEA
WEB ZERBITZARIA
Kontsumo datuak
Datu elkarbanaketa
SOLUZIO TEKNOLOGIKOA: WEB APLIKAZIOA
• Web aplikazioa  Django Web Framework
• Gailu ezberdinetara moldakorra (Responsive Web Design)
• Edukia
– Kontsumo energetikoa
• Egunekoa & Hilabetekoa
• Familiaka  Bilakaera
– Etxetresnaka
– Gomendioak
• Orokorrak & Pertsonalizatuak
– Alertak
– Eguraldia & Kalefakzio gomendioa
9
SOLUZIO TEKNOLOGIKOA – FRONT-END
• Programazio lengoaiak: HTML – CSS – Javascript
• Mobile-First, Responsive Web Design  Telefono mugikorrak, tabletak, PC
• Baliabide grafikoak
10
SOLUZIO TEKNOLOGIKOA – FRONT-END
• Bootstrap
– Pantailaren egitura  Zutabeak
– Menuak
– Formularioak
– Botoiak, “select” elementuak
11
SOLUZIO TEKNOLOGIKOA – FRONT-END
• d3.js
– Datu eskaerak (GET)
– Kontsumo grafikoak
• “Angular gauge”  Egunerokotasuneko kontsumoa
• Lerro grafikoak  Kontsumoaren bilakaera
12
SOLUZIO TEKNOLOGIKOA – BACK-END
13
DJANGO – CITyFiED PROJECT
server
app: cityfied
*.html
*.css
*.jsrenderizatu
urls.py
views.py
app: api
urls.py
views.py
models.py
client
1.- Eskaera
2.- Erantzuna
3.- Datu eskaera
(GET, POST, …)
4.- Erantzuna
BBDD
query
SOLUZIO TEKNOLOGIKOA – BACK-END
14
Funtzioa Python paketeak
Django django
Django REST djangorestframework
SQL Server DB (Azure) konexioa django-mssql, pyodbc, django-pyodbc-azure
Azure integrazioa
azure, azure-common, azure-mgmt, azure-mgmt-
common, azure-mgmt-compute, azure-mgmt-
network, azure-mgmt-nspkg, azure-mgmt-resource,
azure-mgmt-storage, azure-nspkg, azure-servicebus,
azure-servicemanagement-legacy, azure-storage
Pasahitzen enkriptazioa bcrypt
Eguraldiaren iragarpenaren interpretazioa lxml
Python “datetime” moduloak python-dateutil
Itzulpenak python-gettext
Cache (eguraldia) python-memcached
DJANGO – MICROSOFT AZURE
15
1. Eszenarioa 2. Eszenarioa
DJANGO – MICROSOFT AZURE
16
1. Pausoa: Django (Ubuntu)  SQL Server DB (Microsoft Azure)
DJANGO – MICROSOFT AZURE
17
2. Pausoa: Django (Ubuntu)  Django (Windows)  Django & SQL Server (Microsoft Azure)
DJANGO – MICROSOFT AZURE
18
1.- Publikatu
2.- Web app aukeratu/sortu
DJANGO – MICROSOFT AZURE
19
3.- Konexio ezarpenak 4.- Ezarpen gehigarriak
+ aurreikuspena
DJANGO – MICROSOFT AZURE
20
ETORKIZUNEKO ILDOAK
• Errekomendazio & Mezu sistema automatizatua
– Erabiltzaileen kontsumoan oinarritua
• Front-End optimizazioa
– Errekurtso grafiko gehiago erabili
– RWD Ezaugarriak hobetu  Pantailen neurri tartea handitu
• Back-End optimizazioa
– Django teknologian sakondu
• Itzulpenerako tresna espezializatuak  Django Rosetta
– Eguraldiaren datuak  Internazionalizazioa
– Azure teknologian sakondu
21
ESKERRIK ASKO
22
iker.martinezm@alumni.mondragon.edu
https://twitter.com/ikermdagirre
https://www.linkedin.com/in/ikermdagirre

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Datu bistaratze soluzioen garapena Smartcity proiektuetan

  • 1. Datu bistaratze soluzioen garapena Smartcity proiektuetan Iker Martinez De Agirre Mendia 2016-07-20 Mondragon Goi Eskola Politeknikoa - MU
  • 2. CITyFiED PROIEKTUA • 21 Bazkide – 5 Europar herrialde • 3 Frogapen gune (Suedia, Turkia eta Espainia) • Finantziazioa - Europar Batasunaren VII Marco Programa • Helburuak – Energia kontsumoaren/beharraren murrizketa – Distrituen berritze energetikoak – Kalefakzio sareak – Energia berriztagarriak – Metodologia eta prozedura berritzaileen garapena – Hedapen potentziala • Monitorizazioa  BISTARATZE SOLUZIOAK 2 This project has received funding from the European Union’s Seventh Programme for research, technological development and demonstration under grant agreement No 609129
  • 3. CITYFIED PROIEKTUA - METODOLOGIA Kontzeptualizazioa Diseinua Garapena Hedapena • Erabiltzaile eta soluzioen identifikazioa • Identitate grafikoaren definizioa • Teknologien identifikazioa • Balio proposamena 3
  • 4. CITYFIED PROIEKTUA - METODOLOGIA Kontzeptualizazioa Diseinua Garapena Hedapena • Esperientzia diseinua • Diseinu estatikoa • Diseinu analitikoa • Erabiltzaileen testa • Baldintza teknikoak 4
  • 5. CITYFIED PROIEKTUA - METODOLOGIA Kontzeptualizazioa Diseinua Garapena Hedapena • Front End + Back End garapena • Frogapena 5 PC Tablet Smartphone
  • 6. CITYFIED PROIEKTUA - METODOLOGIA Kontzeptualizazioa Diseinua Garapena Hedapena • Hedapena • Monitorizazioa 6
  • 7. PROIEKTUAREN TESTUINGURUA - EKOSISTEMA • Frogapen gunea: Torrelago distritua, Laguna De Duero, Valladolid 7 CITyFiED Platform Business Intelligence Web API ETL Consumer Applications Visualization Solutions Residents KPI Governance DH Simulation Algorithms Reporting tool BI ETL DH Out ETL RWD HMI Django Web API DH in ETL DH Web Service (up) Provider Systems/Access HEMS KPI Data DH (DEMS) Structural Data KPI Form KPI ETL HEMS Stream Processor HEMS ETL Backoffice Forms DH Web Service (down)
  • 8. PROIEKTUAREN TESTUINGURUA - EKOSISTEMA • Frogapen gunea: Torrelago distritua, Laguna De Duero, Valladolid 8 HEMS DATU BASEA WEB ZERBITZARIA Kontsumo datuak Datu elkarbanaketa
  • 9. SOLUZIO TEKNOLOGIKOA: WEB APLIKAZIOA • Web aplikazioa  Django Web Framework • Gailu ezberdinetara moldakorra (Responsive Web Design) • Edukia – Kontsumo energetikoa • Egunekoa & Hilabetekoa • Familiaka  Bilakaera – Etxetresnaka – Gomendioak • Orokorrak & Pertsonalizatuak – Alertak – Eguraldia & Kalefakzio gomendioa 9
  • 10. SOLUZIO TEKNOLOGIKOA – FRONT-END • Programazio lengoaiak: HTML – CSS – Javascript • Mobile-First, Responsive Web Design  Telefono mugikorrak, tabletak, PC • Baliabide grafikoak 10
  • 11. SOLUZIO TEKNOLOGIKOA – FRONT-END • Bootstrap – Pantailaren egitura  Zutabeak – Menuak – Formularioak – Botoiak, “select” elementuak 11
  • 12. SOLUZIO TEKNOLOGIKOA – FRONT-END • d3.js – Datu eskaerak (GET) – Kontsumo grafikoak • “Angular gauge”  Egunerokotasuneko kontsumoa • Lerro grafikoak  Kontsumoaren bilakaera 12
  • 13. SOLUZIO TEKNOLOGIKOA – BACK-END 13 DJANGO – CITyFiED PROJECT server app: cityfied *.html *.css *.jsrenderizatu urls.py views.py app: api urls.py views.py models.py client 1.- Eskaera 2.- Erantzuna 3.- Datu eskaera (GET, POST, …) 4.- Erantzuna BBDD query
  • 14. SOLUZIO TEKNOLOGIKOA – BACK-END 14 Funtzioa Python paketeak Django django Django REST djangorestframework SQL Server DB (Azure) konexioa django-mssql, pyodbc, django-pyodbc-azure Azure integrazioa azure, azure-common, azure-mgmt, azure-mgmt- common, azure-mgmt-compute, azure-mgmt- network, azure-mgmt-nspkg, azure-mgmt-resource, azure-mgmt-storage, azure-nspkg, azure-servicebus, azure-servicemanagement-legacy, azure-storage Pasahitzen enkriptazioa bcrypt Eguraldiaren iragarpenaren interpretazioa lxml Python “datetime” moduloak python-dateutil Itzulpenak python-gettext Cache (eguraldia) python-memcached
  • 15. DJANGO – MICROSOFT AZURE 15 1. Eszenarioa 2. Eszenarioa
  • 16. DJANGO – MICROSOFT AZURE 16 1. Pausoa: Django (Ubuntu)  SQL Server DB (Microsoft Azure)
  • 17. DJANGO – MICROSOFT AZURE 17 2. Pausoa: Django (Ubuntu)  Django (Windows)  Django & SQL Server (Microsoft Azure)
  • 18. DJANGO – MICROSOFT AZURE 18 1.- Publikatu 2.- Web app aukeratu/sortu
  • 19. DJANGO – MICROSOFT AZURE 19 3.- Konexio ezarpenak 4.- Ezarpen gehigarriak + aurreikuspena
  • 21. ETORKIZUNEKO ILDOAK • Errekomendazio & Mezu sistema automatizatua – Erabiltzaileen kontsumoan oinarritua • Front-End optimizazioa – Errekurtso grafiko gehiago erabili – RWD Ezaugarriak hobetu  Pantailen neurri tartea handitu • Back-End optimizazioa – Django teknologian sakondu • Itzulpenerako tresna espezializatuak  Django Rosetta – Eguraldiaren datuak  Internazionalizazioa – Azure teknologian sakondu 21