A newer version of the Streamlit SDK is available:
1.52.2
User Guide
Getting Started
Installation
- Ensure you have Python 3.8 or higher installed
- Install the required dependencies:
pip install -r requirements.txt - Run the application:
streamlit run app.py
Navigation
The application has three main sections accessible from the sidebar:
- Cooling Load Calculator: Calculate cooling loads for buildings
- Heating Load Calculator: Calculate heating loads for buildings
- Scenario Comparison: Compare saved calculation scenarios
Using the Calculators
Building Information
- Select a location from the dropdown
- Enter the indoor design temperature
- Enter the building volume
- Enter the air changes per hour
Adding Components
Walls, Roofs, and Floors:
- Enter component details (area, U-value, orientation)
- Click "Add Component"
- To edit or delete components, use the buttons next to each entry
Windows and Doors:
- Enter details (orientation, area, U-value, glass type, shading)
- Click "Add Window/Door"
- To edit or delete windows/doors, use the buttons next to each entry
Internal Loads:
- Enter occupancy information
- Specify lighting details
- Add appliances with quantities
- Add custom heat sources if needed
Calculating Results
- Navigate through all tabs to enter required information
- Click "Calculate" on the final tab
- View the results including:
- Total load in kW
- Recommended system size
- Load breakdown by component
- Visualizations of heat gains/losses
Saving Scenarios
After calculating results:
- Enter a scenario name and description
- Click "Save Scenario"
- The scenario will be saved for future comparison
Comparing Scenarios
- Navigate to the "Scenario Comparison" page
- Select the calculator type (cooling, heating, or all)
- Select at least two scenarios to compare
- Click "Compare Selected Scenarios"
- View the comparison results:
- Total load comparison
- Load breakdown comparison
- Differences between scenarios
- Interpretation of results
- Download the comparison data as CSV if needed
Tips for Effective Use
Base Case Analysis:
- Create a base case scenario first
- Make incremental changes for subsequent scenarios
- Compare to see the impact of each change
Custom Heat Sources:
- Use the custom heat sources feature for equipment not in the predefined list
- Enter the name and wattage for each custom source
Component Editing:
- You can edit or delete components after adding them
- This allows for quick adjustments without starting over
Scenario Management:
- Give descriptive names to scenarios
- Add detailed descriptions to remember what each scenario represents
- Use the comparison tool to identify the most efficient building configuration