Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » ajp2
  • » Profile

Posts

Posts

Is there a good forum to post jobs for experienced paid OpenModelica consultants?

* None of the consultants listed on modelica.org have "OMEdit" or "Open Modelica" in their descriptions, though I will email them all with the link to this 'job posting'.
* I had a look at the facebook page but it seems lacklustre in comparison to this forum.

It would probably need one day of someone's time and I am aware of the typical day rates for other software consultants being that I am one myself.


I have tried and failed to install a stable OpenModelica environment for Mac which will allow me to evaluate it for an open source project stack.  So my first requirement is advice and assistance to get a stable version of OpenModelica successfully installed on Mac.
I am also interested in some deep technical questions about:

* FMU exporting (exporting from Windows appears to be different than Mac: https://github.com/creative-connections … 1025855314 )
* FMU to JS (e.g. https://github.com/creative-connections … U-Compiler / https://github.com/creative-connections … alMachine)
* And the use of multiple instances of the same model as part of an array of instances for agent based modelling.

Any pointers, contact details or references to potential consultants are greatly appreciated.

Yours Sincerely,
AJP

Director, software consultancy
Researcher, Center of Complex Interventions

Great, yes that solves that mystery thank you!

Under Tools > Options > FMI, there are a few screenshots showing an option to set the co-simulation solver to Explicit Euler.  I have tried installing OMEdit 1.18.0, 1.16.5 and  1.14.1 but none of these versions have this option present.  Does anyone know which version of OMEdit provides this option please?

I am using the Windows 65-bit build on Windows 10.

tl; dr: does anyone do Agent based modelling?  How do you do it / what libraries do you use?



I am new to Modelica and I am wondering if this approach is possible and if there are any examples of good/best practice.
I have a simple model of a plant whose growth depends on inputs of sun, rain and temperature.  I want to simulate it in a 2 dimensional space surrounded by other plants (potentially thousands) which can remove some of the light and rain or buffer it from temperature drops or spikes.

Is this something that's possible / advisable to do?  If so I'd be grateful for any simple examples or gotchas.  Thank you!

AJP2


** edit **

I realised I am asking about agent based modelling in Modelica.  And there is an article on that here. The URL to the library here: https://www.euclides.dia.uned.es/vsanz is not working but searching for AMBLib shows up:

https://mathematica.stackexchange.com/q … ib-and-wsm
https://stackoverflow.com/questions/326 … n-modelica

https://build.openmodelica.org/Document … NALib.html
http://www.euclides.dia.uned.es/DESLib/ <- the download link no longer works

I'm not sure it would be suitable but ModelicaDEVS was mentioned although it does not seem to have much use / activity: https://github.com/modelica-3rdparty/ModelicaDEVS

There's also this article: https://www.sciencedirect.com/science/a … via%3Dihub but I can't find any accompanying library.

I have successfully run (the amazing) OMEdit 1.18.0~dev-109-ged8ef0a from here.  I understand that for now the Mac builds will not be updated due to resource constraints.

I have tried to run the docker container connected to XQuartz following these instructions and the demo using gns3/xeyes works however I can't get openmodelica to work.  There doesn't seem to be any error or logs.  Does anyone know what I need to change with this docker run command to get it to work on Mac?

    socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"   # run in separate console   

    IP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
    docker run -d --name OMEdit -e DISPLAY=$IP:0 --privileged -v /tmp/.X11-unix:/tmp/.X11-unix openmodelica/openmodelica:v1.18.0-gui

The docker run command exits (with success '0' exit code) but nothing seems to happen.  Running `docker start OMEdit` also exits very quickly (again with success '0' exit code).


Many thanks,
ajp

  • Index
  • » Users
  • » ajp2
  • » Profile
You are here: