Open
Description
I am unsure if it is something with my code or the API; but I during my project setup run
// Unit Conversion(s)
long runTimeSecs = runTime * 60 * 60;
long runStepSecs = runStep * 60 * 60;
// Setup time parameters
EN_settimeparam(pp, EN_DURATION, runTimeSecs);
EN_settimeparam(pp, EN_PATTERNSTEP, runStepSecs); // 3
EN_settimeparam(pp, EN_QUALSTEP, runStepSecs/2); // 1
EN_settimeparam(pp, EN_HYDSTEP, runStepSecs); // 2
EN_settimeparam(pp, EN_REPORTSTEP, runStepSecs * repRatio);
The runTime and runStep are both taken as inputs when calling in main. What I've noticed, though, is that no matter how I do it (e.g. with either the ENUM call or its compared value, the INPUT file will not receive anything except 1:00:00. Other calls (EN_DURATION, REPORTSTEP and PATTERNSTEP) All work as intended. I've also tried subtracting 30mins, since it indicates in documentation that PATTERNSTEP should be largest (or equal to largest) value of times; but none seems to have worked.
The larger code/project is on my repo for reference.
Any thoughts on this?