How to add four tinting state or add three shading set point for electrochromic glass?

Dear Chris,

Thank you again for your reply. I took a look at MLE+ and you are right. Unfortunately, I am very poor in coding, and it seems this is not a solution for me. The results I am trying to obtain is thermal comfort. I am using the solar radiation incident on the window and three set points to control the glass. I am looking for a solution which just like what grasshopper can do for Daysim I found this in another post. Is there a way to do the same thing (add four shading states) for Energyplus?