## 2 Materials and Methods
### SustainSIM--Scope 1
#### 2.8.4. Design of Scope 2 Emission Reduction Simulation
This script contains the database of emission factors, compiled from converted emission factor data in the \"Model Design Methodology\" section. It uses two cameras for different perspectives in the simulation (Scope 1 and Scope 2 3D interfaces). It also collaborates with the Menu script, monitoring the states of context windows, updating model statuses, and synchronizing user interactions via raycasting. Additionally, this script contains references to context windows, specifically text fields for data input. These fields are defined within the script and linked to UI values, ensuring that almost all context
windows display user-modifiable data. By implementing value retention and restoration, the script ensures smooth and seamless emission reduction simulations. Functions:  
- Collecting and updating data from all scripts and compiling results into the summary. - Quantifying relationships between attributes based on the algorithmic map. - Calculating CO2 emissions from vehicles and heating. - Computing emission reductions for green technologies (electric vehicles, green heating). - Total CO2 emissions calculation based on working hours, shifts, and simulation days. - Displaying final results. **Calendar**  
The Calendar script manages the work schedule in the simulation. Users can set the number of working days, shifts, and hours, which are then used in other parts of the application for calculations and simulations. It defines fields for entering and calculating time intervals in hours, using three main attributes:  
1. Simulation duration in days  
2. Number of shifts per day  
3. Number of hours per work shift  
The Results Summary (Figure 11) is designed to provide users with a comprehensive overview of the current carbon footprint status. It is one of the most critical parts of the software, compiling quantified simulation results, along with various indicators of shares, efficiency, and numerical values. **Sections:**  
* Time Report: The duration of the simulation is expressed in days, hours, and shifts. * CO2 Statistics: Key statistics on CO2 emissions, such as total emissions, generated emissions, and reduced emissions. * Generated CO2: This section categorizes CO2 emissions by scope and source, displaying numerical values and their share of total generated emissions. * Simulated CO2 Reduction: This section presents CO2 emission reductions achieved through various measures, along with numerical values and their share of total emissions. **CO2 Statistics:**  
* Total Emissions: The total amount of CO2 emissions (in kgCO2e). * Generated Emissions: The amount of CO2 emissions generated during the simulation. * Reduced Emissions: The amount of CO2 emissions reduced during the simulation. **Generated CO2:**  
**Scope 1:**  
- Mobile Combustion: Emissions from mobile combustion sources. Figure 11: Menu: Results Summary. * Stationary Combustion: Emissions from stationary combustion sources. **Scope 2:**
* Machine 1, Machine 2,...: Emissions generated by individual machines. **Simulated CO2 Reduction:**
* **Scope 1:**
* Electric Vehicles: Reduction of CO2 emissions through electric vehicles. * Heat Pumps: Reduction of CO2 emissions using heat pumps. **Scope 2:**
* Solar Panels: Reduction of CO2 emissions using solar panels. **Value Format:**
* **Numerical Value:** The exact emission value in kg CO2e. **- Share of Emissions:** The percentage share of this value in total generated emissions.