CenterForTheBuiltEnvironment / clima

The CBE Clima Tool is a web-based application built to support the need of architects and engineers interested in climate-adapted design. It allows users to analyze the climate data of more than 27,500 locations worldwide using the data contained in EPW files.
https://clima.cbe.berkeley.edu
MIT License
60 stars 18 forks source link

Adaptive tab #135

Open JoseAliPorras-Salazar opened 2 years ago

JoseAliPorras-Salazar commented 2 years ago

It will be great to have the chart showing points (8760) instead of bars, like the one below: image Then it will be nice for the user to select the occupancy hours and set the air velocity in the room. Finally, it will be super great to have a summary table with the monthly percentage of time above and below the comfort limits (both 80% and 90%).

Thanks in advance!

giobetti commented 2 years ago

Hi Jose, thanks for the feedback. What would be the use case/practical application?

Currently there are a few assumptions that we had to bake in the chart: For a “generic” indoor environment we assume that:

we could expose the air speed as a parameter within the range of acceptability. Probably this should be a feature for one of the advanced tabs.

I assume you are familiar with the CBE Comfort tool https://comfort.cbe.berkeley.edu/

FedericoTartarini commented 2 years ago

Hi @giobetti I think there is an issue in the adaptive code. Currently we are using the following if statement:

        if dbt_day_ave[i] >= 40:
            dbt_day_ave[i] = 40
        elif dbt_day_ave[i] <= 10:
            dbt_day_ave[i] = 10

which basically sets the daily outdoor temperature to 40 or 10°C if the original values exceeds 40 or it is lower than 10°C, respectively. This I believe it is incorrect. We should not change the daily average temperature values. I believe this if was meant to check the value of running mean outdoor temperature. It should read as follows:

        rmt = running_mean_outdoor_temperature(last_days, alpha=0.9)
        if rmt >= 40:
            rmt = 40
        elif rmt <= 10:
            rmt = 10
        r = adaptive_ashrae(
            tdb=dbt_day_ave[i], tr=dbt_day_ave[i], t_running_mean=rmt, v=0.5
        )
FedericoTartarini commented 2 years ago

Hi @giobetti let me add a bit more context to Jose's comment. he is a colleague of mine and he verbally explained to me his suggestions.

  1. He was suggesting to show each point so visually you can see the data distribution. Currently, we are showing a box which depicts the max an min value but we do not know for how long each day the temperature was close to the max value. Using a scatter chart allows the user to visualize all the 24 readings.
  2. Occupancy hours are also useful since most of the buildings are not utilized 24/7. It would make sense to allow the user to see for how many hours the building is within the adaptive thermal comfort region between XX am an YY pm.
  3. Allowing the user to control the airspeed would also be beneficial. Higher value of airspeed move the adaptive comfort region up. This would allow the user to check if natural ventilation + air movement alone would suffice during warm days.
  4. The summary table is very useful too. At this stage we are only showing the data but for the user it is impossible to tell how many points are above, within, and below the adaptive thermal comfort region. The summary table would provide all those info.

Why don't we include all the above, maybe leaving out point 1, in the Natural Ventilation tab?

giobetti commented 2 years ago

Hi Federico,

Thanks for the explanation. Reading your comments was as well thinking that the right place seems to be the natural ventilation tab. Would this be 2 new graphs in there? This might be confusing because: How can the user put the two sets of information in relation to one another (I.e the current graphs and the suggested ones?) I am worried this might cause confusion. Which graph should they follow and when? Maybe there’s a way to unify both graphs?

One way would be to extend the functionalities of the current one where the upper boundary for natural ventilation is not set as a static value but (optionally?) tracks the adaptive comfort zone with (optionally?) a maximum indoor wind speed allowed. I think we would need to mock this up and see how it might work, but anything that suggests you can do more natural ventilation for longer and is based on sound principles is worth considering.

Sent from my iPhone

On 6. Jun 2022, at 11:11, Federico Tartarini @.***> wrote:



Hi @giobettihttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgiobetti&data=05%7C01%7C%7Ceb3fd75d49994895c41608da479c802f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637901034742234283%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xzoD43vc6c4M8SxP7vsUkZzerYNulyzS1fyl92Edi00%3D&reserved=0 let me add a bit more context to Jose's comment. he is a colleague of mine and he verbally explained to me his suggestions.

  1. He was suggesting to show each point so visually you can see the data distribution. Currently, we are showing a box which depicts the max an min value but we do not know for how long each day the temperature was close to the max value. Using a scatter chart allows the user to visualize all the 24 readings.
  2. Occupancy hours are also useful since most of the buildings are not utilized 24/7. It would make sense to allow the user to see for how many hours the building is within the adaptive thermal comfort region between XX am an YY pm.
  3. Allowing the user to control the airspeed would also be beneficial. Higher value of airspeed move the adaptive comfort region up. This would allow the user to check if natural ventilation + air movement alone would suffice during warm days.
  4. The summary table is very useful too. At this stage we are only showing the data but for the user it is impossible to tell how many points are above, within, and below the adaptive thermal comfort region. The summary table would provide all those info.

