Dear colleagues I have used WSMCreateModel frequently and had not found any problem. Nevertheless, while trying to generate a model with 14 state variables, 14 inputs and 4 outputs the model will not be generated, is there a limit in dimensions in the WSMCreateModel??.
Could anyone give a clue about why is this not working in this case? Regards Jesus
Here, it is my model
WSMCreateDataModel["TestModel",
StateSpaceModel[{{{-5., 0., 0., 0., 0., 0., -188496., -2500., 0., 0.,
0., 0., -1591.55, 0}, {0., -5., 0., 0., 0., -125664., 0.,
0., -2500., 0., 0., -1061.03, 0, 1591.55}, {0., 0., -5.,
0., -62831.9, 0., 0., 0., 0., -2500., 0., 0., 2122.07, 0.}, {0.,
0., 0., -5., 0., 0., 0., 0., 0., 0., -2500., 3183.1, 0.,
1061.03}, {0., 0., 62831.9, 0., -5., 0., 0., 0., -1061.03, 0.,
1591.55, -2500., 0., 0.}, {0., 125664., 0., 0., 0., -5.,
0., -1591.55, 0, 2122.07, 0., 0., -2500., 0.}, {188496., 0., 0.,
0., 0., 0., -5., 0, 1591.55, 0., 530.516, 0.,
0., -2500.}, {2500., 0., 0., 0., 0., 1591.55, 0, -400., 0, 0, 0,
0, 0, -188496.}, {0., 2500., 0., 0., 1061.03, 0, -1591.55,
0, -400., 0, 0, 0, -125664., 0}, {0., 0., 2500., 0.,
0., -2122.07, 0., 0, 0, -400., 0, -62831.9, 0, 0}, {0., 0., 0.,
2500., -3183.1, 0., -1061.03, 0, 0, 0, -400., 0, 0, 0}, {0.,
1061.03, 0., -1591.55, 2500., 0., 0., 0, 0, 62831.9, 0, -400., 0,
0}, {1591.55, 0, -2122.07, 0., 0., 2500., 0., 0, 125664., 0, 0,
0, -400., 0}, {0, -1591.55, 0., -530.516, 0., 0., 2500., 188496.,
0, 0, 0, 0, 0, -400.}}, {{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0}, {0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0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\[ScriptX]4[t],
0}}, {{Subscript[u, 1][t], 0}, {Subscript[u, 2][t],
0}, {Subscript[u, 3][t], 0}, {Subscript[u, 4][t],
0}, {Subscript[u, 5][t], 0}, {Subscript[u, 6][t],
0}, {Subscript[u, 7][t], 0}, {Subscript[u, 8][t],
0}, {Subscript[u, 9][t], 0}, {Subscript[u, 10][t],
0}, {Subscript[u, 11][t], 0}, {Subscript[u, 12][t],
0}, {Subscript[u, 13][t], 0}, {Subscript[u, 14][t], 0}},
Automatic, t, SamplingPeriod ->None, SystemsModelLabels -> None]]