Breps inside out

I am using Brep that I import and panelling it and offsetting panels and analysing it using LadyBug but some breps are inside out and offsetting panels are placed inside the prep and then with ladybug sun analyse its analysing the inside of the prep not the external Facade any thoughts?

thanks

Flip normal direction.
-A.

I used flip component in Grasshopper thanks