Replies: 6 comments 7 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? |
1 reply
|
|
0 replies
|
I tried already 2 days ago, but it does not work. |
1 reply
|
@kmerbcn can you send the models as well, so that it is easy to debug |
3 replies
|
Thanks very much for your help I am going to try now and give feedback to you. |
2 replies
|
Sorry to disturb and now is solved. Thanks Arun! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

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
All reactions