HB Radiance got some problems when calculating DF

Hello, I am new to ladybug and honeybee suit and I tried to calculate DF in 1.000 version and I encountered 3 problems when was trying to calculate the DF of a simple room.

  1. I encountered some problems when I was trying to calculate the DF. I pasted some line in cmd which I believe was the error report. How can I fix that issue?

  2. The GH file has been uploaded to check if my configuration was wrong. Since it’s the new version, I get most of things done by guessing, so maybe there could be some mistakes. If it does have some mistakes pls point out and I’ll correct them.

  3. Last thing, How can I visualize the result of DF, unlike Ladybug, It seems that Honeybee won’t show the result directly but need to extract it from the folder and visualize it onto the grid mesh.
    ts1.gh (52.5 KB)

    WARNING: Failed connecting to remote scheduler ‘http://localhost:8082

    Traceback (most recent call last):

    File “c:\users\80540\ladybug_tools\python\lib\site-packages\luigi\rpc.py”, line 163, in _fetch

     response = self._fetcher.fetch(full_url, body, self._connect_timeout)

    File “c:\users\80540\ladybug_tools\python\lib\site-packages\luigi\rpc.py”, line 97, in fetch

     return urlopen(req, timeout=timeout).read().decode('utf-8')

    File “c:\users\80540\ladybug_tools\python\lib\urllib\request.py”, line 222, in urlopen

     return opener.open(url, data, timeout)

    File “c:\users\80540\ladybug_tools\python\lib\urllib\request.py”, line 531, in open

     response = meth(req, response)

    File “c:\users\80540\ladybug_tools\python\lib\urllib\request.py”, line 641, in http_response

     'http', request, response, code, msg, hdrs)

    File “c:\users\80540\ladybug_tools\python\lib\urllib\request.py”, line 569, in error

     return self._call_chain(*args)

    File “c:\users\80540\ladybug_tools\python\lib\urllib\request.py”, line 503, in _call_chain

     result = func(*args)

    File “c:\users\80540\ladybug_tools\python\lib\urllib\request.py”, line 649, in http_error_default

     raise HTTPError(req.full_url, code, msg, hdrs, fp)

    urllib.error.HTTPError: HTTP Error 400: Error

    INFO: Retrying attempt 2 of 3 (max)

    INFO: Wait for 30 seconds

Hi @Zed ,

If I had to guess, I would say that it’s probably all of the non-ASCII characters in your file path that’s preventing the simulation from running. It runs fine for me using paths with only ASCII characters on my machine. Also, you need to use the native GH “Read File” component to read in the results right now:

ts1_CWM.gh (45.7 KB)

1 Like

A lot of thanks, it seems different to extract results compared with the examples from previous versions.

excuse me, but how to use "radiance parameters"or what nodes should be connected to it?

Hi @Zed. You can use honeybee plus rad parameter component and connect the output from daylight matrix par as shown below.

1 Like

@Asisnath 's suggestion gives you the most complete control but you can also just connect text for a whatever parameters you want to change like so:

1 Like

Dear @chris,
I noticed that the simulation is null, if in the list of the radiance_par (into the DaylightFactor component), I add one of these parameters:
ps: pixel sampling rate;
pt: sampling threshold;
pj: anti-aliasing jitter;
sj: specular jitter;

Using the same list in the Legacy or Plus version, I’ve never had any problems.

Liam R.

1 Like

This question is probably best answered by @mostapha . It looks like those radiance options don’t exist on the rcontrib command that is run for daylight factor simulation:

I don’t know if that’s just because those commands aren’t applicable or if they just haven’t been added yet.

1 Like