File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2836,15 +2836,13 @@ FUNCTION void Get_Forecast()
28362836 (1.0) * (1.0 - join2); // scale right side
28372837 break ;
28382838 }
2839- //AEP AEP Add here (protection level)
2839+ }
2840+ // protection level; contributed by AEP
28402841 if (H4010_prot > 0)
28412842 {
2842- join1 = 1.0 / (1. + mfexp(20.0 * (SSB_current - H4010_prot * temp)));
2843- //cout << ABC_buffer(y) << endl;
2843+ join1 = 1.0 / (1. + mfexp(20.0 * (SSB_current - H4010_prot * HCR_anchor)));
28442844 ABC_buffer(y) = 0.0001*join1 + (1.0 - 0.0001)*(1.0 - join1)*ABC_buffer(y);
2845- //cout << SSB_current << " " << (SSB_current - H4010_prot * temp) << " " << SSB_current/temp << " " << join1 << " " << ABC_buffer(y) << endl;
28462845 }
2847- }
28482846 } // end calc of ABC buffer
28492847 else
28502848 { // ABC buffer remains at previously calculated value
You can’t perform that action at this time.
0 commit comments