NREL-erad 0.0.0a0__py3-none-any.whl → 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. erad/__init__.py +1 -0
  2. erad/constants.py +20 -20
  3. erad/cypher_queries/load_data_v1.cypher +211 -211
  4. erad/data/World_Earthquakes_1960_2016.csv +23410 -23410
  5. erad/db/assets/critical_infras.py +170 -170
  6. erad/db/assets/distribution_lines.py +101 -101
  7. erad/db/credential_model.py +20 -20
  8. erad/db/disaster_input_model.py +23 -23
  9. erad/db/inject_earthquake.py +52 -52
  10. erad/db/inject_flooding.py +53 -53
  11. erad/db/neo4j_.py +162 -162
  12. erad/db/utils.py +13 -13
  13. erad/exceptions.py +68 -68
  14. erad/metrics/check_microgrid.py +208 -208
  15. erad/metrics/metric.py +178 -178
  16. erad/programs/backup.py +61 -61
  17. erad/programs/microgrid.py +44 -44
  18. erad/scenarios/abstract_scenario.py +102 -102
  19. erad/scenarios/common.py +92 -92
  20. erad/scenarios/earthquake_scenario.py +161 -161
  21. erad/scenarios/fire_scenario.py +160 -160
  22. erad/scenarios/flood_scenario.py +493 -493
  23. erad/scenarios/flows.csv +671 -0
  24. erad/scenarios/utilities.py +75 -75
  25. erad/scenarios/wind_scenario.py +89 -89
  26. erad/utils/ditto_utils.py +252 -252
  27. erad/utils/hifld_utils.py +147 -147
  28. erad/utils/opendss_utils.py +357 -357
  29. erad/utils/overpass.py +76 -76
  30. erad/utils/util.py +178 -178
  31. erad/visualization/plot_graph.py +218 -218
  32. {NREL_erad-0.0.0a0.dist-info → nrel_erad-1.0.0.dist-info}/METADATA +65 -61
  33. nrel_erad-1.0.0.dist-info/RECORD +42 -0
  34. {NREL_erad-0.0.0a0.dist-info → nrel_erad-1.0.0.dist-info}/WHEEL +1 -2
  35. {NREL_erad-0.0.0a0.dist-info → nrel_erad-1.0.0.dist-info/licenses}/LICENSE.txt +28 -28
  36. NREL_erad-0.0.0a0.dist-info/RECORD +0 -42
  37. NREL_erad-0.0.0a0.dist-info/top_level.txt +0 -1
@@ -1,29 +1,29 @@
1
- BSD 3-Clause License
2
-
3
- Copyright (c) 2023, Alliance for Sustainable Energy, LLC
4
- All rights reserved.
5
-
6
- Redistribution and use in source and binary forms, with or without
7
- modification, are permitted provided that the following conditions are met:
8
-
9
- 1. Redistributions of source code must retain the above copyright notice, this
10
- list of conditions and the following disclaimer.
11
-
12
- 2. Redistributions in binary form must reproduce the above copyright notice,
13
- this list of conditions and the following disclaimer in the documentation
14
- and/or other materials provided with the distribution.
15
-
16
- 3. Neither the name of the copyright holder nor the names of its
17
- contributors may be used to endorse or promote products derived from
18
- this software without specific prior written permission.
19
-
20
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2023, Alliance for Sustainable Energy, LLC
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
29
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,42 +0,0 @@
1
- erad/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- erad/constants.py,sha256=ez019GSfgtzBoewDqMdMQ-5Sv_QCZ4w5rSUHyo50YXw,719
3
- erad/exceptions.py,sha256=D58HiKlePKLgNgF4bTfA9Wpup4_oazH5y6R_0XGV_Po,2209
4
- erad/cypher_queries/load_data_v1.cypher,sha256=pLwyaiil2bgJ3GSy0CLod1OcKR8SOroyNPS7iOM5jhE,8131
5
- erad/data/World_Earthquakes_1960_2016.csv,sha256=FTzg7XibKB6TbCWnLdbpJxK2cCTqpfo80mBYHNL9VVc,2386121
6
- erad/db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- erad/db/credential_model.py,sha256=yFb4aii9C5U46_BNL0hXWSCsKFpxTrUvq-hTbSJopHg,591
8
- erad/db/disaster_input_model.py,sha256=BVH_eqZ9Z6eUbuktK_AYUi06o6fsRQOUrWU95ULsXsI,637
9
- erad/db/inject_earthquake.py,sha256=k4bcnFkzBYgveHnCjDDEwwkCpEBG2N0GjZuUKnqNkCU,1700
10
- erad/db/inject_flooding.py,sha256=2c-BVAasG2Z4nULlXIuwHiMENi6PAH_AALlwQekfWM8,1769
11
- erad/db/neo4j_.py,sha256=hBzXVxvVatiPZdLVsSgzQhHnbHDxEEZJoJ_P40YVYB8,5223
12
- erad/db/utils.py,sha256=zbMVKShNK2uTrvQPIdDRlwZGIRdOAwbtGfkaG424piU,455
13
- erad/db/assets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
- erad/db/assets/critical_infras.py,sha256=6Gg39N-Z0L20OfC_1myFSGlohB6KALj7B2A7BPY4850,6072
15
- erad/db/assets/distribution_lines.py,sha256=QuSJKdQZyNr6hdjVZYu50A8FCQJ4KMDWuj0rN6N26uY,3547
16
- erad/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
- erad/metrics/check_microgrid.py,sha256=5XHGsOB-p1z7PCVW1G8OB5Ev0BS1NXexmj-UOy3Szac,7688
18
- erad/metrics/metric.py,sha256=Iyjj71FLWSvkOldK_HKvBLKDOzKNQh9qXi-K7urs4BQ,6147
19
- erad/programs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
- erad/programs/backup.py,sha256=-AXOMTsEi0G564A83HCVwnbu4oZjvY4ScaUcHB9nhdw,1971
21
- erad/programs/microgrid.py,sha256=iLmwrOy0u75BH_Y7eQ6drasULW9DyFJuXfBNDIRbkqI,1670
22
- erad/scenarios/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
- erad/scenarios/abstract_scenario.py,sha256=_Bu6rDYXw7iQdkI6zg83kko_88V8u9HEytZDS0V_4EA,4267
24
- erad/scenarios/common.py,sha256=SyqhD777TV9SiGxOVBC_YQvSHSpJEYRyEgAcLMW6Z4E,3022
25
- erad/scenarios/earthquake_scenario.py,sha256=S95ezPnOFHSRAlyU66QlbQeP2fp7DrfPwVdGN-XxmPs,8717
26
- erad/scenarios/fire_scenario.py,sha256=7L9HdSmZracW8cKS_6kyZmczk6JGehz6vnEHnj7AaPs,7244
27
- erad/scenarios/flood_scenario.py,sha256=ElHd2rfJjrfjiC9gmr7i8ApdcujoypEQb4s0Ie6jWg4,20336
28
- erad/scenarios/utilities.py,sha256=MJISX_TDItnvZOK1bJlcHSi455Ho4MgBk29tKn9zRRg,2753
29
- erad/scenarios/wind_scenario.py,sha256=_2NsBsOqiZ5FskcprbK8OTwp5k4uYVx0o_LRpgaz34s,3946
30
- erad/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
- erad/utils/ditto_utils.py,sha256=Qm2_QLj0O2N_nFp9OQ1zWWWccM6jJ6j_C9yhXxMWhg8,8138
32
- erad/utils/hifld_utils.py,sha256=IMqhxDZai-2_NrnMRXvzLPH9RF5kbAFDlXKTh2hh0PQ,4983
33
- erad/utils/opendss_utils.py,sha256=MQOJjSRcfvCFcjsp9IFf8IocsfqtM0ZkFiDSyCTGqbg,10912
34
- erad/utils/overpass.py,sha256=BiyEN7rDmrJmZ0u1ASiOHJGYf2aEo-Y0_UsWeHV8ERY,2106
35
- erad/utils/util.py,sha256=OepMubsVYBj_aTmc_qoArsLZLnb9qFkUXMqODp7TE_U,5153
36
- erad/visualization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
- erad/visualization/plot_graph.py,sha256=fIuicGN_P-ObQSvIwmzQUg9316ByEaOZqEQbinuUeHg,6777
38
- NREL_erad-0.0.0a0.dist-info/LICENSE.txt,sha256=YhE40B_XkokpkrkfYYs75IWapyRMl_Jdo__vzVWO7eY,1571
39
- NREL_erad-0.0.0a0.dist-info/METADATA,sha256=ZCpl782OD3xucSUpAyXJWxSYWOJOCT2-l77dUDIUXuY,3612
40
- NREL_erad-0.0.0a0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
41
- NREL_erad-0.0.0a0.dist-info/top_level.txt,sha256=TR5AAzfVy08tAhcPCsDnwvQuVJ2oXZ334IFTb3iHj-k,5
42
- NREL_erad-0.0.0a0.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- erad