- Index
- » Users
- » burin
- » Profile
Posts
Posts
Hi everybody,
I have developed a model to reproduce the transient operation of a steam generator as a function of steam mass flow output. The model is running ok since I have tested it for some steps of steam mass flow (using Modelica.Blocks.Sources.Step) and it was possible to reproduce the transient response of some important variables (temperature, pressure, level, etc).
Now I'm trying to define the steam mass flow (input data) by using the Modelica.Blocks.Sources.TimeTable function. Nevertheless, once I try to do that, I get the error below:
[1] 18:42:19 Translation Error
Internal error BackendDAE.adjacencyRowEnhanced failed for eqn:
algorithm
SteamMassFlow.timeScaled := time;
$whenCondition5 := time >= pre(SteamMassFlow.nextEvent);
when {$whenCondition5, initial()} then
(SteamMassFlow.a, SteamMassFlow.b, SteamMassFlow.nextEventScaled, SteamMassFlow.last) := Modelica.Blocks.Sources.TimeTable$SteamMassFlow.getInterpolationCoefficients({{SteamMassFlow.table[1,1], SteamMassFlow.table[1,2]}, {SteamMassFlow.table[2,1], SteamMassFlow.table[2,2]}, {SteamMassFlow.table[3,1], SteamMassFlow.table[3,2]}, {SteamMassFlow.table[4,1], SteamMassFlow.table[4,2]}, {SteamMassFlow.table[5,1], SteamMassFlow.table[5,2]}, {SteamMassFlow.table[6,1], SteamMassFlow.table[6,2]}, {SteamMassFlow.table[7,1], SteamMassFlow.table[7,2]}, {SteamMassFlow.table[8,1], SteamMassFlow.table[8,2]}, {SteamMassFlow.table[9,1], SteamMassFlow.table[9,2]}, {SteamMassFlow.table[10,1], SteamMassFlow.table[10,2]}, {SteamMassFlow.table[11,1], SteamMassFlow.table[11,2]}, {SteamMassFlow.table[12,1], SteamMassFlow.table[12,2]}, {SteamMassFlow.table[13,1], SteamMassFlow.table[13,2]}, {SteamMassFlow.table[14,1], SteamMassFlow.table[14,2]}, {SteamMassFlow.table[15,1], SteamMassFlow.table[15,2]}, {SteamMassFlow.table[16,1], SteamMassFlow.table[16,2]}, {SteamMassFlow.table[17,1], SteamMassFlow.table[17,2]}, {SteamMassFlow.table[18,1], SteamMassFlow.table[18,2]}, {SteamMassFlow.table[19,1], SteamMassFlow.table[19,2]}, {SteamMassFlow.table[20,1], SteamMassFlow.table[20,2]}, {SteamMassFlow.table[21,1], SteamMassFlow.table[21,2]}, {SteamMassFlow.table[22,1], SteamMassFlow.table[22,2]}, {SteamMassFlow.table[23,1], SteamMassFlow.table[23,2]}, {SteamMassFlow.table[24,1], SteamMassFlow.table[24,2]}, {SteamMassFlow.table[25,1], SteamMassFlow.table[25,2]}, {SteamMassFlow.table[26,1], SteamMassFlow.table[26,2]}, {SteamMassFlow.table[27,1], SteamMassFlow.table[27,2]}, {SteamMassFlow.table[28,1], SteamMassFlow.table[28,2]}, {SteamMassFlow.table[29,1], SteamMassFlow.table[29,2]}, {SteamMassFlow.table[30,1], SteamMassFlow.table[30,2]}, {SteamMassFlow.table[31,1], SteamMassFlow.table[31,2]}, {SteamMassFlow.table[32,1], SteamMassFlow.table[32,2]}, {SteamMassFlow.table[33,1], SteamMassFlow.table[33,2]}, {SteamMassFlow.table[34,1], SteamMassFlow.table[34,2]}, {SteamMassFlow.table[35,1], SteamMassFlow.table[35,2]}, {SteamMassFlow.table[36,1], SteamMassFlow.table[36,2]}, {SteamMassFlow.table[37,1], SteamMassFlow.table[37,2]}, {SteamMassFlow.table[38,1], SteamMassFlow.table[38,2]}, {SteamMassFlow.table[39,1], SteamMassFlow.table[39,2]}, {SteamMassFlow.table[40,1], SteamMassFlow.table[40,2]}, {SteamMassFlow.table[41,1], SteamMassFlow.table[41,2]}, {SteamMassFlow.table[42,1], SteamMassFlow.table[42,2]}, {SteamMassFlow.table[43,1], SteamMassFlow.table[43,2]}, {SteamMassFlow.table[44,1], SteamMassFlow.table[44,2]}, {SteamMassFlow.table[45,1], SteamMassFlow.table[45,2]}, {SteamMassFlow.table[46,1], SteamMassFlow.table[46,2]}, {SteamMassFlow.table[47,1], SteamMassFlow.table[47,2]}, {SteamMassFlow.table[48,1], SteamMassFlow.table[48,2]}, {SteamMassFlow.table[49,1], SteamMassFlow.table[49,2]}, {SteamMassFlow.table[50,1], SteamMassFlow.table[50,2]}, {SteamMassFlow.table[51,1], SteamMassFlow.table[51,2]}, {SteamMassFlow.table[52,1], SteamMassFlow.table[52,2]}, {SteamMassFlow.table[53,1], SteamMassFlow.table[53,2]}, {SteamMassFlow.table[54,1], SteamMassFlow.table[54,2]}, {SteamMassFlow.table[55,1], SteamMassFlow.table[55,2]}, {SteamMassFlow.table[56,1], SteamMassFlow.table[56,2]}, {SteamMassFlow.table[57,1], SteamMassFlow.table[57,2]}, {SteamMassFlow.table[58,1], SteamMassFlow.table[58,2]}, {SteamMassFlow.table[59,1], SteamMassFlow.table[59,2]}, {SteamMassFlow.table[60,1], SteamMassFlow.table[60,2]}, {SteamMassFlow.table[61,1], SteamMassFlow.table[61,2]}, {SteamMassFlow.table[62,1], SteamMassFlow.table[62,2]}, {SteamMassFlow.table[63,1], SteamMassFlow.table[63,2]}, {SteamMassFlow.table[64,1], SteamMassFlow.table[64,2]}, {SteamMassFlow.table[65,1], SteamMassFlow.table[65,2]}, {SteamMassFlow.table[66,1], SteamMassFlow.table[66,2]}, {SteamMassFlow.table[67,1], SteamMassFlow.table[67,2]}, {SteamMassFlow.table[68,1], SteamMassFlow.table[68,2]}, {SteamMassFlow.table[69,1], SteamMassFlow.table[69,2]}, {SteamMassFlow.table[70,1], SteamMassFlow.table[70,2]}, {SteamMassFlow.table[71,1], SteamMassFlow.table[71,2]}, {SteamMassFlow.table[72,1], SteamMassFlow.table[72,2]}, {SteamMassFlow.table[73,1], SteamMassFlow.table[73,2]}, {SteamMassFlow.table[74,1], SteamMassFlow.table[74,2]}, {SteamMassFlow.table[75,1], SteamMassFlow.table[75,2]}, {SteamMassFlow.table[76,1], SteamMassFlow.table[76,2]}, {SteamMassFlow.table[77,1], SteamMassFlow.table[77,2]}, {SteamMassFlow.table[78,1], SteamMassFlow.table[78,2]}, {SteamMassFlow.table[79,1], SteamMassFlow.table[79,2]}, {SteamMassFlow.table[80,1], SteamMassFlow.table[80,2]}, {SteamMassFlow.table[81,1], SteamMassFlow.table[81,2]}, {SteamMassFlow.table[82,1], SteamMassFlow.table[82,2]}, {SteamMassFlow.table[83,1], SteamMassFlow.table[83,2]}, {SteamMassFlow.table[84,1], SteamMassFlow.table[84,2]}, {SteamMassFlow.table[85,1], SteamMassFlow.table[85,2]}, {SteamMassFlow.table[86,1], SteamMassFlow.table[86,2]}, {SteamMassFlow.table[87,1], SteamMassFlow.table[87,2]}, {SteamMassFlow.table[88,1], SteamMassFlow.table[88,2]}, {SteamMassFlow.table[89,1], SteamMassFlow.table[89,2]}, {SteamMassFlow.table[90,1], SteamMassFlow.table[90,2]}, {SteamMassFlow.table[91,1], SteamMassFlow.table[91,2]}, {SteamMassFlow.table[92,1], SteamMassFlow.table[92,2]}, {SteamMassFlow.table[93,1], SteamMassFlow.table[93,2]}, {SteamMassFlow.table[94,1], SteamMassFlow.table[94,2]}, {SteamMassFlow.table[95,1], SteamMassFlow.table[95,2]}, {SteamMassFlow.table[96,1], SteamMassFlow.table[96,2]}, {SteamMassFlow.table[97,1], SteamMassFlow.table[97,2]}, {SteamMassFlow.table[98,1], SteamMassFlow.table[98,2]}, {SteamMassFlow.table[99,1], SteamMassFlow.table[99,2]}, {SteamMassFlow.table[100,1], SteamMassFlow.table[100,2]}, {SteamMassFlow.table[101,1], SteamMassFlow.table[101,2]}, {SteamMassFlow.table[102,1], SteamMassFlow.table[102,2]}, {SteamMassFlow.table[103,1], SteamMassFlow.table[103,2]}, {SteamMassFlow.table[104,1], SteamMassFlow.table[104,2]}, {SteamMassFlow.table[105,1], SteamMassFlow.table[105,2]}, {SteamMassFlow.table[106,1], SteamMassFlow.table[106,2]}, {SteamMassFlow.table[107,1], SteamMassFlow.table[107,2]}, {SteamMassFlow.table[108,1], SteamMassFlow.table[108,2]}, {SteamMassFlow.table[109,1], SteamMassFlow.table[109,2]}, {SteamMassFlow.table[110,1], SteamMassFlow.table[110,2]}, {SteamMassFlow.table[111,1], SteamMassFlow.table[111,2]}, {SteamMassFlow.table[112,1], SteamMassFlow.table[112,2]}, {SteamMassFlow.table[113,1], SteamMassFlow.table[113,2]}, {SteamMassFlow.table[114,1], SteamMassFlow.table[114,2]}, {SteamMassFlow.table[115,1], SteamMassFlow.table[115,2]}, {SteamMassFlow.table[116,1], SteamMassFlow.table[116,2]}, {SteamMassFlow.table[117,1], SteamMassFlow.table[117,2]}}, SteamMassFlow.offset, SteamMassFlow.startTime, SteamMassFlow.timeScaled, SteamMassFlow.last, 1e-013);
SteamMassFlow.nextEvent := SteamMassFlow.nextEventScaled;
end when;
[2] 18:42:19 Translation Error
Internal error BackendDAEUtil.getAdjacencyMatrixEnhancedScalar failed
[3] 18:42:19 Translation Error
Internal error - IndexReduction.dynamicStateSelectionWork failed!
I have already used TimeTable before in other applications and it was ok. Now, in this application, I can't run the model properly.
Can anyone please help me?
Best regards,
Eduardo Burin.
- Index
- » Users
- » burin
- » Profile