This is a composition from time ago. The piano is not used in classic flamenco, but in the past decades, it was incorporated in styles such as jazz-flamenco and other mixes. Also, some composers have recorded flamenco for piano solo.
I am from the land of Flamenco, and I like it. But I'm not an expert at all, there are many many different "palos" (styles) very difficult and with peculiar harmonies.
This suite has 11 short parts and I thought about making it because I realized that along the Mediterranean Sea, from Spain to the Caucasian countries, the traditional scales were similar. Most of them have second augmented intervals, for example.
So I used many scales-modes from this part or the world, and others I thought could fit:
Gypsy I and Gypsi II, Hungarian mayor and Hungarian minor, Jewish scale and Romanian scale, Harmonic-Ionian and Harmonic-Eolian scales, double harmonic scale, Lydian-Phrygian scale, X scale (invented), Harmonic-Lydian scale, Javanese scale, Neapolitan major and Enigmatic scales, Lydian-Harmonic scale, Lydian-Eolian and locrian, and Phrygian dominant.