## 3 Results and Discussion  
The acquired sets of points, presented in the form of 3D charts, allow to analyze all combinations of explanatory variables taken into account during the analysis and the corresponding values of the \(SEM_{f}\) index. This is very valuable considering the increasing level of macroenvironmental uncertainty that has emerged in the 21 st century. It was caused, among others, by globalization and, in recent years, by the pandemic and the war in Ukraine. Under such conditions, scenario planning works well as a method for planning future states of the environment and analyzing phenomena. Scenarios contain information about possible alternative images of the development of the phenomenon in the future. The results of the analysis obtained through the use of fuzzy sets can be used to create scenarios for Poland's energy security. Thanks to this, the state will be able to prepare for various variants of the future development of the macroenvironment and respond in advance to possible threats that may arise there. \begin{table}
\begin{tabular}{c c c c c c c c} \hline \hline \multirow{2}{*}{**No.**} & \multicolumn{2}{c}{**Primary Energy Demand**} & \multicolumn{2}{c}{**Demand for REE**} & & & & \\  & **(ZEP)** & **(ZREE)** & **1** & **2** & **3** & **4** & **5** \\ \hline
1 & M & M & W & W & W & W & W \\
2 & M & M & W & W & W & W & W \\
3 & M & D & W & S & S & W & S \\
4 & S & M & W & S & S & S & S \\
5 & S & D & S & S & S & S & S \\
6 & D & M & S & N & S & S & N \\
7 & D & D & S & N & S & N & N \\
8 & S & S & S & S & S & S \\
9 & D & S & N & N & N & N & N \\ \hline \hline \end{tabular}
\end{table} 
Table 1: Survey results in an optimistic scenario. \begin{table}
\begin{tabular}{c c c c c c c c} \hline \hline \multirow{2}{*}{**No.**} & \multicolumn{2}{c}{**Primary Energy Demand**} & \multicolumn{2}{c}{**Demand for REE**} & & & & \\  & **(ZEP)** & **(ZREE)** & **1** & **2** & **3** & **4** & **5** \\ \hline
1 & M & M & W & W & W & S & W \\
2 & M & S & W & S & W & W & S \\
3 & M & D & S & S & S & W & S \\
4 & S & M & S & S & S & S & S \\
5 & S & D & S & S & S & S & N \\
6 & D & M & S & N & N & S & S \\
7 & D & D & N & N & N & N & N \\
8 & S & S & S & S & S & S \\
9 & D & S & N & N & N & N & N \\ \hline \hline \end{tabular}
\end{table} 
Table 2: Survey results in a neutral scenario. \begin{table}
\begin{tabular}{c c c c c c c c} \hline \hline \multirow{2}{*}{**No.**} & \multicolumn{2}{c}{**Primary Energy Demand**} & \multicolumn{2}{c}{**Demand for REE**} & & & & \\  & **(ZEP)** & **(ZREE)** & **1** & **2** & **3** & **4** & **5** \\ \hline
1 & M & M & W & W & W & S & W \\
2 & M & S & W & S & W & W & S \\
3 & M & D & S & S & S & S & S \\
4 & S & M & S & S & S & S & S \\
5 & S & D & S & S & S & S & S \\
6 & D & M & N & N & N & N & N \\
7 & D & D & N & N & N & N & N \\
8 & S & S & S & S & S & S \\
9 & D & S & N & N & N & N & N \\ \hline \hline \end{tabular}
\end{table} 
Table 3: Results of the survey in a pessimistic scenario. Using the fuzzy sets method, the authors created three alternative scenarios for the development of Poland's energy security index: pessimistic, optimistic, and the most probable. A very important factor in this case is the state's policy, e.g., towards renewable energy sources, and in particular wind energy. The 2016 Wind Act effectively limited wind energy investments. In 2023, the regulations contained therein regarding the distance from buildings were changed. However, changes and constant legislative instability can have a negative impact on the continuity of investments and investor interest. Therefore, the impact of legal regulations on Poland's energy security was treated as the main explanatory variable. Additionally, the level of primary energy and the amount of demand for REEs were used as explanatory variables. A fuzzy model determining the impact of \(ZEP\) and \(ZREE\) on Poland's energy security index, taking into account the qualitative factor in the form of legal regulations, was developed in the Matlab R2024b environment.