Skip to content

Commit

Permalink
197 implement network cascading interdependency functionality (#211)
Browse files Browse the repository at this point in the history
* Initial commit and modification of network util

* Initial implementation details

* Make specific to EPN and WDS networks

* Rename core function

* Skeleton of implementation present in Milad's notebook.

* Revise and assemble `run()` function

* Add scaffold

* Perform manipulations to dataframes containing discretized WDS time results and assemble network from incoming dataframes.

* Update EPF nodes dataframe with additional information for the input-output model

* First complete implementation of the analysis

* Add documentation to function and merge against develop.

* Add return documentaiton and merge against develop.

* WIP: full implementation, requires adding pipeline damage

* Add pipeline damage with repair rate and (defensively) change the type of columns in interdependency files.

* Clean code from debug prints.

* Complete version of the analysis.

* Remove bogus table.

* Pending data to be migrated during the day.

* Remove unused output

* Utilize only datasets in the data service.

* Remove unused pipeline repair rate analysis

* Adding analysis to modules.rst

* Remove PEP8 about static method.

* Fix CHANGELOG.md

* Add attributions header

Co-authored-by: YONG WOOK KIM <[email protected]>
  • Loading branch information
nunezco2 and ywkim312 authored Sep 13, 2022
1 parent f35b0a9 commit dcbe7b7
Show file tree
Hide file tree
Showing 6 changed files with 685 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

##[Unreleased]

### Added
- EPN-WDS network cascading interdependency functionality analysis working with MMSA Shelby [#197](https://github.com/IN-CORE/pyincore/issues/197)

### Changed
- Improved validation of list types with nested sub-types in get_spec [#180](https://github.com/IN-CORE/pyincore/issues/180)
- Format test for the code simplified to include all the paths [#193](https://github.com/IN-CORE/pyincore/issues/193)
Expand Down
5 changes: 5 additions & 0 deletions docs/source/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ analyses/multiobjectiveretrofitoptimization
.. autoclass:: multiobjectiveretrofitoptimization.multiobjectiveretrofitoptimization.MultiObjectiveRetrofitOptimization
:members:

analyses/ncifunctionality
=========================
.. autoclass:: ncifunctionality.ncifunctionality.NciFunctionality
:members:

analyses/nonstructbuildingdamage
================================
.. autoclass:: nonstructbuildingdamage.nonstructbuildingdamage.NonStructBuildingDamage
Expand Down
6 changes: 6 additions & 0 deletions pyincore/analyses/ncifunctionality/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (c) 2022 University of Illinois and others. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Mozilla Public License v2.0 which accompanies this distribution,
# and is available at https://www.mozilla.org/en-US/MPL/2.0/
from pyincore.analyses.ncifunctionality.ncifunctionality import NciFunctionality
Loading

0 comments on commit dcbe7b7

Please sign in to comment.