File Exchange

image thumbnail

Hymod: A Software for Hybrid Microgrid Optimal Design

version 19.9.5.0 (6.18 MB) by Semaria Ruiz
A Matlab tool for designing hybrid isolated microgrids.

27 Downloads

Updated 20 Aug 2018

View License

At the National University of Colombia, we have developed a open-source Matlab tool called Hymod for designing hybrid isolated microgrids.
Hymod is an open source software that performs the design of hybrid isolated microgrids composed by Diesel, photovoltaic modules, wind turbines, batteries and Hydro-pumped storage, which also integrates electric vehicles (EVs) in two ways:
• (i) As additional loads, which are defined as Type 1 EVS.
• (ii) As additional storage systems allowing them to participate with the load commitment, which are defined as Type 2 EVS.

To operate, Hymod requires the previous installation of software Matlab R2015b or later versions, CVX( http://cvxr.com/cvx/ ) and Gurobi( http://www.gurobi.com/index ).

I hope that Hymod will be useful for you.

Cite As

Semaria Ruiz (2020). Hymod: A Software for Hybrid Microgrid Optimal Design (https://www.mathworks.com/matlabcentral/fileexchange/66123-hymod-a-software-for-hybrid-microgrid-optimal-design), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (8)

Semaria Ruiz

Hello, you can see the following paper: https://ieeexplore.ieee.org/document/8533914

Dear/Dr.Semaria Ruiz Alvarez

I downloaded Hymod software from Matlab central file exchange and
downloaded the CVX software from web page: http://cvxr.com/cvx/download/,
and executed the file cvx setup.m and set the path of the CVX download on
Matlab path options.
I got an academic license of CVX in the next link: http://cvxr.com/cvx/academic/
and downloaded from my e-mail the attached file cvx license.dat, and save it in the same folder of CVX.
At the Matlab command line, run cvx setup again, but add the full path to
my license file as an argument: cvx setup/path/cvx license.dat.
And activated the Gurobi solver.

when run file micr.m and uploaded xls files, some errors appeared
such as

error using cvx_solver (line 46)
Unknown, unusable, or missing solver: gurobi

Error in optim/optim_micr (line 68)
cvx_solver gurobi

Error in optim (line 55)
[obj.Nwt obj.Npv obj.Nbt obj.Vol obj.Pus obj.Pdg obj.Pbatc obj.Pbatd obj.Phpb obj.Phpt obj.Pdcev obj.Pcev obj.Pcevnd obj.fval
obj.LCOE obj.En_c obj.dif_c obj.Em] = optim_micr(obj);

Error in micr>pushbutton12_Callback (line 796)
xsol= optim(r_l, prj_p, wt, pv, dg, bt, hp, ev, EVd, stor);

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in micr (line 42)
gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)micr('pushbutton12_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating UIControl Callback
please reply to me as fast as you can.

Semaria Ruiz

Mohammedi, you need the previous installation of CVX (which you can download from http://cvxr.com/cvx/) and Gurobi solver for CVX (following the instructions indicated in the user manual, which is contained in the zip file)

Undefined function or variable 'cvx_begin'.

Semaria Ruiz

Good morning, I send you the user manual and I notice you that a paper that explains the software architecture of Hymod will be published soon in the 2018 15th International Conference on Electrical Engineering, Computing Science and Automatic Control (CCE 2018), which I will send you soon.
You can find the user manual in the next link: https://drive.google.com/file/d/1ArulBNBO1Ytqydo-W8NmRgAJX1sco4A5/view?usp=sharing

Hi, do you have the system flowchart or system model for your islanded microgrid?

Chao Lin

I want to know the algorithm of your soft, Can you tell me soon? thanks

Updates

19.9.5.0

This version includes default values for starting

17.9.3.0

New version with some errors corrections

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: CVXOPT Toolbox

Communities