Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move design analyses out of PostREISE #162

Merged
merged 2 commits into from
Sep 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 2 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,7 @@ postreise.analyze.transmission.congestion.calculate_congestion_surplus(scenario)
where `scenario` is a powersimdata.scenario.scenario.Scenario object in Analyze
state.

### C. Analysis of Transmission Upgrades

#### I. Cumulative Upgrade Quantity
Using the change table of a scenario, the number of upgrades lines/transformers
and their cumulative upgraded capacity (for transformers) and cumulative
upgraded megawatt-miles (for lines) can be calculated with:
```
postreise.analyze.transmission.mwmiles.calculate_mw_miles(scenario)
```
where `scenario` is a powersimdata.scenario.scenario.Scenario instance.

#### II. Classify Upgrades
The upgraded branches can also be classified into either interstate or
intrastate branches by calling:

```
postreise.analyze.transmission.statelines.classify_interstate_intrastate(scenario)
```
where `scenario` is a powersimdata.scenario.scenario.Scenario instance.

### D. Carbon Analysis
### C. Carbon Analysis
The hourly CO<sub>2</sub> emissions from a scenario may be analyzed by calling

```
Expand All @@ -69,7 +49,7 @@ postreise.analyze.generation.carbon.summarize_carbon_by_bus(carbon, plant)
where `carbon` is a pandas.DataFrame as returned by `generate_carbon_stats` and
`grid` is a powersimdata.input.grid.Grid instance.

### E. Curtailment Analysis
### D. Curtailment Analysis
The level of curtailment for a Scenario may be calculated in several ways.

#### I. Calculating Time Series
Expand Down
2 changes: 1 addition & 1 deletion postreise/analyze/transmission/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__all__ = ["congestion", "mwmiles", "statelines", "utilization"]
__all__ = ["congestion", "utilization"]
80 changes: 0 additions & 80 deletions postreise/analyze/transmission/mwmiles.py

This file was deleted.

135 changes: 0 additions & 135 deletions postreise/analyze/transmission/statelines.py

This file was deleted.

2 changes: 1 addition & 1 deletion postreise/analyze/transmission/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__all__ = ["test_congestion_surplus", "test_mwmiles", "test_statelines"]
__all__ = ["test_congestion_surplus"]
105 changes: 0 additions & 105 deletions postreise/analyze/transmission/tests/test_mwmiles.py

This file was deleted.

Loading