How to program software for Automatic Windows
Windows are open and close type, but the requirement is for the Windows to modulate.
The windows can be modulated but only in fixed stages.
The window travel time needs to be known from fully closed to fully open and vice-versa. Open and close should be equal time.
The example below is for automatic windows in a classroom where the teacher could override the windows open or closed, along with the other interlocks e.g. wind direction and rain.