Fixing windows area in a facade instead of WWR during optimization

Hi everyone,

I am working in a case where I need to fix the area of windows in a facade during optimization instead of fixing WWR. Means, I want to allow the windows to change their sizes and distribution when the surface area of a facade increases, while keeping their initial quantity. Is there a way of doing this ?

Thanks in advance