# Flat Solar Envelope Problem

**URL:** <https://discourse.ladybug.tools/t/flat-solar-envelope-problem/5774>\
**Category:** ladybug-legacy\
**Tags:** solarenvelope\
**Created:** [April 2, 2019, 11:47am UTC](https://discourse.ladybug.tools/t/flat-solar-envelope-problem/5774 "2019-04-02T11:47:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![calvinukonline](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/c/3bc359/32.png) [@calvinukonline](https://discourse.ladybug.tools/u/calvinukonline)\
**Post date:** [April 2, 2019, 11:47am UTC](https://discourse.ladybug.tools/t/flat-solar-envelope-problem/5774/1 "2019-04-02T11:47:24Z")

</div>

Hi

I am a student and I am currently learning how to use ladybug in grasshopper to generate a solar envelope on rhino. I have created a simple model and have used the “CLASS\_12\_SOLAR\_ENVELOPE\_ADV” file to test it.

However, it seems that the solar envelope component is ignoring the obstacle curve that I have set up, and just generating a flat envelope at the maximum height above the site as shown below:  
 ![model%20view](https://discourse.ladybug.tools/uploads/default/original/2X/5/5f57688a8a43abd4edc0f24e46dd216bf91e5e9e.png)

As I am a new user, I cannot upload any attachment, please find the google drive link below for my files. I would be very grateful if someone can help to point out have I done incorrectly. Thank you very much.

[https://drive.google.com/drive/folders/1h\_o\_w5qig7KrLTfjL8PeeH4h7BAB5sU2?usp=sharing](https://drive.google.com/drive/folders/1h_o_w5qig7KrLTfjL8PeeH4h7BAB5sU2?usp=sharing)

---

<div class="post-metadata">

**Author:** ![calvinukonline](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/c/3bc359/32.png) [@calvinukonline](https://discourse.ladybug.tools/u/calvinukonline)\
**Post date:** [April 2, 2019, 1:03pm UTC](https://discourse.ladybug.tools/t/flat-solar-envelope-problem/5774/3 "2019-04-02T13:03:07Z")

</div>

Dear Abraham

Thank you so much for your reply! To my understanding (correct me if I am wrong), the solar envelope should indicate the maximum massing volume that I can build on the plot, that it would not block away direct solar access to the existing building (the box at north), this is why I have located the building at north, expecting there will be a “slope” generated on the solar envelope.

But I have tried putting in more blocks at the south of the plot, and it is still generating a flat envelope. Do you think it might be a problem with the script that I am using?

 ![model%20view02](https://discourse.ladybug.tools/uploads/default/original/2X/b/b557d17da3d4e786d03d6e85d4e5c7398bfce63b.png)

Thanks again for replying!  
Calvin

---

<div class="post-metadata">

**Author:** ![AbrahamYezioro](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/abrahamyezioro/32/3_2.png) [@AbrahamYezioro](https://discourse.ladybug.tools/u/AbrahamYezioro)\
**Post date:** [April 2, 2019, 1:14pm UTC](https://discourse.ladybug.tools/t/flat-solar-envelope-problem/5774/4 "2019-04-02T13:14:34Z")

</div>

I was probably not concentrated when i replied. You are right. Sorry for the confusion.  
I’ll check your file later on.  
-A.

---

<div class="post-metadata">

**Author:** ![calvinukonline](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/c/3bc359/32.png) [@calvinukonline](https://discourse.ladybug.tools/u/calvinukonline)\
**Post date:** [April 2, 2019, 1:18pm UTC](https://discourse.ladybug.tools/t/flat-solar-envelope-problem/5774/5 "2019-04-02T13:18:13Z")

</div>

Thank you so much!

Calvin

---

<div class="post-metadata">

**Author:** ![AbrahamYezioro](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/abrahamyezioro/32/3_2.png) [@AbrahamYezioro](https://discourse.ladybug.tools/u/AbrahamYezioro)\
**Post date:** [April 2, 2019, 1:50pm UTC](https://discourse.ladybug.tools/t/flat-solar-envelope-problem/5774/6 "2019-04-02T13:50:29Z")

</div>

Tried many things and it didn’t work … until i changed unit to mts. Then it is fine.  
Attached.  
-A.  
[CLASS\_12\_SOLAR\_ENVELOPE\_ADV\_AY.gh](https://discourse.ladybug.tools/uploads/default/original/2X/a/a979dd33eb531e91e9dd4a123313a205f7c3f6e6.gh) (431.1 KB)

[Untitled\_AY.3dm](https://discourse.ladybug.tools/uploads/default/original/2X/1/15ceb42588151925a54f983d11641053220b1332.3dm) (106.7 KB)

---

<div class="post-metadata">

**Author:** ![calvinukonline](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/c/3bc359/32.png) [@calvinukonline](https://discourse.ladybug.tools/u/calvinukonline)\
**Post date:** [April 2, 2019, 1:55pm UTC](https://discourse.ladybug.tools/t/flat-solar-envelope-problem/5774/7 "2019-04-02T13:55:34Z")

</div>

Dear Abraham

Thank you so much!! Would have never thought of changing the unit! I really appreciate it and could not thank you enough!!

Best,  
Calvin
