Fuzzy logic is a control system technique in solving problems and is applied to systems, from basic systems to difficult or complex systems. Fuzzy logic is the proper method to plan an input space into an output space using MATLAB's mathematical theory of fuzzy sets. The reason for using fuzzy logic is because it is related to uncertainty. The unstable demand for blood bags in hospitals makes the supply of blood bags excessive or lacking from demand. The lack of blood supply results in the unfulfilled demand for blood needed by the hospital, while the excess blood supply worsens the quality of blood. In this study, we will predict the number of bags produced using the Mamdani Fuzzy Inference System (FIS) method based on the minimum demand and maximum demand values and the minimum supply and maximum supply that produce output from the defuzzification process. Applying the Mamdani Fuzzy Inference System (FIS) method based on demand and supply data obtains optimal output with MATLAB in predicting the number of blood bags produced. The results of the study showed that the Mean Absolute Percentage Error (MAPE) fuzzy logic Mamdani error value was 24%, the accuracy value of the Fuzzy Inference System (FIS) Mamdani in determining the number of blood bag production was 76%, and the production output generated through the Fuzzy Inference System (FIS) Mamdani was 4,774 blood bags. The number of blood requests at the hospital is 4,443 blood bags, so the amount of blood that must be produced to meet the hospital's demand is 4,774 bags.
Read full abstract