How do I execute SmOffPSZ example?

asked 2021-06-11 03:37:22 -0500

manse's avatar

updated 2021-06-22 10:20:42 -0500

Hello, today I'm exploring EnergyPlus with Matlab toolbox in Linux environment. I have installed E+ as written into documentation (v9.5.0) and then configured Matlab toolbox to work with it. The problem is when I run the example, I receive the following error

Error using mlep/initialize (line 203) IDF file of version "9.2" is being simulated by an EnergyPlus of version "9.5.0". This may cause severe errors in the EnergyPlus simulation. Use IDFVersionUpdate utility to upgrade the file (<ep_dir>/PreProcess/IDFVersionUpdater/..).

Error in mlepMatlab_example (line 27) ep.initialize;

Notice that I receive the same error with 9.2.0 version and in this case I also did the tip of IDFVersionUpdate, but the tool stated that the file has the current version.

Thanks

edit retag flag offensive close merge delete

Comments

I noticed that all IDF files have version "9.2" and changing to 9.2.0 allow to go further. How is it possible? Anyway I ran SmOffPSZ script but now I receive this kind of error:

Error using mlep/decodePacket (line 50)
Error while parsing the packet string: ݊��)V2 -10

Error in mlep/read (line 321)
        [flag, time, rValOut] = mlep.decodePacket(readPacket);

Error in mlepMatlab_example (line 56)
        [y, t] = ep.read;

There is also a suspicious log: EP: sh: 1: java: not found

manse's avatar manse  ( 2021-06-11 09:33:47 -0500 )edit

Seems that error is pop out from mlep.m when try to run E+ simulation. Even though the process is failed, the script goes on and probably cannot write correctly results into the socket.

manse's avatar manse  ( 2021-06-11 11:42:34 -0500 )edit

I report that using windows with E+ 9.2 and matlab 2021a works as expected

manse's avatar manse  ( 2021-06-14 11:08:13 -0500 )edit