Francesco Casella
Francesco Casella
OK, will check tomorrow, thanks!
Original ticket: https://trac.openmodelica.org/OpenModelica/ticket/5843. daeMode integration, in which an implicit BDF solver is used to solve the differential equations as well as the coupled linear and nonlinear equations in the system...
@hansVIE, did you try without `--daeMode`? Does it work in that case?
I made some investigations on this test case. First of all, binding equations for record parameters (such as Complex gains) are moved to initial equations (and the parameter attribute fixed...
@mwetter, if you just want to modify a parameter _which is not structural_ and is evaluated at runtime, you can use the [-override](https://openmodelica.org/doc/OpenModelicaUsersGuide/latest/simulationflags.html#simflag-override) simulation flag. This saves you the time...
@perost, if you don't see any major problem with @adrpo's proposal, would you mind implementing it in the API?
So, summing up, the easiest way to get ``` buildModel("MyModelicaLibrary.MyModel(p=1)", method="dassl", tolerance=1e-08) ``` is to do ``` loadString("model ModifiedModel extends MyModelicaLibrary.MyModel(p=1); end MyModel"); buildModel(MyModel, fileNamePrefix="MyModelicaLibrary.MyModel, method="dassl", tolerance=1e-08); ``` > As...
I agree. We need to consider how to handle this kind of issues.
Original ticket https://trac.openmodelica.org/OpenModelica/ticket/5345
Summary of previous discussion: - enabling full-fledged FMI import into Modelica models in OMEdit would require extra work, and may actually not be technically possible in some cases - FMI...