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
  • » Chrisz
  • » Profile

Posts

Posts

Feb-28-11 12:02:44
World3 Model in OM and first steps

So it would not run, even if I would "fool" OMEdit?

Would it help to download an older version of OM then? Which one should I get?

Feb-27-11 20:18:01
World3 Model in OM and first steps

Ah okay. Is there any chance to update the model or to downgrade the software?
Which OM version could I use to run the model?

Feb-27-11 20:08:06
World3 Model in OM and first steps

Yes that is how I wanted to do it.

Unfortunately I am unable to run the scenarios of the World3 Model.

The option "check" shows:
[C:/Dokumente und Einstellungen/Christopher/Desktop/Diplomarbeit LEE/W3 Model/SystemDynamics/SystemDynamics.mo:441:5-463:43:writable] Error: Class Modelica.Blocks.Interfaces.RealSignal not found in scope SystemDynamics.Interfaces.MassOutPort.
Error: Error occured while flattening model SystemDynamics.WorldDynamics.World3.Scenario_1

Do you have any idea how to fix this?

Feb-27-11 15:46:37
World3 Model in OM and first steps

Cheers!

The OMEdit looks very handy.
I loaded my model in there and I am able to see the source code and the different functions of the model.

According to my instructions the next steps would be:
•    Run Dymola
•    Run File/Clear All.
•    Run File/Libraries/Modelica Standard Library.
•    Open the SystemDynamics.mo file from within Dymola
•    run File/Export HTML to generate the documentation for the System Dynamics library - this generates a new subdirectory of SystemDynamics called help
•    run File/Save All to store the documentation.

This accounts for Dymola. How would I do this with OM?

Could anyone try to run the model or could try to plot some graphs?

My final aim is to run the model and to have the option to change some parameters (like population growth etc.).

As before, Thanks a lot for your help. I really appreciate it!

Feb-27-11 14:56:48
World3 Model in OM and first steps

Thank you very much.
Problem is fixed and I am ready to use OM.
I am using Windows XP.

I am able to load the model and to simulate it.
It says:
>> simulate(SystemDynamics)
record SimulationResult
    resultFile = "SystemDynamics_res.plt",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'SystemDynamics', storeInTemp = false, noClean = false, options = '', outputFormat = 'plt'",
    messages = "",
    timeFrontend = 0.0728983711616979,
    timeBackend = 0.000237180982499172,
    timeSimCode = 0.000157841289884608,
    timeTemplates = 0.00322052104387569,
    timeCompile = 1.52449515231684,
    timeSimulation = 0.176943158976909,
    timeTotal = 1.77801089244583
end SimulationResult;

How do I plot results? How could I change parameters?
Sorry I am very new. My aim is to plot some graphs with the model and to change some parameters if possible. I do not need to understand the model in detail.
As the author of the model only gives instructions for Dymola, I am confused.

Does anyone have experience with the World3 Model? My aim is to rebuilt and to understand the methods described in "The Limits to Growth - The 30 year Update" by the Club of Rome.
http://www.sustainer.org/pubs/limitstogrowth.pdf

Thanks a lot in advance!

Feb-27-11 13:05:58
World3 Model in OM and first steps

Thank you very much for your reply.
Yes, it extracted the OMShell shortcut, but it says that MSVCP100.dll is missing. I am using Windows indeed.

How would I fix the problem that you mentioned?

Feb-27-11 06:47:43
World3 Model in OM and first steps

Hello Community,

I am very new to programming and to the OM software.
My "simple" goal is to run an existing World3 System Dynamics Model. To be precise, this file:
https://www.modelica.org/libraries/Syst … leases/2.0

How do I integrate it into the software?

I also have problems getting started with OM. I downloaded the newest version of OM, but I am not even able to start the software. There are different folders in the extracted package, but no application starts the software. When I start "OMC" nothing happens apart from the "black DOS input window" appearing for 2 seconds.

Can anybody help me?

Thank you very much!

Best regards, Chris

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