Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a Heat and Cool Load prediction Model #165

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
40 changes: 40 additions & 0 deletions App.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,46 @@
Ideal for travel, business meetings, and language learning, breaking down language barriers effortlessly.
"""
},
{
"name": "Heat Load Predictor",
"description": "Estimate the heat energy required for a building using machine learning algorithms based on architectural and environmental features.",
"details": """
### Introduction
The Heat Load Predictor uses building characteristics and machine learning algorithms to estimate the amount of heat energy required for a building. This tool helps in optimizing energy consumption based on specific architectural and environmental features.

### Heat Load Dataset
The dataset used for this model contains various features related to building design and environmental factors that impact energy efficiency. The goal is to predict the heat load (Y1) using features such as **Relative Compactness**, **Surface Area**, **Wall Area**, **Roof Area**, and other architectural elements.

### Additional Variable Information
- **Relative Compactness**: A measure of how compact the building's shape is, affecting its thermal properties.
- **Surface Area**: The total external surface area of the building, impacting heat transfer.
- **Wall Area**: The area covered by the external walls, which influences heat insulation.
- **Roof Area**: The total area of the roof, which affects heat gain or loss.
- **Overall Height**: The total height of the building, influencing the volume and energy needed for heating.
- **Glazing Area**: The area of windows or glass surfaces, impacting heat gain through sunlight.
- **Y1 (Heat Load)**: The predicted amount of heat energy required to maintain the desired indoor temperature.
"""
},
{
"name": "Cool Load Predictor",
"description": "Predict the cooling energy required for a building using advanced machine learning models based on structural and environmental factors.",
"details": """
### Introduction
The Cool Load Predictor utilizes advanced machine learning models to estimate the cooling energy required for a building. By analyzing structural features and environmental factors, this tool predicts cooling loads and assists in optimizing energy efficiency.

### Cool Load Dataset
The dataset for this model contains features related to building design and environmental factors that affect cooling efficiency. The aim is to predict the cool load (Y2) using inputs such as **Relative Compactness**, **Surface Area**, **Roof Area**, and other architectural parameters.

### Additional Variable Information
- **Relative Compactness**: The compactness of the building’s shape, affecting the efficiency of cooling.
- **Surface Area**: The total external surface area, impacting how much heat is absorbed or released.
- **Wall Area**: The external wall area, influencing heat insulation and cooling needs.
- **Roof Area**: The area of the roof, which affects heat transfer and the cooling load.
- **Overall Height**: The building's height, which impacts volume and energy required for cooling.
- **Glazing Area**: The area of windows or glass surfaces, which can increase or decrease cooling efficiency based on exposure to sunlight.
- **Y2 (Cool Load)**: The predicted amount of cooling energy required to maintain optimal indoor temperatures.
"""
}
]

# Define shades of blue for calculators
Expand Down
60 changes: 60 additions & 0 deletions form_configs/cool_load_predictor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"Cool Load Prediction Form": {
"Relative Compactness": {
"type": "slider",
"min_value": 0.5,
"default_value": 0.7,
"step": 0.01,
"field_name": "relative_compactness"
},
"Surface Area": {
"type": "number",
"min_value": 300.0,
"default_value": 500.0,
"step": 0.1,
"field_name": "surface_area"
},
"Wall Area": {
"type": "number",
"min_value": 200.0,
"default_value": 300.0,
"step": 0.1,
"field_name": "wall_area"
},
"Roof Area": {
"type": "number",
"min_value": 100.0,
"default_value": 220.0,
"step": 0.1,
"field_name": "roof_area"
},
"Overall Height": {
"type": "number",
"min_value": 2.5,
"default_value": 3.5,
"step": 0.01,
"field_name": "overall_height"
},
"Orientation": {
"type": "number",
"min_value": 1,
"default_value": 2,
"step": 1,
"field_name": "orientation"
},
"Glazing Area": {
"type": "slider",
"min_value": 0.0,
"default_value": 0.1,
"step": 0.01,
"field_name": "glazing_area"
},
"Glazing Area Distribution": {
"type": "number",
"min_value": 0.0,
"default_value": 0.25,
"step": 0.01,
"field_name": "glazing_area_distribution"
}
}
}
60 changes: 60 additions & 0 deletions form_configs/heat_load_predictor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"Heat Load Prediction Form": {
"Relative Compactness": {
"type": "slider",
"min_value": 0.5,
"default_value": 0.7,
"step": 0.01,
"field_name": "relative_compactness"
},
"Surface Area": {
"type": "number",
"min_value": 300.0,
"default_value": 500.0,
"step": 0.1,
"field_name": "surface_area"
},
"Wall Area": {
"type": "number",
"min_value": 200.0,
"default_value": 300.0,
"step": 0.1,
"field_name": "wall_area"
},
"Roof Area": {
"type": "number",
"min_value": 100.0,
"default_value": 220.0,
"step": 0.1,
"field_name": "roof_area"
},
"Overall Height": {
"type": "number",
"min_value": 2.5,
"default_value": 3.5,
"step": 0.01,
"field_name": "overall_height"
},
"Orientation": {
"type": "number",
"min_value": 1,
"default_value": 2,
"step": 1,
"field_name": "orientation"
},
"Glazing Area": {
"type": "slider",
"min_value": 0.0,
"default_value": 0.1,
"step": 0.01,
"field_name": "glazing_area"
},
"Glazing Area Distribution": {
"type": "number",
"min_value": 0.0,
"default_value": 0.25,
"step": 0.01,
"field_name": "glazing_area_distribution"
}
}
}
4 changes: 4 additions & 0 deletions models/Heat_Cool_Load_Predictor/cool_model_predict.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from models.Heat_Cool_Load_Predictor.model import cool_load_prediction

def get_prediction(relative_compactness, surface_area, wall_area, roof_area, overall_height, orientation, glazing_area, glazing_area_distribution):
return cool_load_prediction(relative_compactness, surface_area, wall_area, roof_area, overall_height, orientation, glazing_area, glazing_area_distribution)
Loading
Loading