Skip to content

GUI Architecture

Maurits Kok edited this page Mar 9, 2021 · 7 revisions

The Graphical User Interface for MitC is created with the App Designer in MATLAB R2019a. However, in order to compare versions of the GUI with MatLab and make full use of version control, version R2020b is required [1,2].

For a full overview of the MATLAB App Designer, please look at the official documentation.

MitC GUI

GUI_screenshot_2

Parameters

  • Nrsimulations: set the number of Monte Carlo runs. Default is 5000. Limited between 1000-10000.
  • Target project duration: set projected project duration in days. Default is 1466.
  • Penalty: Default Advanced is 8500, for Basic the value is set to 99999.
  • Incentive: Default Advanced is 5000, for Basic the value is set to 0.
  • Switch: Switch to chose between Basic and Advanced version to enable the penalty and incentive parameters.

Buttons

  • Load project data: Opens up a file browser to select a .xlsx project.
  • Select save folder: Opens up a file browser to select the folder to store the simulation results. A timestamped folder will be created in the selected directory.
  • Run simulation: Press to run the simulation and to disable all inputs. The button will remain disabled when the user hasn't selected any project data or a save directory.
  • Documentation: Link to the online user instruction on GitHub.
  • Reset: Resets the GUI.
  • Close: Close the GUI.

Logging

  • Message window: Displays messages, warnings, and errors.
  • Lamp: Displays the status of the simulation setup. Green: ready to run the simulation. Orange: missing inputs. Red: error.

References

[1] https://nl.mathworks.com/matlabcentral/answers/282860-will-app-designer-file-be-compatible-with-software-version-control-e-g-git-or-svn
[2] https://nl.mathworks.com/help/matlab/matlab_env/compare-and-merge-apps.html