Tunze Fusion Programing

Users Who Are Viewing This Thread (Total: 1, Members: 0, Guests: 1)

esquare

Well-Known Member
View Badges
Joined
Apr 10, 2017
Messages
515
Reaction score
526
Location
Northwest Indiana
Rating - 0%
0   0   0
Is there an easier/better way to accomplish this program for random flow and nutrient export?

Fallback ON
Set Tunze_Min
If Time 22:00 to 06:00 Then Tunze_Min
If Time 06:00 to 06:55 Then Tunze_Med
If Time 06:55 to 07:00 Then Tunze_High
If Time 07:00 to 07:55 Then Tunze_Min
If Time 07:55 to 08:00 Then Tunze_High
If Time 08:00 to 08:55 Then Tunze_Med
If Time 08:55 to 09:00 Then Tunze_High
If Time 09:00 to 09:55 Then Tunze_Min
If Time 09:55 to 10:00 Then Tunze_High
If Time 10:00 to 10:55 Then Tunze_Med
If Time 10:55 to 11:00 Then Tunze_High
If Time 11:00 to 11:55 Then Tunze_Min
If Time 11:55 to 12:00 Then Tunze_High
If Time 12:00 to 12:55 Then Tunze_Med
If Time 12:55 to 13:00 Then Tunze_High
if Time 13:00 to 13:55 Then Tunze_Min
if Time 13:55 to 14:00 Then Tunze_High
If Time 14:00 to 14:55 Then Tunze_Med
If Time 14:55 to 15:00 Then Tunze_High
If Time 15:00 to 15:55 Then Tunze_Min
If Time 15:55 to 16:00 Then Tunze_High
If Time 16:00 to 16:55 Then Tunze_Med
If Time 16:55 to 17:00 Then Tunze_High
If Time 17:00 to 17:55 Then Tunze_Min
If Time 17:55 to 18:00 Then Tunze_High
If Time 18:00 to 18:55 Then Tunze_Med
If Time 18:55 to 19:00 Then Tunze_High
If Time 19:00 to 19:55 Then Tunze_Min
If Time 19:55 to 20:00 Then Tunze_High
If Time 20:00 to 20:55 Then Tunze_Med
If Time 20:55 to 21:00 Then Tunze_High
If Time 21:00 to 21:55 Then Tunze_Min
If Time 21:55 to 22:00 Then Tunze_High
 

Clownfishy

Well-Known Member
View Badges
Joined
Aug 17, 2017
Messages
731
Reaction score
348
Location
UK
Rating - 0%
0   0   0
Please post back here if you do find a better way as I would also be interested in the answer :)
 

don_chuwish

Smells something fishy
View Badges
Joined
Mar 21, 2012
Messages
3,013
Reaction score
3,386
Location
A better place
Rating - 0%
0   0   0
Are those ramp profiles? Mine look like:

[Var4_1_6055R]
Set 6055_35
If Time 00:00 to 03:00 Then 6055_Up1
If Time 03:00 to 06:00 Then 6055_Up2
If Time 06:00 to 09:00 Then 6055_Dn1
If Time 09:00 to 12:00 Then 6055_Dn2
If Time 12:00 to 15:00 Then 6055_Dn1
If Time 15:00 to 18:00 Then 6055_Up2
If Time 18:00 to 21:00 Then 6055_Dn1
If Time 21:00 to 00:00 Then 6055_Dn2
If FeedA 000 Then 6055_35
If FeedB 045 Then OFF

[Var4_2_6055L]
Set 6055_35
If Time 00:00 to 03:00 Then 6055_Dn1
If Time 03:00 to 06:00 Then 6055_Dn2
If Time 06:00 to 09:00 Then 6055_Up1
If Time 09:00 to 12:00 Then 6055_Up2
If Time 12:00 to 15:00 Then 6055_Dn1
If Time 15:00 to 18:00 Then 6055_Dn2
If Time 18:00 to 21:00 Then 6055_Up1
If Time 21:00 to 00:00 Then 6055_Up2
If FeedA 000 Then 6055_35
If FeedB 045 Then OFF
If Power Apex Off 000 Then 6055_35

I had to split the up and down ramps into two parts. Can't remember the upper limit but it was less than the 6 hour span I wanted.
 
OP
OP
esquare

esquare

Well-Known Member
View Badges
Joined
Apr 10, 2017
Messages
515
Reaction score
526
Location
Northwest Indiana
Rating - 0%
0   0   0
Are those ramp profiles? Mine look like:

[Var4_1_6055R]
Set 6055_35
If Time 00:00 to 03:00 Then 6055_Up1
If Time 03:00 to 06:00 Then 6055_Up2
If Time 06:00 to 09:00 Then 6055_Dn1
If Time 09:00 to 12:00 Then 6055_Dn2
If Time 12:00 to 15:00 Then 6055_Dn1
If Time 15:00 to 18:00 Then 6055_Up2
If Time 18:00 to 21:00 Then 6055_Dn1
If Time 21:00 to 00:00 Then 6055_Dn2
If FeedA 000 Then 6055_35
If FeedB 045 Then OFF

[Var4_2_6055L]
Set 6055_35
If Time 00:00 to 03:00 Then 6055_Dn1
If Time 03:00 to 06:00 Then 6055_Dn2
If Time 06:00 to 09:00 Then 6055_Up1
If Time 09:00 to 12:00 Then 6055_Up2
If Time 12:00 to 15:00 Then 6055_Dn1
If Time 15:00 to 18:00 Then 6055_Dn2
If Time 18:00 to 21:00 Then 6055_Up1
If Time 21:00 to 00:00 Then 6055_Up2
If FeedA 000 Then 6055_35
If FeedB 045 Then OFF
If Power Apex Off 000 Then 6055_35

I had to split the up and down ramps into two parts. Can't remember the upper limit but it was less than the 6 hour span I wanted.

Yes, they are ramp profiles, IIR Tunze Min is 32%, Tunze Med is 60% and Tunze Hi is 100%
 

don_chuwish

Smells something fishy
View Badges
Joined
Mar 21, 2012
Messages
3,013
Reaction score
3,386
Location
A better place
Rating - 0%
0   0   0
My ramps look like:
6055_Up1 = 30% - 60%, 180min
6055_Up2 = 60% - 85%, 180min

The 'Dn1' and 'Dn2' are the same in reverse.
 
OP
OP
esquare

esquare

Well-Known Member
View Badges
Joined
Apr 10, 2017
Messages
515
Reaction score
526
Location
Northwest Indiana
Rating - 0%
0   0   0
The Tunze_Hi, etc utilize the ramp profile but don't ramp. They use the same percentage for beginning and end I'm just using the ramp profile to dial the speed to what i consider Minimum, Medium and High. I am then using the above code to generate random flow through out the day with 5 minutes of high flow (nutrient export) every hour. I was just wondering if there is an easier way to get the random flow without the long code.
 

RussM

Active Member
View Badges
Joined
Jun 4, 2011
Messages
275
Reaction score
195
Location
El Cajon, CA
Rating - 0%
0   0   0
OP
OP
esquare

esquare

Well-Known Member
View Badges
Joined
Apr 10, 2017
Messages
515
Reaction score
526
Location
Northwest Indiana
Rating - 0%
0   0   0
Thanks Russ, that does away with the profiles but i still need all those lines of code to get the different flow rates through out the day. Which is ok, i was just wondering if there were an easier way. At least now i won't need the profiles.
 
Back
Top