Giter Club home page Giter Club logo

solar-shading's Introduction

Feel++ Solar Shading Project

CI

This repository provides a basic starting point for a Feel++ application including:

  • ✓ Feel++ applications in C++ to use Feel++ and Feel++ toolboxes in src

  • ✓ documentation using asciidoc and antora

  • ✓ python Feel++ notebooks that can be downloaded from the documentation

  • ✓ continuous integration including tests for the C++ applications

  • ✓ docker image generation for the project

The documentation for solar-shading is available at here and you can build on it for your project by enabling the github pages for your repository.

Updating the solar-shading version

The version of the project is defined in the files CMakeLists.txt, docs/antora.yml and docs/package.json. You need to update with the same version in all files.

Release process

  • ✓ update the version in CMakeLists.txt

  • ✓ update the version in docs/antora.yml

  • ✓ commit the changes with the message "Release vx.y.z". At this point the CI will generate the docker image and push it to docker hub

solar-shading's People

Contributors

dependabot[bot] avatar earltshirt avatar github-actions[bot] avatar lberti avatar prudhomm avatar vincentchabannes avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

solar-shading's Issues

Refactoring of solar shading algorithm

The current version of solar shading algorithm will not scale and should be fully review.
The bad things that I see are :

  • Too many submeshes. Here we create a submesh for each building and a submesh for each face of building. : In fact no submesh are required
  • A BVH is built for each building and then a ray intersection is done by a loop for each building (very bad complexity)
  • The save on disk is done for each face of building in csv file and apply inside the algo will slow down the execution.

The idea is to build only one BVH containing all faces of the building. Then we do only on loop for each faces and run intersect function of the BVH. If an intersection, we have access to mesh face and so we can have easily the building id or face id (by created an map between : face -> (building id, faceid). Then, we need to reduce the amount of data generated and speed up this write exported these quantity with HDF5 for example. We can build a large vector at the begining and then using EigenMap we can have an access to each matrix without any more memory. The write on disk should be done at the end (only once).

The perf will be significantly improved in sequential. Then we can go the parallelism with MPI and thread.

@prudhomm @lberti what do you think?

Add Diffuse Radiation and View Factor Computation

  • Implement computation of the diffuse sky distribution
  • Retrieve the incidence angle
  • Retrieve all data needed using open-meter.com and add coordinates in the json file (latitude, longitude)
  • Problem during multiplication of both matrices : inverse numbers in Shading Mask matrix
  • Interpolate both matrices of different sizes
  • Solve boundary issues during interpolation process
  • Implement computation of the diffuse radiation factor
  • Implement computation of the view factors
  • Add cumulative radiation computation (as boolean parameter)

Prepare solar shading computation for large meshes

  • allow specification of building markers via a list (few markers) or via a text file
  • write a preprocessing script that reads .msh files and extracts volume and surface markers
  • adapt the code to these changes

refactoring solar mask computation

Some refactoring is required for the SolarMask computation in order to separate task creation to actual task orchestration and enable choosing different frameworks

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.