- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » HelmholtzMedia library
HelmholtzMedia library
HelmholtzMedia library
Hello,
I have written the library HelmholtzMedia (using Dymola) and published it on github:
https://github.com/thorade/HelmholtzMedia
I am currently trying to make it work with OpenModelica, but I am having some trouble.
What I have done so far:
I created an issue on the github tracker:
https://github.com/thorade/HelmholtzMedia/issues/21
I cleaned the code to remove all Dymola warning in pedantic mode.
I tried to follow the advice given on
https://trac.openmodelica.org/OpenModel … tLibraries
but I am still getting some errors like
Code:
Variable xy.z not found in scope z.y.x
To reproduce the error message, download the latest master.zip from
https://github.com/thorade/HelmholtzMed … master.zip
and either check the model
Code:
HelmholtzMedia.HelmholtzFluids.Helium
or try to simulate the model
Code:
HelmholtzMedia.Examples.Validation.CheckDerivativesHelium
Problem is: I don't understand the error message, because the variable seems to be there!?
It is declared in
Code:
HelmholtzMedia.Interface.PartialHelmholtzMedium
Any help appreciated. I guess I am missing something obvious here, but I need help getting started.
Regards,
Matthis
Re: HelmholtzMedia library
Probably OpenModelica compiler acting up and missing some modifiers or redeclares someplace.
I will have a quick look later this week.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Re: HelmholtzMedia library
Re: HelmholtzMedia library
Further related issues in OpenModelica Trac are:
https://trac.openmodelica.org/OpenModelica/ticket/3345 and
https://trac.openmodelica.org/OpenModelica/ticket/3484
Re: HelmholtzMedia library
Re: HelmholtzMedia library
I replied on github:
https://github.com/thorade/HelmholtzMedia/issues/41
For the original topic of this thread, please also see this github ticket:
https://github.com/thorade/HelmholtzMedia/issues/39
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » HelmholtzMedia library