BHoM / BHoM/LadybugTools_Toolkit

BR 209 post processing for CDBM approach

Open
#71 3 comments 0 reactions 6 assignees Claimed by @fpanju View on GitHub
good first issue severity:medium size:M type:feature
Dominant language
Python
Stars
3
Forks
2
Avg merge
8d 20h
Merged PRs (30d)
2

Description

#### Description:
Method to post process results from an annual daylight simulation to give result against BR 209 criteria.

Input should be the results folder from an LBT annual daylight simulation.

Variables to consider is the room type

![image](https://user-images.githubusercontent.com/26814591/194015955-d49ee39e-3788-4244-972a-1d356bec8d69.png)

![image](https://user-images.githubusercontent.com/26814591/194015310-4a6b909f-dfed-416a-bce1-77309a8e6397.png)

Here's an example of how I'm handling a single room atm

```python
ldk_results = []
for ill in ldk_ills:
print(ill)
df = load_ill_file(ill_file=ill)
df = df.T
median_per_timestep = df.median()
median_result = median_per_timestep>200
annual_result = median_result.sum()
annual_fraction = annual_result/4380
annual_pct = annual_fraction*100
ldk_results.append(annual_pct)
ldk_results
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.