Browse Source

gave up trying to install FMI Library. Only seems to work with VS 2010 Express, which is not easily available.

Cláudio Gomes 7 years ago
parent
commit
f098c17930

BIN
SemanticAdaptationForFMI/Experiments/case_study_modelica_only/FMILibrary-2.0.2-win32.zip


+ 0 - 18
SemanticAdaptationForFMI/Experiments/case_study_modelica_only/Instructions.txt

@@ -1,18 +0,0 @@
-Unpack FMILibrary-2.0.2-win32 to some folder, preferably C:\FMILibrary-2.0.2-win32
-
-Set an environment variable called FMIL_HOME with the value C:\FMILibrary-2.0.2-win32
-
-Read the instructions of PyFMI and make sure you have the dependencies satisfied.
-https://pypi.python.org/pypi/PyFMI
-
-Make sure you have some visual studio compiler installed on your machine. I had to install this one:
-https://www.microsoft.com/en-us/download/details.aspx?id=44266
-
-Upgrade your setuptools python package by running
-pip install setuptools -U
-
-Reboot (just to be safe)
-
-Install PyFMI by running
-pip install PyFMI.
-

+ 0 - 4
SemanticAdaptationForFMI/Experiments/case_study_modelica_only/get_fmus.ps1

@@ -1,4 +0,0 @@
-xcopy "$HOME\AppData\Local\Temp\OpenModelica\OMEdit\PW_PowerSystem.fmu" . /Y /D
-xcopy "$HOME\AppData\Local\Temp\OpenModelica\OMEdit\PW_Window.fmu" . /Y /D
-xcopy "$HOME\AppData\Local\Temp\OpenModelica\OMEdit\Obstacle.fmu" . /Y /D
-pause

+ 1 - 9
SemanticAdaptationForFMI/Experiments/hierarchical_fmu/build_all.bat

@@ -1,15 +1,7 @@
 @echo off 
 
-rem ------------------------------------------------------------
-rem This batch builds all simulators and FMUs of the FmuSDK20
-rem for Windows platforms
-rem Command to build 32 bit version: install
-rem Commant to build 64 bit version: install -win64
-rem Copyright QTronic GmbH. All rights reserved.
-rem ------------------------------------------------------------
-
 echo -----------------------------------------------------------
-echo Making the simulators and models for FMI 2.0 of the FmuSDK ...
+echo Making the simulators and models for FMI 2.0 ...
 pushd fmu20\src
 call build_all %1
 popd

SemanticAdaptationForFMI/Experiments/case_study_modelica_only/Obstacle.fmu → SemanticAdaptationForFMI/Experiments/hierarchical_fmu/fmu20/fmu/cs/Obstacle.fmu


SemanticAdaptationForFMI/Experiments/case_study_modelica_only/PW_PowerSystem.fmu → SemanticAdaptationForFMI/Experiments/hierarchical_fmu/fmu20/fmu/cs/PW_PowerSystem.fmu


SemanticAdaptationForFMI/Experiments/case_study_modelica_only/PW_Window.fmu → SemanticAdaptationForFMI/Experiments/hierarchical_fmu/fmu20/fmu/cs/PW_Window.fmu


+ 5 - 0
SemanticAdaptationForFMI/Experiments/hierarchical_fmu/get_modelica_fmus.bat

@@ -0,0 +1,5 @@
+@echo off 
+
+xcopy "%TEMP%\OpenModelica\OMEdit\PW_PowerSystem.fmu" .\fmu20\fmu\cs\ /Y /D
+xcopy "%TEMP%\OpenModelica\OMEdit\PW_Window.fmu" .\fmu20\fmu\cs\ /Y /D
+xcopy "%TEMP%\OpenModelica\OMEdit\Obstacle.fmu" .\fmu20\fmu\cs\ /Y /D