function [j] = jResCalibration(input)
% function [j] = jResCalibration(input)

id = {
'B01.01'
'B01.02'
'B01.03'
'B02.01'
'B02.02'
'B03.01'
'B03.02'
'B04.01'
'B04.02'
'B05.01'
'B05.02'
'B10.01'
'B10.02'
'B10.03'
'B10.04'
'B11.01'
'B11.02'
'B13.01'
'B13.02'
'B13.03'
}; 
saveParameters(id, input);

% model simulation
j = RTCToolsMatlab(input);
j = j + sum((input-45).^2)
