lbl-srg / EnergyPlusToFMU

EnergyPlus export as a Functional Mockup Unit for co-simulation
41 stars 17 forks source link

Issues running EnergyPlus 9.1.0 models as FMU in Simulink/MATLAB 2019a #32

Closed maysam-gholampour closed 5 years ago

maysam-gholampour commented 5 years ago

Dear all, I would like to use an Energyplus exported fmu in Simulink/MATLAB 2019a. The fmu was made using the last version of EnergyPlusToFMU provided by GitHub without any error. The fmu includes OTHEREQUIPMENT schedule name as input and room air temperature as output (EnergyPlusToFMU schedule example file). I imported this fmu in Simulink using fmu block without any error. I Set start time as zero and stop time as 84700 with fixed-step size 900 (Energyplus time step is four equals 15 min or 900 second). When the Simulink is ran, it is ran without any error but it did not went to next time step. I think it tries to get output from fmu block. Noted that in this state, the Simulink is in running mode and stop button does not work. Does anybody know what I can fix that?

maysam-gholampour commented 5 years ago

I added EnergyPlus 9.1.0 folder to the system path environment variable (Windows 10) and the problem was solved.