Closed akaph2p closed 10 months ago
Thank you for reporting this issue. You encountered a bug in the automated tuning that rarely occurs. Since we currently don't have any system where this happens, please post your dynamics file pke.m here or send it to us via email (see here) so that we can investigate and fix what's going on.
Hi, here's the pke.m file.
function dx = pke(x,u)
% Inputs:
% x - [n, C1, Trx]
% u - [rhoc, 0, 0]
%
% Outputs:
% dx - [n', C1', Trx']
% Parameters
alpha = 0.001;
T0 = 0;
BETA = 0.01;
l = 1;
lambda1 = 1;
beta1 = 0.0248;
Tc = 650;
P0 = 250;
mdotp = 5;
m = 1;
Cp = 1;
q0 = 0;
% Control
rhoc = u(1);
n = x(1);
C1 = x(2);
Trx = x(3);
% differential equations
dx(1,1) = n*(rhoc - alpha*Trx - alpha*T0 - BETA)/l + lambda1*C1 + q0;
dx(2,1) = beta1*n/l - lambda1*C1;
dx(3,1) = -2*mdotp*Trx/m + 2*mdotp*Tc/m + P0*n/(m*Cp);
Thank you for your patience! We have meanwhile found a solution to this issue. Give us a couple more days to work out the details, the fix will be integrated into the next update (either tomorrow or next Monday).
Fixed in CORA v2024.0.2.
I received an error stating 'Tuning error...report to devs' when i ran my code.
Error message: