Skip to content

Commit

Permalink
Add flowdiagram
Browse files Browse the repository at this point in the history
Detailed state decision diagram
  • Loading branch information
basbruss committed Apr 3, 2024
1 parent 274386e commit 04ca1a0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,31 @@ The objective is to reduce glare while providing daylight to the room. All calcu
If you added a weather entity than it will only use the above calculations if the weather state corresponds with the existence of direct sun rays. These states are `sunny`,`windy` and `partlycloudy`. If not equal to these states the position will default to the default value to allow more sunlight entering the room with minimizing the glare due to the weather condition. <br><br>
Tilted blinds will only defect from the above approach if the inside temperature is above the maximum comfort temperature. Than the slats will be positioned at 45 degrees as this is [founded optimal](https://www.mdpi.com/1996-1073/13/7/1731).

```mermaid
flowchart TD
A[Sundata] --> B{Normal}
A --> C{Climate}
B --> |Sun not infront| D{Default}
B --> |Sun infront| E(Calculated Position)
D --> H(Default Position)
D --> |Between sunset and sunrise|I(Sunset Default Position)
C --> F[No Presence]
C --> G[Presence]
G --> B
F --> M(Check weather)
M --> N(Conditions False)
M --> O(Conditions True)
O --> |Below minimal comfort temperature|K(Fully Open)
O --> |Above maximal comfort temperature|L(Fully Closed)
O --> |Inbetween comfort temperature thresholds |D
N --> D
```

### Simulation
![combined_simulation](custom_components/adaptive_cover/simulation/sim_plot.png)

Expand Down

0 comments on commit 04ca1a0

Please sign in to comment.