Ticket #6002: FMU_test.py
| File FMU_test.py, 360 bytes (added by , 6 years ago) |
|---|
| Line | |
|---|---|
| 1 | from fmpy import * |
| 2 | |
| 3 | fmu = 'AixLib.Fluid.FMI.ExportContainers.Examples.FMUs.ThermalZone.fmu' # OMC FMU # gives unit error |
| 4 | #fmu = 'AixLib_Fluid_FMI_ExportContainers_Examples_FMUs_ThermalZone.fmu' # Dymola FMU # doesn't give unit error |
| 5 | |
| 6 | dump(fmu) # get information |
| 7 | |
| 8 | from fmpy import read_model_description |
| 9 | model_description = read_model_description(fmu) |
