Open frateanadrian opened 7 years ago
We have very limited support capability (this project doesn't have an external support budget), but would be happy to answer any questions we can. What specific questions do you have? Have you followed the installation guide on the Wiki, including adherence to the software versions listed? This project is frozen in time and hasn't yet been updated for compatibility with recent releases of MATLAB etc., so failure to use the exact software versions listed will likely cause problems.
Hello,
Thanks for your answer. I am currently working on my PhD Thesis and I want to use MLE+ to simulate building energy consumption with EnergyPlus and build control strategies and other simulations with Simulink and this is how I've discovered this project. I am running Matlab 2013a and EnergyPlus 8-0-0-0 on a Mac OS 10.11.6. I downloaded the latest release and I've followed the steps presented in the Wiki. First I've tried to run de demos, but I get an error saying that there is a bad link for the Simulink Library models.
What might be the problem? The Simulink Library seems to be a *mdl file, but I am unable to open it with Simulink. Did I miss anything in the process? I've tried also to use the legacy MLE+ block, but that does't seem to work either. I am only able to use the GUI interface for MLE+.
Those "Bad Link" boxes imply that the Campus Energy Modeling library is not on your Simulink path. Did you definitely edit and run the install.m
script in MATLAB per the installation instructions? If not, try that. If you already did, then maybe something is preventing the script from adding the model library to your path, or else that the path is not persisting after closing MATLAB. You may need to manually add the location of the "Library" directory distributed with the release to your MATLAB path.
Yeah I did it. I ttached some screenshots with an error I get when I open a demo file. You can see above that the install.m is done successfully.
This is the path in one of the blocks:
I tried to add the rest:
Can you verify that the path to the library is actually on your MATLAB path? E.G. by running the MATLAB path
command? If it is, then I'm not quite sure why it would be failing to find it.
@willybernal Any ideas? He's running this on a Mac. Maybe permissions errors?
Yeah, it is.
If I run the test script, this is what I get
Yeah, ok, it definitely seems to be having trouble loading the actual Simulink library, despite having it on the path. Unfortunately, the errors you are seeing are rather cryptic. I am not a Mac user, but it may have something to do with Macintosh permissions. (I'm taking a shot in the dark here.) My colleague Willy Bernal uses a Mac. I will see if he has any ideas, or can perhaps refer you to a different strategy for using MLE+.
Hello Adrian,
I am not sure why you are experiencing this problem. As you are mainly interested in MLE+, I would try to get that piece running properly and then we can revisit how to make it work with the CampusEnergyModeling toolbox:
Install MLE+ from here https://github.com/willybernal/mlep
Follow the installation instructions -> https://github.com/willybernal/mlep/wiki/Installation
This installation has been tested with multiple Matlab versions and should be good to go. MLE+ can be used with multiple E+ versions as well (listed in the website). However, the example files, specifically the E+ files, will only work with E+ 8.6.0.
Try the Legacy Example. I haven't updated more example files yet.
Let me know if you get this working or if you have any questions. After that, I can help you out getting the Campus EnergyModeling toolbox working.
Thanks, Willy
Hi Willy,
Thank you for answering. I tried the legacy example, but I get this error:
It seems like there is an issue with Java.
Adrian
I see. Can you open the .err file and send it back? It should be called simple.err.
Willy Bernal Mechatronics and Controls Engineer willybernal@gmail.com
On Wed, Jan 25, 2017 at 3:01 PM, Adrian Fratean notifications@github.com wrote:
Hi Willy,
Thank you for answering. I tried the legacy example, but I get this error: [image: screen shot 2017-01-25 at 23 59 39] https://cloud.githubusercontent.com/assets/8103983/22311092/864f9320-e35a-11e6-8f67-60406f3afdb5.png
It seems like there is an issue with Java.
Adrian
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NREL/CampusEnergyModeling/issues/1#issuecomment-275246589, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjuuHJXWiP1gCptwul0zbrCo4T4ZUBpks5rV8YygaJpZM4LsmMD .
Make sure you have E+ 8.6 and you have changed the settings in installMlep.m before running that file.
Willy Bernal Mechatronics and Controls Engineer willybernal@gmail.com
On Thu, Jan 26, 2017 at 2:50 PM, Willy Bernal willybernal@gmail.com wrote:
I see. Can you open the .err file and send it back? It should be called simple.err.
Willy Bernal Mechatronics and Controls Engineer willybernal@gmail.com
On Wed, Jan 25, 2017 at 3:01 PM, Adrian Fratean notifications@github.com wrote:
Hi Willy,
Thank you for answering. I tried the legacy example, but I get this error: [image: screen shot 2017-01-25 at 23 59 39] https://cloud.githubusercontent.com/assets/8103983/22311092/864f9320-e35a-11e6-8f67-60406f3afdb5.png
It seems like there is an issue with Java.
Adrian
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NREL/CampusEnergyModeling/issues/1#issuecomment-275246589, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjuuHJXWiP1gCptwul0zbrCo4T4ZUBpks5rV8YygaJpZM4LsmMD .
I have 8.6 and I changed the path. You mean err file form Matlab?
The .err file gets generated by E+. That should have information about the error you are encountering. The error is showing is just saying that E+ did not respond on time to Matlab. So, the socket connection opened in Matlab times out and then throws that error. There must be some problem with the settings. That information probably shows up in the .err file.
I actually meant to say SmOffPSZ.err. You should take a look at that to see what would be the problem. Also, send it my way please.
Willy Bernal Mechatronics and Controls Engineer willybernal@gmail.com
On Thu, Jan 26, 2017 at 3:03 PM, Adrian Fratean notifications@github.com wrote:
I have 8.6 and I changed the path. You mean err file form Matlab?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NREL/CampusEnergyModeling/issues/1#issuecomment-275528501, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjuuNgCe69CmWr0eK0HrWqyvcgi9o9_ks5rWRhMgaJpZM4LsmMD .
It's strange, I've been searching everywhere but there is no .err file that I get after trying to run the simulation.
This is what my legacy folder looks like: It might be inside the Output folder. Can you send me a screenshot of your folder after you try to run simpl.slx?
Willy Bernal Mechatronics and Controls Engineer willybernal@gmail.com
On Thu, Jan 26, 2017 at 11:41 PM, Adrian Fratean notifications@github.com wrote:
It's strange, I've been searching everywhere but there is no .err file that I get after trying to run the simulation.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NREL/CampusEnergyModeling/issues/1#issuecomment-275599563, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjuuCZ0YRj7bIkcfUACmeV8QBQOhGVRks5rWZGDgaJpZM4LsmMD .
this is how it looks like after the simulation:
i have no output folder
i think you missed adding a pic of your folder
Hello, I am trying to use these tools but I am having some issues. Does anyone can provide me some help?