Hello Stephen,
Yes !! all is working at 25Hz - FRAC 2 with these setting’s :
-
//###### Adjustable settings #######
-
int upperRANGE = 100; // the range in which it will not search for better output
-
int lowerRANGE = -100;
-
int PWM =1 ; //1=enables PWM.h smother output 0=disable
-
int FRAC =2 ; // fraction of grid Hertz ie 50hz-> 2=1/2 (25hz pwm) 4 =1/4 (12.5 hz pwm)
-
const int CT1 = 1; // divert sensor - Set to 0 to disable if using optional diaplay ( wind)
-
const int CT2 = 1; // Inverter sensor - Set to 0 to disable
-
const int CT3 = 1; //grid sensor
-
const int CT4 = 0; // windgen sensor - Set to 0 to disable disable if using diverter display
-
int LCD = 1; // 1=enable 0=disable
-
float element = 3000; //wattage of element for diversion - make bigger then then what you have to decrease buuble search sensitivity
-
int SSR4 =4; // 1= 4 ssr and disables static, 0= 3 SSR & 1 static ( disable PWM.h)
-
int ios = 1; /// Number of SSR to control 4 MAX if PWM.h diasble otherwise 3
-
int pulse = 11; // pin for pulse disable if you cascade on 4 ssr pin 11 does not work if PWM.h enabled
-
int pulse1 = 9; // pin to use to divert on 1 SSR
-
int pulse2 = 10;
-
int pulse3 = 3;
-
int pulse4 = 11; //enable pulse 4 if you wish 4 cassacding ssr
-
float DRIFT =1 ; // if you wish to adust hz output
-
int invstatus = 5; // pin for led display showing overproduction
-
int type = 0; // 0= casdading - 1 = equal for diverting
-
int ssr=0; // 0= zerocrossing 1 = phase angle currently only supports one ssr
-
int AVG=5;
I reach to regulate the power correctly.
As this energy go to the water tank and the need of the family is about 5kWh; do you think possible to add an energy counter, to know how many energy it is necessarry to addition during the night.
ex:
Familly necessary power = 5kWh
Diverted power today = 2.0kWh
Necessary power to be injected during night = 3kWh
Water tank power = 3000W
So supply at full load the resistance during 1h
And once a week supply the résistance during 3h to be sure to have no legionelose
I would like to do it but I have clearely not the level…
I know It is possible to use emonlib to get the energy counter
Thank you Stephen
And say me if I ask to much