Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » Manrique Delgado
  • » Profile

Posts

Posts

Thanks Iochel.
I have seen the same message in a different model I am also working on, and I haven't been able to find out what's wrong. Do you know what it means?

Hi,

I am trying to run a simple model to solve a system of equations, but the application crashes (even with a message from Windows that the .exe has stopped working).  In OMEdit I get the following message:
stdout | OMEditInfo | <p>C:/Problem_4_Fanger.exe -port=64535 -logFormat=xml -override=startTime=0,stopTime=10,stepSize=0.02,tolerance=1e-6,solver=dassl,outputFormat=mat,variableFilter=.* -r=Problem_4_Fanger_res.mat -dasslJacobian=coloredNumerical -w -lv=LOG_STATS</p>
stdout | error | <p>Process crashed<br>
Simulation process failed. Exited with code -1073741819.</p>

Does somebody recognize what's wrong?
The code is:

model Problem_4_Fanger
  Real PMV(start = 1);
  Real t_cl(start = 20);
  Real hc(start = 2);
  parameter Real Madu = 90;
  parameter Real eff = 0;
  parameter Real pa = 9.37;
  parameter Real t_a = 21;
  parameter Real t_mrt = 21;
  parameter Real fcl = 1.15;
  parameter Real I_cl = 1.0;
equation
  PMV = (0.352 * exp((-0.042) * Madu) + 0.032) * (Madu * (1 - eff) - 0.35 * (43 - 0.061 * Madu * (1 - eff) - pa) - 0.42 * (Madu * (1 - eff) - 50) - 0.0023 * Madu * (44 - pa) - 0.0014 * Madu * (34 - t_a) - 3.4 * 10 ^ (-8) * fcl * ((t_cl + 273) ^ 4 - (t_mrt + 273) ^ 4) - fcl * hc * (t_cl - t_a));
  t_cl = 35.7 - 0.032 * Madu * (1 - eff) - 0.18 * I_cl * (3.4 * 10 ^ (-8) * fcl * ((t_cl + 273) ^ 4 - (t_mrt + 273) ^ 4) + fcl * hc * (t_cl - t_a));
  hc = 2.05 * (t_cl - t_a) ^ 0.25;
end Problem_4_Fanger;

  • Index
  • » Users
  • » Manrique Delgado
  • » Profile
You are here: