VDM, Sun and Ramp Profiles

DBSAM

New member
My code is:
Virtual Outlet
MidDay
If Sun 360/-210 Then ON

Real Outlet
WhtLED_7_6
Fallback OFF
If Sun 180/150 Then AI-White
If Outlet MidDay = ON then AIMidayW
If Outlet Storming =ON Then AI-Storm
If Outlet Cloudy = ON Then AI-Cloud

Profile
AIMidayW
ramp
30 min
start 38
end 58

AI-White
ramp
60
0
38

My question is what actually happens when the WhtLED_7_6 outlet changes profiles from AIMidayW to AI-White? Under a normal Sun and ramp the time and intensity reverses at the end SUN, but in this case the profiles are changed.

Thanks
 
When profiles are 1st activated they are run beginning to end. So when it changes the Start Value will be set to the AI; then ramp time calculation will move the brightness to End Value over ramp time.
 
It is the end that I am unsure about.

Doesn't the Sun command reverse the ramp at the end time?

Therefore, at the -210 of the MidDay virtual outlet, the AIMidayW profile would start to ramp down, but the real outlet WhtLED_7_6 has switched back to AI-White profile. The AI-White is a ramp up from 0. I just wanted to know what takes precedence, the ramp down of the AIMidayW or the ramp of AI-White.
 
Last true statement wins; if on of the statements after the SUN are true then they win.
 
Back
Top