## 3 Evaluation Model of FireFighting Resource Requirements
### Fire Resource Demand Forecast  
#### 3.2.1 FireFighting Agent Demand Model  
The firefighting materials required for port fire emergency rescue include fire extinguishing agents, cooling water and various firefighting equipment, and human resources including a certain number of rescuers. When predicting the demand for firefighting resources, the amount of fire extinguishing agents and firefighting water should not only meet the requirements of the current national norms, but also be comprehensively considered according to the basic situation of the site, on-site firefighting forces, and firefighting resources, combined with meteorological information [22]. Through the investigation of relevant firefighting cases, a prediction model is established for the demand for port fire foam extinguishing agents. There are many factors affecting the amount of foam extin \begin{table}
\begin{tabular}{c c c} \hline \hline
**Nature of Goods** & **Applicable Agent** & **Prohibited Agent** \\ \hline Combustible gasses & CO\({}_{2}\), dry powder, and haloalkanes & / \\ Flammable liquids & Foam & Water \\ Flammable solids & Water, foam, dry powder, and sand & / \\ Explosives & Water & Sandy soil \\ Burning items in contact with water & Dry powder and sand & Water, foam, and CO\({}_{2}\) \\ Poisonous substances & Use sand before water & / \\ Corrosive products & Use sand before water & / \\ \hline \hline \end{tabular}
\end{table} 
Table 2: The nature of goods and the selection of fire extinguishing agents in a port warehouse. guishing agent, and there is a complex correlation between the factors. In order to make the evaluation index system layered and clear, the analytic hierarchy process is used to establish the secondary index system of the influencing factors of port fire foam extinguishing agent demand [23]. The selection of first-level indicators should consider the most direct factors affecting the amount of foam. Then, taking each first-level index as the object, the most direct influencing factors of each first-level index are selected as the second-level index. The index system of the influencing factors of port fire foam extinguishing agent demand is shown in Figure 9.  
It can be seen from Figure 9 that the main factors affecting the amount of foam extinguishing agent include fire scale, combustion material characteristics, foam extinguishing agent performance, fire extinguishing object characteristics, external factors, and use methods. The above six factors are listed as the first-level indicators, and the main influencing factors of the first-level indicators are analyzed one by one to obtain the second-level indicators. For example, the second-level indicators of combustion material characteristics include the type and content of combustibles, combustion rate, and temperature, and the second-level indicators of foam extinguishing agent performance include polymerization degree and foam density, water contact angle and durability, penetration depth, and coverage. The ratio of actual foam extinguishing agent dosage to theoretical dosage is defined as the ratio of actual foam dosage. On the basis of constructing the index system of influencing factors, it is necessary to calculate the influence weight of each index on the amount of foam. In order to solve the problem that the definition of each index is vague and difficult to quantify, expert consultation is often used to judge the importance of each index, and the weight of each index is obtained according to the calculation steps of the analytic hierarchy process [24]. The analytic hierarchy process to calculate the weight steps is shown in Figure 10.  
According to the actual situation of port firefighting, various influencing factors of the actual foam consumption ratio are analyzed and graded. The influence evaluation set V is set to \(V=(V_{1}\) (high influence), \(V_{2}\) (moderate influence), \(V_{3}\) (general influence)).