Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c7e6484e14 | ||
|
4ad60765df | ||
|
5dca069fa3 | ||
|
5ec1b33bdc | ||
|
3afd2d9479 | ||
|
57f2a04c52 | ||
4f035ecb3a |
3
.idea/.gitignore
vendored
Normal file
3
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
8
.idea/Gitea.iml
Normal file
8
.idea/Gitea.iml
Normal 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>
|
6
.idea/inspectionProfiles/profiles_settings.xml
Normal file
6
.idea/inspectionProfiles/profiles_settings.xml
Normal 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
7
.idea/misc.xml
Normal 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
8
.idea/modules.xml
Normal 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
6
.idea/vcs.xml
Normal 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
8761
data/test.csv
Normal file
File diff suppressed because it is too large
Load Diff
@ -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
16
scripts/main.py
Normal 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
3
scripts/test_workflow.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
import hub.helpers.constants as cte
|
||||||
|
|
||||||
|
print()
|
Loading…
Reference in New Issue
Block a user