openems icon indicating copy to clipboard operation
openems copied to clipboard

UI History Simulation MacOS

Open iHamzaaK opened this issue 3 years ago • 2 comments

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x ] feature request

Bug description or desired functionality.

I have been following OPENEMS documentation but when I try to mock historic data I cant make it work. I am working on MacOS and the guidelines for UI history simulation is for windows.

The first step asks us to prepare a csv file and put it in home directory, e.g. C:\Users\username\ on windows. Since I am using macOS, I don't know where to put this file. I tried different options like putting it under my user directory but still it doesn't work.

Any help will be appreciated. Thanks

iHamzaaK avatar Nov 04 '21 11:11 iHamzaaK

Hi @iHamzaaK. Thanks for getting in touch. The documentation for that feature is unfortunately particularly bad, and I have not worked with it for quite a while, sorry.

According to the code, the file should be located in your home directory, received via System.getProperty("user.home") in Java. That should be e.g. /home/iHamzaaK on your MacOS/Unix system.

See the source code here: https://github.com/OpenEMS/openems/blob/develop/io.openems.edge.simulator/src/io/openems/edge/simulator/timedata/SimulatorTimedata.java#L155

For general questions about OpenEMS I recommend the OpenEMS Community board at https://community.openems.io/

Regards, Stefan

sfeilmeier avatar Nov 04 '21 22:11 sfeilmeier

Hey @sfeilmeier,

Thank you for the reply. I tried your way and added the timedata.csv file in that directory. However I still see empty graphs.

Do I need to post this in the community board or you can guide me in this thread

Regards, Hamza

iHamzaaK avatar Nov 05 '21 14:11 iHamzaaK