Giter Site home page Giter Site logo

energy-modelling-ireland / ibsg Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 2.0 4.08 MB

Generate a clean Irish building stock using this Python-based streamlit web application

Home Page: https://share.streamlit.io/energy-modelling-ireland/ibsg/main/app.py

License: MIT License

Python 92.59% Dockerfile 7.41%
pandas python streamlit

ibsg's People

Contributors

rdmolony avatar

Watchers

 avatar  avatar

ibsg's Issues

Filter all BERs in 1GB of RAM

We need to find the right tool for the job. The BERs are >1GB uncompressed. pandas reads data into memory & so will crash in 1GB of RAM.

Options

  • dask
  • fugue
  • ibis
  • vaex
  • sqlite

Remove erroneous Postcodes

Is your feature request related to a problem? Please describe.
A small number of entered Postcodes do not exist

Describe the solution you'd like
These buildings are removed by ibsg

Flag Date & Location Metadata in Filenames

Unlike the Postcode BERs the Small Area BERs currently need to be manually pulled by the SEAI and so are date-dependent. As of 08/07/2021 the codema-dev SA BERs dataset is from the 14/05/2021 - the clean BERs, BERs + Census and/or BERs + Census + Archetypes should reflect this

If user selects just Dublin, this should be reflected in the output filename

  • Flag data date
  • Flag selected countyname

Dublin SA BERs is 1,705,109 buildings

Describe the bug
ibsg is producing a dataset that is much larger than it should be & so is likely full of duplicate buildings.

To Reproduce
Steps to reproduce the behavior:

  1. Run ibsg
  2. Read the output data into a DataFrame:
df = pd.read_parquet("PARQUET-FILENAME")
len(df)
>> 1705109 
df["countyname"].unique()
>> array(['CO. DUBLIN', 'DUBLIN 1', 'DUBLIN 10', 'DUBLIN 11', 'DUBLIN 12',
       'DUBLIN 13', 'DUBLIN 14', 'DUBLIN 15', 'DUBLIN 16', 'DUBLIN 17',
       'DUBLIN 18', 'DUBLIN 2', 'DUBLIN 20', 'DUBLIN 22', 'DUBLIN 24',
       'DUBLIN 3', 'DUBLIN 4', 'DUBLIN 5', 'DUBLIN 6', 'DUBLIN 6W',
       'DUBLIN 7', 'DUBLIN 8', 'DUBLIN 9'], dtype=object)

Expected behavior
Dublin should only contain 500k or so buildings

[Q] purpose of ibsg? what are 'boundaries'? no link to census? map view? project assistance?

From Philippe Lemarchand email correspondance:

  • [A] What do you call boundaries? Are they the geographical boundaries we select as "countyname"?

  • [B] I can now open the file and noted there is no difference to the SEAI file. I guess the benefit is that SEAI files are limited on the number of dwellings that can be downloaded in a single file. Your system collates them automatically rather than me doing it manually - is this correct?

  • [C] I had ticked the link to the 2016 census but I see no link in the csv file. Please could you tell me what information from the 2016 census we are supposed to see?

  • [D] Another thing you might help me understanding as Jason mentioned the use of tableau to have a map view. The BER data do not contain any street name so how is it possible to generate a more detail view of a specific area as it is done here: https://renewables.maps.arcgis.com/apps/webappviewer/index.html?id=360f7b3f6f484d7d89b967b41231daef

  • [E] I have never touched Tableau and I wonder, since you work in Codema, if you might be able to help us with our SEAI Stoneybatter Sustainable Energy Community project that is mentored by Codema. I have in mind to develop superposed layers of information regarding Stoneybatter area - is that possible? Is it something you would be interested in developing together?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.