Why don't we include all the above, maybe leaving out point 1, in the Natural Ventilation tab?

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCenterForTheBuiltEnvironment%2Fclima%2Fissues%2F135%23issuecomment-1147232682&data=05%7C01%7C%7Ceb3fd75d49994895c41608da479c802f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637901034742234283%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7HRvcZRCSZqqiDN86fsk8QdreqUmXo4MNwcS5vBwXKQ%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIWZJAFYUTV32MDC7UBDVGLVNW6C5ANCNFSM5WHC5O2A&data=05%7C01%7C%7Ceb3fd75d49994895c41608da479c802f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637901034742234283%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=s%2Bx%2BBvMlsbsD9EgNJ7uy7Zzp3owKmk8DOlV%2B1Ok%2BoZY%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

FedericoTartarini commented 2 years ago

Yes, we could add one or two graphs to the natural ventilation tab. One may suffice since we can show the data and the percentages in the same figure. The current chart is very beautiful but in its current form it is not practical to extract information from it, it could be changed into the following

image

In which we depict the percentage of time the temperature is between the 80% and 90% adaptive comfort region. Alternatively, the percentages can be presented in a table below the chart.

One way would be to extend the functionalities of the current one where the upper boundary for natural ventilation is not set as a static value but (optionally?) tracks the adaptive comfort zone with (optionally?) a maximum indoor wind speed allowed.

This is what I had in mind. The user specifies a Max airspeed then the adaptive region can stretch up if the outdoor temperature is hot, but the bottom range does not change as in the CBE comfort tool. The table below would show the new percentage of time during which the outdoor temperature is within the comfort region.

giobetti commented 2 years ago

Hi Federico, lots of good comments here I'll try to think how this might look like once we put all together. In the meanwhile I was l looking at the temperature graph and noticed that the comfort zone disappears now? image

I think this is because of the change to the MRT statement. Is this the desired behavior?

giobetti commented 2 years ago

Hi Federico, So I guess we are thinking about a complete overhaul of the Nat vent tab. This is what I think makes sense, please let me know what you think. The natural ventilation tab will have 3 connected graphs, like the 3 below.

image

The first one is new. It is similar to the temperature graph but the difference is that the grey band at the back doesn’t show the comfort zone but our newly defined Natural Ventilation Potential Range (NVPR?). I would suggest that we implement different methods to define the NVPR. 1) The one we currently adopt: a fixed upper and lower boundary (i.e. between The NVPR can be defined in a couple of different way and s deg C). 2) One based on the (90%?) ashrae adaptive comfort In the second case the user would be able to calculate (independently for the upper and lower boundary) the comfort zone based on different air speeds and specify different fixed temperature offsets. For example, the top condition could be defined as the ashrae adaptive upper limit minus 2deg C (to account for internal gains that can’t be fully offset even at high ventilation rates). The lower might be based on the ashrae adaptive lower limit minus 10deg C (to account for internal gains with a lower ventilation rate). For the upper and lower bound we could also le the user specify different design air speeds. This would allow to further push up the upper boundary by specifying a higher indoor air speed for it, while still leaving the lower bound based on an air speed of maybe 0,1m/s. The user would also still have access to the current controls to specify times and check for condensation risk. I think this is an interesting model but it leaves open a few questions. 1) Interface: there are a lot of options now to set up the upper and lower boundary of the NVPR. UI design is going to be challenging! 2) Can we provide some guidance on the right temperature offset values and air speeds? Maybe there is a separate parametric thermal + natural ventilation study that can be set up to simulate typical office/ learning/ housing environments to figure out what realistic values for both temperature offsets and wind speeds are. That would be a very nice paper and might be a useful contribution for the design of naturally ventilated spaces based on the ashrae adaptive comfort model. What do you think? This is probably getting to complicated to be solved in a chat and we might have to arrange a call. I am not sure everything I’ve written makes sense! 😉

FedericoTartarini commented 2 years ago

I think this is because of the change to the MRT statement. Is this the desired behavior?

No technically I did not want that to happen, but this is how the graph should look like since before the results were incorrect. Let me know if you would like me to revert it back or keep as it is.

FedericoTartarini commented 2 years ago

I agree, the user should be able to:

UI design is going to be challenging!

