(Generation or Storage). If there are no entries of the selected type or the inserted entry doesn’t exist, it doesn’t do anything, without warnings. The respective table will only be updated when you close this window and right click on it. When deleting multiple entries, especially if the one you delete is between others, the numbers will change (if you delete entry 4 in a system that has 5 entries, the old 5 will now be number 4). To avoid mistakes when deleting multiple entries, it is recommended to close this window and update the tables after each entry you delete. Technical Data This code correspondent to this window only has some restrictions to avoid attempts to clear nonexistent entries. When you press Delete it simply clears the line correspondent to the entry number inserted by the user, in either the Data_Generation or Data_Storage array matrix. GUI_Save/Load_Data_Sets Manual To avoid having to create the microgrid system all over again when you wish to run simulations for another one, or when shutting down MatLab®, there is the possibility of saving and loading created systems. In this section the windows that appear when pressing the Save and Load buttons in the Initial Window will be looked at and their functionality will be discussed. GUI_Save_Data_Sets Manual Pressing the Save button in the Initial Window will prompt the appearance of the Save Data Set Window (Figure 12). In this simple window, all you need to do is insert the name under which you wish to save the currently created system. The system will be saved under the inserted name in the folder "Saved_Data_Sets” (inside the “Toolbox” folder) and will be available for loading through the Load Data Set Window (§3.4.2).
Using the Ramp Up/Down Rates in the ED Model. I’ve attempted to reinstate this one, since such an important technical constraint of the generators shouldn’t be left out of the modelling of a system. However, since for the case I’ve worked on the ramp rates were high enough to be modelled as Inf, no extensive testing was done to check if the reintegration was working properly; Using Hot Start Cost. As of right now, the toolbox only uses the Cold Start Cost, however the Hot Start Cost was still an input in some functions so, when developing the GUI, it was left as a customizable field when adding an entry. The original code had three options: Using only the Cold Start Cost (similarly to what the toolbox is currently doing); Using the Hot Start Cost (there would only be a start cost if the generator had been working previously and was shut down for a short period; A cost curve between the two values (that started in the Cold Start Cost and would tend to the Hot Start Cost), depending on the previous usage of the generator when it was started. This represented the best modelling option and reinstating it would probably improve modelling accuracy. Other types of fuel consumption curves, namely, a second degree polynomial or an exponential curve. The slots correspondents to these values are still available in the gen_data matrix. Implementing these (and more types of curves if necessary) would also probably improve modelling accuracy and the range of thermal generators that can be modelled. It would, however, require severe modifications to the Fuel Characteristics Window, as well as to the ED Model optimization (currently done using “fmincon”, inside the “production_ED.m” and “production.m” functions); Adding new features As mentioned, over the course of my work on this toolbox, there were ideas for implementing some features that were eventually left aside. This is obvious looking at some fields that are not used in the model, or buttons that do nothing at all (the dreaded N.I.). Here I will attempt to convey the ideas that were originally going to be put in practice in those places, in the hope that someday they are. There are also some suggestions that not got past the “idea” phase.