Reef Central Online Community

Go Back   Reef Central Online Community > Sponsor Forums > Neptune Systems
Blogs FAQ Calendar

Notices

User Tag List

Reply
Thread Tools
Unread 01/12/2013, 01:09 AM   #1
Geokiris
Registered Member
 
Join Date: Jan 2013
Posts: 17
Exclamation Advanced Apex AI sol programming problem solving

I have been using Apex controller for over 5 years now, with VDM for AI sol led's and much more. I have a problem where I am trying to get my VO_Set to ramp down profile prior to sunset, according to season table. But what is actually happening, is that when VO_Set turns on at 16:45, is when ramping of profile begins. Inherently VO_Set is working like it was sunrise, starting ramp cycle at beginning rather than prior to end, like sunset. I know if any one could figure this out it would be Ken Argo.

Here are my programs and profiles;
Profiles

RoyalUp
ramp time 60
start intensity 0
end intensity 80

BlueUp
60
0
50

WhiteUp
50
0
40

RoyalMid
0
80
80

BlueMid
0
50
50

WhiteMid
0
40
40

RoyalHi
10
90
90

BlueHi
10
60
60

White Hi
5
60
60

RoyalDwn
120
80
0

BlueDwn
110
50
0

WhiteDwn
100
40
0

Outlets

VO_Rise
Fallback OFF
Set OFF
If Sun 000/-480 Then ON
If Outlet VO_High = ON Then OFF
If Outlet VO_Midday = ON Then OFF
If Outlet VO_Set = ON Then OFF

VO_Midday
Fallback OFF
Set OFF
If Time 09:45 to 12:00 Then ON
If Time 14:01 to 16:46 Then ON

VO_High
Fallback OFF
Set OFF
If Time 12:00 to 14:00 Then ON

VO_Set
Fallback OFF
Set OFF
If Sun 480/000 Then ON
If Outlet VO_Rise = ON Then OFF
If Time 09:45 to 16:45 Then OFF

RoyalLED
Fallback OFF
Set OFF
If Outlet MoonLed = ON Then MoonLt
If Outlet VO_Rise = ON Then RoyalUp
If Outlet VO_Midday = ON Then RoyalMid
If Outlet VO_Set = ON Then RoyalDwn
If Outlet VO_High = ON Then RoyalHi
If Outlet Storm = ON Then Storm
If Outlet Clouds = ON Then Clouds

BlueLED
Fallback OFF
Set OFF
If Outlet VO_Rise = ON Then BlueUp
If Outlet VO_Midday = ON Then BlueMid
If Outlet VO_High = ON Then BlueHi
If Outlet VO_Set = ON Then BlueDwn
If Outlet Storm = ON Then Storm
If Outlet Clouds = ON Then Clouds

WhiteLED
Fallback OFF
Set OFF
If Outlet VO_Rise = ON Then WhiteUp
If Outlet VO_Midday = ON Then WhiteMid
If Outlet VO_High = ON Then WhiteHi
If Outlet VO_Set = ON Then WhiteDwn
If Outlet Storm = ON Then Storm
If Outlet Clouds = ON Then Clouds

Clouds
Set OFF
If Time 10:00 to 10:35 Then ON
If DoW SMTW-F- Then OFF

Storm
Set OFF
If Time 14:00 to 14:30 Then ON
If DoW -M-WTFS Then OFF

So basically during VO_Set, it takes 2 hours from start of outlet to ramp down RoyalDwn which ends up being the last led on for 10 min by its self, rather than all led's ramping toward sunset time. This means that my actual sunset off time is based on profile ramp and not actual seasonal chart time. Does someone know how to get around this?

PS. the reason some VO outlets have Sun syntax and other have If Time is to avoid conflict with led's turning off for 1 second when switching between profiles. This took me some time to tweak up as to have a seamless ramp and switch between profiles throughout the day.


Attached Images
File Type: jpg Graph.jpg (50.7 KB, 16 views)
Geokiris is offline   Reply With Quote
Unread 01/12/2013, 07:53 PM   #2
Cyclist
Moved On
 
Join Date: Jan 2013
Location: California
Posts: 172
Any luck on this?


Cyclist is offline   Reply With Quote
Unread 01/19/2013, 07:06 PM   #3
Geokiris
Registered Member
 
Join Date: Jan 2013
Posts: 17
Nope


Geokiris is offline   Reply With Quote
Unread 01/19/2013, 09:04 PM   #4
RussM
Registered Member
 
Join Date: Jan 2007
Location: El Cajon, CA
Posts: 7,818
VO_Set
Fallback OFF
Set OFF
If Sun 480/-120 Then ON
If Outlet VO_Rise = ON Then OFF
If Time 09:45 to 16:45 Then OFF

Change the If Sun statement as shown above, and delete the If Time statement.

You can eliminate all of your If Time "band-aids" if go back to using If Sun statements exclusively and you reverse the order of the If Outlet statements in the Sol outlets for sunrise, midday, and sunset.

Instead of:

If Outlet VO_Rise = ON Then BlueUp
If Outlet VO_Midday = ON Then BlueMid
If Outlet VO_High = ON Then BlueHi
If Outlet VO_Set = ON Then BlueDwn

Use this:

If Outlet VO_Rise = ON Then BlueUp
If Outlet VO_Midday = ON Then BlueMid
If Outlet VO_Set = ON Then BlueDwn

Repeat for White and RB


RussM is offline   Reply With Quote
Reply

Tags
ai sol, apex programming, ken argo, ramp, sunset


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -6. The time now is 05:09 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Powered by Searchlight © 2025 Axivo Inc.
Use of this web site is subject to the terms and conditions described in the user agreement.
Reef CentralTM Reef Central, LLC. Copyright ©1999-2022
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.