Replies: 4 comments 2 replies
-
|
As soon as I do the other approach using the following code. The warning is the same, but the Python script manages to simulate What is wrong in the previous code? |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
I tried already 2 days ago, but it does not work. |
Beta Was this translation helpful? Give feedback.
-
|
@kmerbcn can you send the models as well, so that it is easy to debug |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I am happy to come back after a hectic end of year with work. This week I had time to do my personal research project, doing a D-class amplifier using slidding control theory. First of all, I am doing the GAN MOSFET models from scratch.
I finally moved from version 2022 to 2026. It was a huge and nice change! I wanted to know whats wrong trying to instantiate and do a parametric analysis of my MOSFET model into Python using OMPython. It seems I have an error or warning while trying to inititalize the model. The code is as follows :
omc = OMCSessionZMQ()
The error/warning is as follows :
[OMC log for 'sendExpression(buildModel(ExperimentoEstatico, variableFilter=".*"), True)']: [translation:warning:498] There are nonlinear iteration variables with default zero start attribute found in NLSJac0. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions("-d=initialization").
What should I change into the ModelicaSystem statement? I tried to add command line options into it for initialization, but nothing pop up. When using the GUI and also the script edition, I do not find problems. If not Ill try to use the script version to do a parametric analysis.
Best regards and thanks!
Javier
Beta Was this translation helpful? Give feedback.
All reactions