FOSSEE / OMChemSim

Chemical library developed using OpenModelica for steady-state and dynamic process simulation
BSD 3-Clause "New" or "Revised" License
37 stars 28 forks source link

Problems installing OMChemSim #56

Open marcosfelt opened 2 years ago

marcosfelt commented 2 years ago

Thanks for this package. tl;dr: Can you provide instructions for how to install the package?

Longer version I received several errors when trying to run any of the examples related to imports.

First, OpenModellica does like global imports (e.g., Simulator.Files.ThermodynamicFunctions.*) and throws up errors like the following:

[5] 22:17:07 Translation Error
[Simulator.Files.ThermodynamicPackages.RaoultsLaw: 4:5-4:53]: Import Simulator.Files.Thermodynamic_Functions not found in scope <top>.

[1] 22:17:10 Translation Error
[Simulator.Files.ThermodynamicPackages.RaoultsLaw: 4:5-4:53]: Import Simulator.Files.Thermodynamic_Functions not found in scope <top>.

I converted some of the global imports to direct imports as suggested here, but I continue to find more problems.