Agree but I am sure we can find an elegant solution.

Can we provide some guidance on the right temperature offset values and air speeds? Maybe there is a separate parametric thermal + natural ventilation study that can be set up to simulate typical office/ learning/ housing environments to figure out what realistic values for both temperature offsets and wind speeds are. That would be a very nice paper and might be a useful contribution for the design of naturally ventilated spaces based on the ashrae adaptive comfort model. What do you think?

This is a good idea, we should also consider the relative humidity outside as we did in this paper that I have published before. At the end of the day we want to use natural ventilation only when the entropy of the outside air is lower than the one indoors.

This is probably getting to complicated to be solved in a chat and we might have to arrange a call. I am not sure everything I’ve written makes sense! 😉

I think your message makes full sense to me and I hope I did not miss any key points. Let me know if I did. But I am more than happy to have a call with you whenever you are free.

giobetti commented 2 years ago

I think we should always have a comfort zone displayed (even if technically it is outside of the standards)

On 8. Jun 2022, at 03:00, Federico Tartarini @.***> wrote:



I think this is because of the change to the MRT statement. Is this the desired behavior?

No technically I did not want that to happen, but this is how the graph should look like since before the results were incorrect. Let me know if you would like me to revert it back or keep as it is.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCenterForTheBuiltEnvironment%2Fclima%2Fissues%2F135%23issuecomment-1149329759&data=05%7C01%7C%7C28371b76d79f44ab4e4d08da48ea3ba1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637902468101576499%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DLOFsKyUWyujZeugLhjg45E2dCij0E2Uk2F1NC%2FCzuM%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIWZJABWSVYJB37P4P3OPNLVN7WBRANCNFSM5WHC5O2A&data=05%7C01%7C%7C28371b76d79f44ab4e4d08da48ea3ba1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637902468101576499%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KW49OpXLHkvE9DIbp%2Bt9YqjBlUb66%2BEmexSXD5i7EME%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

giobetti commented 1 year ago

Thanks Federico,

I think you are on top of this! I'll go through your paper and see if there is a way to integrate the two methods.

What is the best way to move this forward? are you going to implement the method discussed above in clima?


From: Federico Tartarini @.> Sent: 08 June 2022 3:11 AM To: CenterForTheBuiltEnvironment/clima @.> Cc: giobetti @.>; Mention @.> Subject: Re: [CenterForTheBuiltEnvironment/clima] Adaptive tab (Issue #135)

I agree, the user should be able to:

UI design is going to be challenging!

Agree but I am sure we can find an elegant solution.

Can we provide some guidance on the right temperature offset values and air speeds? Maybe there is a separate parametric thermal + natural ventilation study that can be set up to simulate typical office/ learning/ housing environments to figure out what realistic values for both temperature offsets and wind speeds are. That would be a very nice paper and might be a useful contribution for the design of naturally ventilated spaces based on the ashrae adaptive comfort model. What do you think?

This is a good idea, we should also consider the relative humidity outside as we did in this paperhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fscholar.google.com.au%2Fcitations%3Fview_op%3Dview_citation%26hl%3Den%26user%3DQcamSPwAAAAJ%26citation_for_view%3DQcamSPwAAAAJ%3ATyk-4Ss8FVUC&data=05%7C01%7C%7Cd2e66b505fd449596e0408da48ebe154%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637902475173901908%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oDRiQmcKUpPfjjRxrp1349nTt897cciHosA03zlEfxM%3D&reserved=0 that I have published before. At the end of the day we want to use natural ventilation only when the entropy of the outside air is lower than the one indoors.

This is probably getting to complicated to be solved in a chat and we might have to arrange a call. I am not sure everything I’ve written makes sense! 😉

I think your message makes full sense to me and I hope I did not miss any key points. Let me know if I did. But I am more than happy to have a call with you whenever you are free.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCenterForTheBuiltEnvironment%2Fclima%2Fissues%2F135%23issuecomment-1149335800&data=05%7C01%7C%7Cd2e66b505fd449596e0408da48ebe154%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637902475173901908%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WMEUjn9lOJiUMyX%2FoYuKieFyRxsexD0cYi99AHwBHZ4%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIWZJAHEM5X3VK2Y4MN4IBTVN7XNXANCNFSM5WHC5O2A&data=05%7C01%7C%7Cd2e66b505fd449596e0408da48ebe154%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637902475173901908%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tTlWCKxdAAJH08GoqfLE04Tlo4k6J7vzhpkiUS2oaBs%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

FedericoTartarini commented 1 year ago

I can look into implementing them but I just change job last week and moved to Australia so I am a bit overwhelmed with work at the moment and I will not have much time to dedicate to this at the moment. i hope this is not a problem.