3.1 Functional Requirements
3.2.1 System Admin
3.2.1.1 Define new User (RC 01)
User definition and management consist of four main activities:
Creating a new user
Updating an existing user
Deleting an existing user
Changing the status of the user (active/inactive)
User fields are declared in ERD.
Each of these activities is a single step, and there is no approval step involved.
3.2.1.2 Manage user access (RC 02)
To manage user access, the system administrator can assign or revoke permissions for individual users. The permissions list is automatically created and maintained by the system during installation or updates, eliminating the need for manual operations by admin users. Here are the steps the system admin follows to manage user access:
1 Search for the user: The admin can search by username, first name, or last name to select the user.
2 View current accesses: After selecting the user, the system displays a list of their current accesses along with a list of permissions that can be assigned.
3 Modify permissions: The admin can revoke existing permissions by selecting an assigned permission or assigning new permissions from the displayed list.
4 Save changes: Click the submit button to save the changes and finalize the process.
3.2.1.3 Define default working hours (RC 03)
The definition of default working hours is crucial because it is utilized in various planning scenarios and also for displaying course information in Calendar mode.
To define this information in the system, the system administrator will select the ‘Define default working hours’ command. Subsequently, the system will display a form that shows all weekdays along with two fields for the starting and ending times. Initially, the system will set Monday to Friday as the working days, with a start time of 8:00 and an end time of 16:00. If this record has already been specified by the system administrator, the currently defined data will be displayed.
The system administrator user will have the ability to modify the working days of the week, as well as adjust the start and end times. Any changes made will be submitted and saved in the system. It’s important to note that the selected end time cannot be smaller than or equal to the start time. The system will validate this rule and notify the user to make necessary adjustments.
3.2.2 Resource Admin
3.2.2.1 Manage classrooms (RC 04)
Classrooms play a pivotal role as essential resources in course scheduling. To effectively manage this resource type, the resource administrator will have the ability to perform the following actions:
Create: Add a new classroom.
Update: Modify existing classroom details.
Delete: Remove classrooms when necessary.
Fetch: Retrieve a list of available classrooms.
The classroom fields are specified in ERD.
Each of these activities is a single step, and there is no approval step involved.
3.2.2.2 Manage simulator rooms (RC 05)
Simulator rooms also play an important role in course scheduling. To effectively manage this resource type, the resource administrator will have the ability to perform the following actions:
Create: Add a new simulator room.
Update: Modify existing simulator room details.
Delete: Remove the simulator room when necessary.
Fetch: Retrieve a list of available simulator rooms.
The simulator room fields are specified in ERD.
Each of these activities is a single step, and there is no approval step involved.
3.2.2.3 Manage clients (RC 06)
The list of clients must be defined, managed, and utilized within the scheduling tool. Clients can be categorized into two types: Normal or VIP. To effectively manage this resource type, the resource administrator will have the ability to perform the following actions:
Create: Add a new client.
Update: Modify existing client details.
Delete: Remove client when necessary.
Fetch: Retrieve a list of available clients.
The client fields are specified in ERD.
Each of these activities is a single step, and there is no approval step involved.
3.2.2.4 Manage course definition (RC 07)
Scheduling and planning courses are the primary objectives of this system. Therefore, defining course definitions is a crucial feature. The course definition comprises two main parts:
Course Definition: This part includes the course name, type, duration, and status (active/inactive).
Course Definition Time Slots: The second part is responsible for managing each course’s time slots and topics to be presented. These topics may involve different instructors, rooms, and other resources.
To effectively manage this important entity, the system should support and implement the following activities and processes:
1 Create a New Course Definition: In this process, the resource administrator defines a new course title along with its time slots and required resources. By default, each course is set to a duration of 7 days, but users can adjust this as needed. After the initial course definition submission, the request is sent to the planning administrator for review and approval. If the course definition is rejected (along with a description and reason), the resource admin can edit the course and resubmit it or cancel the request. Once approved, the course definition is added to the system database as an active course.
2 Update an Existing Course Definition: The resource admin can modify course names, types, or time slots. After submitting the course modification, it is sent to the planning admin for approval. The changes are committed to the database upon approval by the admin user.
3 Activate or Deactivate a Course Definition: Course definitions can be toggled between active and inactive status. Resource admins can request this change as needed, and planning admins approve or reject the request. Note that changing a course’s status does not affect currently planned courses; it only prevents the scheduler system user from creating new course requests or generic courses based on that definition.
4 Delete an Existing Course Definition: If the planning manager decides to remove an existing course definition from the system for any reason, they can select the course and remove it from the database. This activity is performed by the planning manager, and no approval step is required. However, when submitting a deletion request, a description field is provided to clarify the reason.
3.2.2.5 Manage instructors and assistants (RC 08)
To manage instructors' and assistants resource types, the resource administrator will have the ability to perform the following actions:
Create: Add new instructors/assistants.
Update: Modify existing instructor/assistant details.
Delete: Remove instructor/assistant when necessary.
Fetch: Retrieve a list of available instructors/assistants.
The instructor and assistant fields are specified in ERD.
Each of these activities is a single step, and there is no approval step involved.
3.2.2.6 Manage simulator operators (RC 09)
To manage the simulator operator resource type, the resource administrator will have the ability to perform the following actions:
Create: Add new simulator operators.
Update: Modify existing simulator operator details.
Delete: Remove the simulator operator when necessary.
Fetch: Retrieve a list of available simulator operators.
The simulator operator fields are specified in ERD.
Each of these activities is a single step, and there is no approval step involved.
3.2.2.7 Manage helmsman and OOW (RC 10)
To manage helmsmen and OOWs resource types, the resource administrator will have the ability to perform the following actions:
Create: Add new helmsmen/OOWs.
Update: Modify existing helmsman/OOW details.
Delete: Remove helmsman/OOW when necessary.
Fetch: Retrieve a list of available helmsmen/OOWs.
The helmsman and OOW fields are specified in ERD.
Each of these activities is a single step, and there is no approval step involved.
3.2.3 System Agent
3.2.3.1 Fetch instructors’ days-offs (RC 11)
A system job is responsible for retrieving instructors’ leave records from the days-off app via a RESTful API. These records are then stored in the InstructorOffTime table (as shown in the Entity-Relationship Diagram). Along with instructors’ regular working hours and default working hours, this data will be utilized by another system process to calculate and generate instructors’ available time slots. The resulting available time slots are stored in the ResourceAvailableTime table (please refer to the ERD for additional details).
The available slots field in the ResourceAvailableTime table is a string field that contains 48 characters—one for each 30-minute interval of the day. Each character can take on one of two values: 0 (indicating not available) or 1 (indicating available). For instance, consider the following value: 000000000000000011111111111111111000000000000000. This indicates that the instructor is available from 8:00 AM to 4:30 PM.
While this field could also be stored in a 6-byte numeric format, the string format is more human-readable and easier to interpret.
Another condition this process should address is managing changes related to instructors’ leave that impact current course plans. For instance, when a new leave record is received for a specific instructor from the Day Off application, and it conflicts with an already scheduled course time, the system needs to handle it.
In this scenario, upon receiving a new leave record from the Day-Off.app API, the system should verify whether the specified period is already booked for a scheduled course. If it is, the system should perform the following actions:
1 Check for a Replacement: The system should identify an instructor qualified to conduct the same topic during the affected time slot.
2 Replacement Availability: If a replacement instructor is available, the system informs the planner to approve the change.
3 No Available Instructor: If no qualified instructor is available, the system searches for an alternative instructor in the closest interval.
4 Planner Decision: The system then communicates the results to the planner, who can decide whether to cancel the course or modify the plan. At this stage, the planner also has the option to manually reschedule the entire course plan.
Steps 2,3, and 4 will be done by the course plan modification functionality defined in section 3.2.5.5.
3.2.4 Scheduler System User
3.2.4.1 Define course instructors (RC 12)
The scheduler system user is responsible for defining the course instructor. This relationship between the course and the instructor will be used in the scheduling process as a filter.
The course instructor definition is a simple process. In this process, the related form contains two items:
The first item is a combo box where the user can select the course from the active course definition.
The second item is a list that displays all instructors with a checkbox next to their name. If instructors have already been defined for that course, the list will show them as checked to prevent repetitive activity. Users can select (check) one or more instructors from the list to submit as course instructors. If a user deselects (unchecks) an instructor who was already defined, it indicates that the current user is attempting to remove that instructor from the course. This process is one step, and there is no approval step involved.
The related table for these records, along with its fields, is defined as the CourseInstructor table in the ERD.
3.2.4.2 Define instructor working hours (RC 13)
Each instructor can have their own working hours, which may differ from the default working hours defined by the system administrator. Therefore, it is necessary to specify this data for each instructor whose working hours do not align with the default.
The process of defining this data is similar to the definition of default working hours. However, the data should be stored in the ResourceWorkingHours table, as shown in the ERD. As mentioned in section 3.2.3.1, this data will be used to calculate and generate the instructors’ available time, which plays an important role in the scheduling process.
3.2.4.3 Save course request (RC 14)
The course request serves as the initiator of the scheduling process. In this system version, requests from customers are received by the Scheduler System Users (also known as the Front-Office User) via email or phone, and then stored by them.
To create and save a new course request, the user should specify the following details:
The requester customer
The number of participants
The preferred date interval
This entity also includes a status field named scheduled, which indicates whether the request has been scheduled or not. By default, this field’s value is F (False).
The relevant data will be stored in the CourseRequest table, and the request submission process does not involve an approval step.
3.2.4.4 Create a generic course (RC 15)
The term generic course refers to a type of course that is defined by Simwave itself as a predefined and planned course, rather than being directly originated by a customer.
These types of courses are planned internally and are publicly displayed on the website. The data for these courses will be stored similarly to customer-requested courses, with one key difference: their client ID refers to a predefined record in the Client table specifically associated with Simwave.
3.2.4.5 Manage course list (RC 16)
To manage requested, generic, or planned courses, the system should include a feature that allows scheduler system users to retrieve and manage courses. This feature proposes the following services:
1 Display a List of Courses: Users can view a list of courses, with the ability to sort and filter them based on different columns. These columns include course title, requested time, customer, instructor, types, and status.
2 Search for Specific Courses: Users can search for a specific course within a specified time interval or for a particular customer.
3 Delete or Update Course Data: Users have the capability to delete or update course data as needed.
4 Send Cancellation Requests: This process will be discussed in section 3.2.4.6
3.2.4.6 Cancel course (Request/Approval) (RC 17)
Course cancellation is one of the key administrative processes in this system. It allows users to cancel a course at any stage (whether it’s planned, requested, or generic) due to various reasons. These reasons are outlined below:
Cancellation due to client request
Cancellation due to equipment problems
Cancellation due to human resource issues (such as sickness)
Cancellation based on customer priority and importance
When scheduler system users initiate a cancellation request, they should follow these steps:
1 Specify the reason for cancellation and provide a brief description.
2 Submit the request for approval.
3 The planning manager reviews the cancellation request along with the submitted data and decides whether to approve or reject it. If rejected, the planning manager provides a reason for the rejection, which is then communicated back to the scheduler system user.
If a planned course is canceled, the system should update the engaged resources’ available timetable and notify the instructor and any assistants if they exist.
3.2.5 Planner
3.2.5.1 Access calendar view (RC 18)
The calendar view is one of the most important and crucial features of the system, as it encompasses various functionalities for different usages and applications. Different users access this view with varying levels of capability.
In this view, the following facilities and actions will be available (based on user access level):
1 Accessing Planned Courses: Users can view planned courses in different time intervals (daily, weekly, or monthly view) and have the ability to navigate back and forth in time.
2 Resource-Based Calendar View: Planner users can view the calendar based on different resource types, including instructors, assistants, rooms, OOWs (Officer of the Watch), helmsmen, and simulator operators. They can also filter the data for a specific resource.
3 Initiating Scheduling Process: Planners can start the scheduling process directly from this view by selecting an unscheduled course request (further discussed in section 3.2.5.3) and begin scheduling (see section 3.2.5.4).
4 Read-Only View: To avoid complexity and conflicts with the scheduling view, this calendar view is read-only and does not allow users to modify data directly.
3.2.5.2 Access Scheduling view (RC 19)
Scheduling View is a table in which the header of each column represents a date interval, i.e. One Day, One Week, or Two Weeks. Each day will be divided by working hours based on resolution. It helps the planner to select duration not just in day intervals and allows the user to limit the start and end hours.
In each row of this table, the user has the option to switch between two resource types: instructors or rooms (Classrooms + Simulator Rooms). the instructor’s name will be displayed by default.
Booked courses for each instructor and his/her off time will be displayed in related cells with different colors and also display some additional helpful data like exact time interval and allocated room and client name.
If the user selects the room as the resource type for the scheduling table rows, the same scenario applies.
All scheduling features and capabilities are designed in this view. These features are introduced and discussed in sections 3.2.5.3, 3.2.5.4, 3.2.5.5, and 3.2.6.1.
3.2.5.3 View clients’ course requests (RC 20)
In the scheduling view, there is a panel designed for planner users to facilitate their access to clients’ course requests (including requested generic courses) that have not been scheduled yet. This panel is titled “New Requested Courses”, and planners have three choices for each request:
1 Smart Scheduling: This feature is described and introduced in section 3.2.6.1.
2 Manual Scheduling: Introduced in section 3.2.5.4, this option allows planners to manually schedule courses.
3 Reject Course Request: Planners may reject a course due to a lack of available resources, such as instructors, assistants, operators, rooms, or other equipment.
When the user selects the “Reject” command, a form will appear with a combo box named “Reject Reason”, containing the following items:
Lack of Instructor
Lack of Assistant
Lack of Simulator Operator
Lack of Helmsman
Lack of Officer on Watch
Lack of Classroom
Lack of Simulator Room
Lack of Equipment
The user should select one of these items and submit the form. The reject reason, along with the current username (as the rejector), will be stored in the corresponding fields in the CourseRequest table, marking this record as rejected (setting the value of this field to ‘T’).
3.2.5.4 Schedule course (RC 21)
When a planner selects a course request from the “New Requested Course” panel, the list of instructors or rooms in the scheduling view is filtered and limited to those that are appropriate for that specific course. The planner can then drag the request into the scheduling panel and place it on an empty cell. During this process, the system checks whether the selected instructor is available to conduct that course and verifies that the time interval is free—ensuring that no other session is already arranged for that time with the selected instructor. If the system approves the selected cell, the “Session Arrangement Form” is displayed, allowing the user to select a room. If the user has already chosen the room as a resource in the Scheduling View, they should then select the instructor to finalize the session. Additional complementary fields, including labels (for improved searchability) and descriptions, can be added to the Session Arrangement Form.
In manual scheduling mode, the user has the flexibility to set each course time slot for different instructors, rooms, or times. Another option for manual scheduling is to recommend the next available slot where the instructor’s time and room availability align. This service will be implemented as a conflict resolution logic.
Additionally, the user can apply a client type while scheduling a meeting. In this scenario, the system considers the client’s importance and allows for rescheduling the meeting if a less critical client’s courses conflict with those of a higher-priority client.
Once these activities are completed, the planner submits the result for planning manager approval, as described in section 3.2.7.1.
3.2.5.5 Review/modify course plan (RC 22)
This functionality is generally similar to the process of scheduling a course, with just one key difference. In this scenario, the selected course already has a stored plan, and any modifications to that plan trigger an additional system activity. This activity involves retaining the already allocated resources while assigning new time slots and potentially new resources. Additionally, this process includes an approval activity.
3.2.6 Smart Scheduler
3.2.6.1 Recommend course scheduling (RC 23)
When a planner selects a course request and clicks on the ‘Smart Scheduling’ command, the system initiates an automatic scheduling process driven by an AI-based algorithm. The system loads the request data and attempts to identify suitable time slots from the available options, aligning with the preferred time interval for the course.
In this scenario, the system considers the selected course, available course instructors, and available rooms within the specified period. It aims to allocate each course’s time slots during the first available time when all necessary resources are free.
The AI-based algorithm explores various adjustable patterns, scoring them based on relevant factors. It then recommends the optimal choice to the planner and displays the planned course on the scheduling view. Importantly, this plan remains tentative until the finalization process, which is introduced in section 3.2.5.5.
If the service cannot accommodate the course plan within the client’s preferred interval, it then seeks the best and closest alternative after this period and recommends that interval instead.
It is also possible for the planner to adjust the preferred interval based on client priorities and the availability of resources such as simulator operators, OOWs, or helmsmen.
3.2.7 Planning Manager
3.2.7.1 Approve course plan
When planner users schedule a course request manually or by using the smart scheduling service, they should submit the initial plan as a recommendation. The system then sends this request to the planning manager for approval. The planning manager decides whether to accept or reject the course plan. If the manager rejects the plan, they provide a reason and send the request back to the planner. The planner can then use the modification process to reschedule the course request or reject it altogether.
If the planning manager approves the course plan and submits the result, the system stores the plan in the CoursePlan and the CoursePlanTimeSlots tables. Following this step, the system notifies instructors and updates resource availability times. Additionally, it executes a conflict resolution job to address any potential conflicts during the scheduling process.
3.2.7.2 Approve course cancellation
This functionality constitutes only one part (activity) of the request cancellation process, which is fully described in section 3.2.4.6.
3.2.7.3 Approve course definition
This functionality constitutes only one part (activity) of the request cancellation process, which is fully described in section 3.2.2.4.
3.2.8 Instructor
3.2.8.1 Notify the course plan to instructor (RC 24)
When the course plan is approved by the planning manager, instructors should be notified via email, and the course details should be added to their calendars. Three options for instructors’ calendars will be considered:
1 Scheduling Tool Calendar View: Instructors can log in to the system and view their planned courses in a calendar view provided by the scheduling tool.
2 Outlook: The system sends the course time slots as a series of appointments to the instructors’ Outlook calendars.
3 Google Calendar: For instructors who have Gmail accounts (based on their email addresses), the system sends the course time slots as a series of appointments to their Google Calendar.
3.2.9 Top Manager
3.2.9.1 Take classroom utilization report (RC 25)
To generate this report, the user needs to specify a date interval and the desired report format (PDF or Excel) as input parameters. After submitting the request, the system calculates classroom utilization within that time interval. The utilization percentage is determined by dividing the hours of classroom occupation by the total available hours, based on the default working hours.
3.2.9.2 Take simulator room utilization report (RC 26)
This report is like the classroom utilization report but for the simulator room.
3.2.9.3 Take instructor utilization report (RC 27)
This report is similar to the classroom utilization report, but it specifically focuses on instructors. Additionally, if an instructor has different working hours, those customized hours should be used instead of the default working hours.
3.2.9.4 Take client course report (RC 28)
As input parameters for this report, the system receives the following information: date interval, report format, course type (planned or requested), client name, and client type. The course type, client’s name, and client type are optional, and the report output will differ based on these fields as follows:
If the user selects and enters a client’s name, the system queries and exports all courses associated with that client within the specified time period.
If the user doesn’t select a client as an input parameter and leaves this field empty, the system will return all courses for all clients during that time period.
If the user does not specify a course type, the system will retrieve and export all planned and requested courses within the given time frame.
If the user specifies the course type, the system will retrieve and export only that specific type of course within the specified time period.
3.2.9.5 Take unutilized resources report (RC 29)
To generate this report, the user needs to specify the date interval, report format, and resource type as input parameters. The resource type is optional.
The system generates output based on the inputted parameters as follows:
Unutilized resources: These are resources that were not used at all during the given period.
If the report requester specifies a specific resource type, the report result will be limited to that resource type.
3.2.9.6 Take cancellation report (RC 30)
This report receives the date interval, report format, client name, and cancellation type as input parameters and generates the output as follows:
Client name and cancellation type are optional.
The cancellation type is a list (represented as a combo box on the form) with the following items:
o Due to client's request
o Due to equipment problems
o Due to human resource issues (such as sickness)
o Due to customer priority and importance
The system retrieves and filters the output based on the given period of time, the client’s name, and the cancellation type. It then exports the cancellation list with the following columns:
Client name
Course name
Request date
Requester
Cancellation type
Cancellation reason
Cancellation status (Requested or Approved)
Approved by
Approval date
3.2.9.7 Take rejection of course report (RC 31)
This report receives the date interval, report format, course name, and rejection reason as input parameters and generates the result as follows:
The system retrieves course requests that have not been scheduled yet and are marked as rejected. The result will be filtered by course name and rejection reason if specified.
The inputted date interval is applied to the rejection date.
The resulting report will contain the following columns:
Client name
Course name
Number of participants
Preferred date interval
Rejection reason
Rejection date
Rejected by