Compare commits

...

7 Commits
codes ... main

Author SHA1 Message Date
Zahra-K-Moraveji
c7e6484e14 add the file 2024-12-04 14:12:45 -05:00
Zahra-K-Moraveji
4ad60765df Merge remote-tracking branch 'origin/main' 2024-12-04 14:11:59 -05:00
Zahra-K-Moraveji
5dca069fa3 add the file 2024-12-04 14:11:31 -05:00
Zahra-K-Moraveji
5ec1b33bdc test 2024-12-04 14:03:33 -05:00
Zahra-K-Moraveji
3afd2d9479 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	main-codes/CMM-PV-20242511.py
2024-12-04 14:01:56 -05:00
Zahra-K-Moraveji
57f2a04c52 test 2024-12-04 14:00:51 -05:00
4f035ecb3a Delete CMM-PV-20242511.py
Merge remote-tracking branch 'origin/main'

# Conflicts:
#	main-codes/CMM-PV-20242511.py
2024-12-03 12:49:22 -05:00
10 changed files with 8819 additions and 1 deletions

3
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

8
.idea/Gitea.iml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Hub" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

7
.idea/misc.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Black">
<option name="sdkName" value="Python 3.9 (PythonProject6)" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Hub" project-jdk-type="Python SDK" />
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/Gitea.iml" filepath="$PROJECT_DIR$/.idea/Gitea.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

8761
data/test.csv Normal file

File diff suppressed because it is too large Load Diff

View File

@ -180,7 +180,7 @@ def calculate_pv_system_metrics(
lcoe_export = ( lcoe_export = (
total_discounted_net_metering_income / discounted_total_building_export if discounted_total_building_export > 0 else 0) total_discounted_net_metering_income / discounted_total_building_export if discounted_total_building_export > 0 else 0)
# lcoe of the whole system combining various transactions # lcoe of the whole system compining various transactions
lcoe_system = ( lcoe_system = (
(discounted_total_self_consumption / total_transaction) * lcoe_pv + (discounted_total_self_consumption / total_transaction) * lcoe_pv +
(discounted_total_grid_purchase / total_transaction) * grid_current_tariff - (discounted_total_grid_purchase / total_transaction) * grid_current_tariff -

16
scripts/main.py Normal file
View File

@ -0,0 +1,16 @@
# This is a sample Python script.
# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
def print_hi(name):
# Use a breakpoint in the code line below to debug your script.
print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
print_hi('PyCharm')
# See PyCharm help at https://www.jetbrains.com/help/pycharm/

3
scripts/test_workflow.py Normal file
View File

@ -0,0 +1,3 @@
import hub.helpers.constants as cte
print()