How to calculate efficiency of a model in simulink

조회 수: 37 (최근 30일)
Poornima Chandra Lekha Posa
Poornima Chandra Lekha Posa 2021년 5월 9일
답변: Imran 2023년 1월 4일
i want to calculate nash sutcliffe efficiency, R square, RMSE and PBIAS values for my model in simulink.

답변 (1개)

Imran
Imran 2023년 1월 4일
Hello Poornima,
I understand that you want to calculate 'Nash–Sutcliffe' efficiency, 'R square', 'RMSE' and 'PBIAS' values for your model in Simulink.
1. Calculation of Nash–Sutcliffe efficiency:
'Nash-Sutcliffe' coefficient is an indicator of the model's ability to predict about the 1:1 line between observed and simulated data.
The formula to calculate the Nash–Sutcliffe efficiency of a model is as follows:
where,
  • 'NSE' is the Nash–Sutcliffe efficiency
  • '' is the observed data
  • '' is the simulated data
  • '' is the mean of the observed data.
2. Calculation of R square value:
'' is one measure of how well a model can predict the data and falls between 0 and 1. The higher the value of '', the better the model is at predicting the data. The formula for calculating the '' value is as follows:
where,
  • '' is the expected output value.
  • '' is the calculated value for the model.
  • '' is the mean of the y values.
3. Calculation of RMSE value:
To calculate the 'RMSE' (root mean square error) value, the following formula can be used.
RMSE = sqrt(mean((simulatedData - experimentalData).^2));
Here 'simulatedData' represents the simulated data and 'experimentalData' represents the experimental data, obtained from the model in Simulink.
4. Calculation of PBIAS value:
Percent bias (PBIAS) measures the average tendency of the simulated values to be larger or smaller than their observed ones.
The optimal value of 'PBIAS' is 0.0, with low-magnitude values indicating accurate model simulation. Positive values indicate overestimation bias, whereas negative values indicate model underestimation bias.
The following formula can be used to calculate the 'PBIAS' value for a model in Simulink.
where,
  • '' is the simulated data.
  • '' is the observed data.
I hope this helps.

카테고리

Help CenterFile Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by