Commit 2c91020
authored
Simulation evaluation (#25)
* remove check-added-large-files hook from pre-commit configuration
* Sample file for simulation eval
* Basic framework for simulation evaluation.
* Add self-consumption metrics and cost calculations to energy evaluation
- Introduced new constants for self-consumed electricity, costs, and earnings in `const.py`.
- Updated the `evaluate` method in `main.py` to calculate electricity consumed, self-consumed, costs of delivered electricity, earnings from exported electricity, and net costs.
- Added calculations for self-consumption ratios in the evaluation results.
- Removed the obsolete Jupyter notebook `simeval.ipynb`.
* Enhance energy simulation evaluation and modeling
- Added methods to retrieve the first and last timestamps in TimeSeriesBase.
- Implemented a new function `apply_simulation` to apply simulation results to input data in the PV simulation module.
- Updated the PVSimulator class to include a method for converting simulation results to a DataFrame.
- Enhanced the evaluation module with a new function `compare_results` to compare two evaluation results and return differences.
- Modified the `evaluate` method to handle missing columns for electricity delivered and exported.
- Updated imports in various modules to include new functions and classes as needed.
- Adjusted execution counts in the demo notebook to reflect the new evaluation and simulation processes.
* Add PVSimulationSummary class and update simulation functions
- Introduced PVSimulationSummary class to encapsulate simulation results, ex-ante, ex-post data, and comparisons.
- Implemented from_simulation class method for creating a summary from simulation data.
- Updated apply_simulation function to use constants for electricity produced, delivered, and exported.
- Enhanced input validation and data handling within the simulation functions.
* Refactor simulation classes and add full simulation analysis module
* Making abstractions of simulations
* Move abstract definitions to separate module
* Update notebooks
* Output annotations
* improved annotations
* Refactor frequency handling in simulation models and update type annotations
* Enhance QuickPVSystemModel validation and propagate settings to arrays
---------
Co-authored-by: Jan Pecinovsky <=>1 parent fe45af3 commit 2c91020
22 files changed
Lines changed: 564199 additions & 36 deletions
File tree
- .devcontainer
- data
- simeval
- sim
- openenergyid
- abstractsim
- pvsim
- elia
- pvlib
- simeval
- sim
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
0 commit comments