Research Article

Optimizing Greenhouse Lighting for Advanced Agriculture Based on Real Time Electricity Market Price

Pseudocode 1

Pseudo code for iterative search.
START
  For Time = 1 to 24 step
       For to 151.3 step
        Calculate
        Compare New with Old
        If (New > Old )
         Keep New
        Else
         Keep Old
       Next
         
  Next Time
END