# Integrated Digital-Twin-Based Decision Support System for
## 5 Integrated DT-Based Decision Support System for Relocatable Module Allocation Plan
### Prototype User Interface  
A web-based user interface for managing modular units and projects is designed to streamline the process of module allocation, tracking, and maintenance. It provides an intuitive dashboard that includes the following components:  
* Dashboard: Serving as the main homepage, this section provides an overview of key metrics within the RMS system, including the number of projects, modules, clients, and feedback. It features a map visualization displaying the locations of various projects/sites, integrated from the DT platform developed in the previous section. This map allows clients to explore building designs and interact with BIM models to understand the efficiency of this construction method. Additionally, clients can view feedback from previous users to support their decision making. Real-time charts and diagrams display the number of modules and projects over time, offering a dynamic view of the system's activity.
* Project lists: This tab displays a list of projects with details such as name, location, start date, and end date. This section aids in efficient planning and resource allocation. Users can allocate modules to projects, edit project details, or delete mistakenly assigned projects. The geographic coordinates of the projects assist in calculating the proximity of modules to the project site, which is crucial for minimizing transportation costs and optimizing logistics.
* Storage: This section lists all storage facilities, their locations, and capacities in terms of module types and available slots. It helps manage inventory and ensure that modules are stored in optimal conditions when not in use.
* Modules list: This tab provides a comprehensive list of all modules, including their unique IDs, types, conditions, and current statuses. Each module's status can be \"In-use\", \"Transporting\", \"On-site Assembling\", or \"Storage\", updated in real time from the DT system. Modules are assigned to specific projects with details about their location (e.g., \"On project 44. Gunsan Yeonggwang Girls' High School\"). The interface allows users to filter and search for modules based on various criteria, making it easier to find the right module for reuse or maintenance. Users can edit or delete module entries as needed, ensuring that the module database remains up to date.  
The user interface allows for several actions and functionalities:  
* Add Modules/Projects: Once a module unit is ready for use post-manufacturing, it is assigned an ID via QR code scan and inputted into the system. Users can also manually add new modules or projects using the \"Add modules\" or \"Add project\" buttons, ensuring that new assets and projects are quickly integrated into the system.
* Edit/Delete: The user has options to edit or delete each entry in the modules and projects lists. Editing allows one to update the details, such as changing the status or location of a module, while deleting removes the entry from the system.
* Allocate: After creating a project with a specified location, a pop-up window allows users to allocate specific numbers of different types of modules (e.g., classroom, re-stroom, and teacher room) to a project. Input fields specify the required quantities of each module type, advised by the system engineer based on school demand. Upon clicking the allocate button, another pop-up window displays a list of recommended modules for the project, showing details like the module ID, type, condition, status, and the project it is currently assigned to.
* Reserve: With the recommended module list for an assigned project, facility managers can reserve modules for the next project. This changes the status of the selected modules to \"reserved\", indicating that they are unavailable for the next project's module selection process.