Giter Site home page Giter Site logo

Rfluxmtx stdin about honeybee HOT 2 CLOSED

ladybug-tools avatar ladybug-tools commented on July 26, 2024
Rfluxmtx stdin

from honeybee.

Comments (2)

sariths avatar sariths commented on July 26, 2024

While staying on the issue, how are we creating points files (rays). I know that you have an implementation inside GH/HB which does it. Will be relying on the gui of GH/Dynamo to generate pts files ?

from honeybee.

sariths avatar sariths commented on July 26, 2024

Final Receiver for RfluxMtx.

@mostaphaRoudsari This is somewhat of a thinking out loud type of thing...but anyways, here goes:

For most of the simulations that we use, the final receiver will always be the sky. The rfluxmtx type definition for this is :

#@rfluxmtx h=u u=Y
void glow ground_glow
0
0
4 1 1 1 0

ground_glow source ground
0
0
4 0 0 -1 180

#@rfluxmtx h=r1 u=Y
void glow sky_glow
0
0
4 1 1 1 0

sky_glow source sky
0
0
4 0 0 1 180

The part about ground in the first half of the string above is unlikely to change. The second part, ie. the sky portion will change based on the kind of sky that we choose. Andy's example uses Tregenza sky and there for h=r1, however we could use further subdivisions and change the sky conifgurations.
To sum up, I think we could probably implement a @staticmethod type thing for generating skies.. the function could be something like

def genRfluxSky(skyType =1 ):

        ...............

         return skyString

I am still testing out a few things on my side. I will keep this discussion going ....

To add to this ...

Linking (annual or point-in-time) Sky Radiation Data to First Phase

I think we might not have much leeway in setting the h= value for the sky as well as this would most likely get decided by the -m property of Gendaymtx and Genskyvec. From the sky definition above, the ground patch is created in Rfluxmtx by #@rfluxmtx h=u u=Y which links to the the 0 in (0 + 145) or (0 +2305) sky patches. #@rfluxmtx h=r1 u=Y will decide whether the patches are 145 or 2305.

from honeybee.

Related Issues (20)

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.