Skip to content
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
9 changes: 8 additions & 1 deletion docs/doc_pylcia.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
Python Life Cycle Inventory Analysis
====================================
The PyLCIA module links to the DES material model through the DES interface code. The DES interface preprocesses the incoming materials dataframe and prepares it for the LCA calculations. The interface calls on five main subcomponents of the pyLCIA module.
It calls the concrete life cycle inventory updater to check for glass fiber materials in the incoming stream. If yes, it creates a modified cement coprocessing inventory based on the amount of glass fiber present in the incoming stream. This modified inventory is then used for LCA calculations.
It calls the insitu_emission module to calculation insitu emissions. The foreground system for the study has direct emissions. To calculation those emissions, these systems are required to be scaled up based on their usage and then direct emissions derived using the scaling variables. These calculations are done using a modified LCA approach using a static inventory with just just product flows.
It calls the pylca_opt_foreground module to calculate the first set of LCA calculations only for the foreground activities. All input flows to the foreground system from the background life cycle inventory are derived based on the scale up or scale down of these processes. This module also preprocesses the inventory and allows replacement of electricity production with dynamic grid mixes from electricity capacity expansion models.
It call the pylca_opt_background module to perform the major LCA calculations of the background inventory. The final demand to the background LCI is obtained from the pylca_opt_foreground module. This module calculates the complete cradle to gate life cycle emissions for the foreground processes.
The final module used by PyLCIA is the pylca_celavi_background_postprocess which has two main functions. It combines background and foreground emissions to complete our system boundary for the life cyle analysis. Finally, it converts emissions to impact factors and prepares the results to be sent to DES for final processing and visualization.


ReEDS Data Importer
-------------------
Expand Down Expand Up @@ -71,4 +78,4 @@ Background Emissions Postprocessing

.. autofunction:: postprocessing

.. autofunction:: impact_calculations
.. autofunction:: impact_calculations
Binary file modified docs/docs/doctrees/doc_costgraph.doctree
Binary file not shown.
Binary file modified docs/docs/doctrees/doc_pylcia.doctree
Binary file not shown.
Binary file modified docs/docs/doctrees/environment.pickle
Binary file not shown.
9 changes: 8 additions & 1 deletion docs/docs/html/_sources/doc_pylcia.rst.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
Python Life Cycle Inventory Analysis
====================================
The PyLCIA module links to the DES material model through the DES interface code. The DES interface preprocesses the incoming materials dataframe and prepares it for the LCA calculations. The interface calls on five main subcomponents of the pyLCIA module.
It calls the concrete life cycle inventory updater to check for glass fiber materials in the incoming stream. If yes, it creates a modified cement coprocessing inventory based on the amount of glass fiber present in the incoming stream. This modified inventory is then used for LCA calculations.
It calls the insitu_emission module to calculation insitu emissions. The foreground system for the study has direct emissions. To calculation those emissions, these systems are required to be scaled up based on their usage and then direct emissions derived using the scaling variables. These calculations are done using a modified LCA approach using a static inventory with just just product flows.
It calls the pylca_opt_foreground module to calculate the first set of LCA calculations only for the foreground activities. All input flows to the foreground system from the background life cycle inventory are derived based on the scale up or scale down of these processes. This module also preprocesses the inventory and allows replacement of electricity production with dynamic grid mixes from electricity capacity expansion models.
It call the pylca_opt_background module to perform the major LCA calculations of the background inventory. The final demand to the background LCI is obtained from the pylca_opt_foreground module. This module calculates the complete cradle to gate life cycle emissions for the foreground processes.
The final module used by PyLCIA is the pylca_celavi_background_postprocess which has two main functions. It combines background and foreground emissions to complete our system boundary for the life cyle analysis. Finally, it converts emissions to impact factors and prepares the results to be sent to DES for final processing and visualization.


ReEDS Data Importer
-------------------
Expand Down Expand Up @@ -71,4 +78,4 @@ Background Emissions Postprocessing

.. autofunction:: postprocessing

.. autofunction:: impact_calculations
.. autofunction:: impact_calculations
4 changes: 2 additions & 2 deletions docs/docs/html/doc_costgraph.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,13 @@ <h1>Cost Graph<a class="headerlink" href="#cost-graph" title="Permalink to this
<p>The Cost Graph is a directed network-based representation of the supply chain superstructure. It is used to store information about the supply chain such as costs and distances. During simulation, the Cost Graph is queried by the DES to calculate pathway characteristics and determine the preferred end-of-life pathway for technology components.</p>
<span class="target" id="module-celavi.costgraph"></span><dl class="py class">
<dt id="celavi.costgraph.CostGraph">
<em class="property">class </em><code class="sig-prename descclassname">celavi.costgraph.</code><code class="sig-name descname">CostGraph</code><span class="sig-paren">(</span><em class="sig-param">step_costs_file: str, fac_edges_file: str, transpo_edges_file: str, locations_file: str, routes_file: str, pathway_crit_history_filename: str, circular_components: list, component_initial_mass: float, path_dict: dict, sc_begin: List[str] = ['manufacturing'], sc_end: List[str] = ['landfilling'], sc_in_circ: List[str] = [], sc_out_circ: List[str] = [], year: float = 2000.0, start_year: float = 2000.0, verbose: int = 0, save_copy=False, save_name='netw.csv', run=0, random_state=Generator(PCG64) at 0x1B89DEBBC80</em><span class="sig-paren">)</span><a class="headerlink" href="#celavi.costgraph.CostGraph" title="Permalink to this definition">¶</a></dt>
<em class="property">class </em><code class="sig-prename descclassname">celavi.costgraph.</code><code class="sig-name descname">CostGraph</code><span class="sig-paren">(</span><em class="sig-param">step_costs_file: str, fac_edges_file: str, transpo_edges_file: str, locations_file: str, routes_file: str, pathway_crit_history_filename: str, circular_components: list, component_initial_mass: float, path_dict: dict, sc_begin: List[str] = ['manufacturing'], sc_end: List[str] = ['landfilling'], sc_in_circ: List[str] = [], sc_out_circ: List[str] = [], year: float = 2000.0, start_year: float = 2000.0, verbose: int = 0, save_copy=False, save_name='netw.csv', run=0, random_state=Generator(PCG64) at 0x1DF807ABD60</em><span class="sig-paren">)</span><a class="headerlink" href="#celavi.costgraph.CostGraph" title="Permalink to this definition">¶</a></dt>
<dd><p>Reads in supply chain data, creates a network of processing steps and facilities
in a circular supply chain, identifies preferred end-of-life pathways through the
supply chain, calculates supply chain characteristics such as pathway cost.</p>
<dl class="py method">
<dt id="celavi.costgraph.CostGraph.__init__">
<code class="sig-name descname">__init__</code><span class="sig-paren">(</span><em class="sig-param">step_costs_file: str, fac_edges_file: str, transpo_edges_file: str, locations_file: str, routes_file: str, pathway_crit_history_filename: str, circular_components: list, component_initial_mass: float, path_dict: dict, sc_begin: List[str] = ['manufacturing'], sc_end: List[str] = ['landfilling'], sc_in_circ: List[str] = [], sc_out_circ: List[str] = [], year: float = 2000.0, start_year: float = 2000.0, verbose: int = 0, save_copy=False, save_name='netw.csv', run=0, random_state=Generator(PCG64) at 0x1B89DEBBC80</em><span class="sig-paren">)</span><a class="headerlink" href="#celavi.costgraph.CostGraph.__init__" title="Permalink to this definition">¶</a></dt>
<code class="sig-name descname">__init__</code><span class="sig-paren">(</span><em class="sig-param">step_costs_file: str, fac_edges_file: str, transpo_edges_file: str, locations_file: str, routes_file: str, pathway_crit_history_filename: str, circular_components: list, component_initial_mass: float, path_dict: dict, sc_begin: List[str] = ['manufacturing'], sc_end: List[str] = ['landfilling'], sc_in_circ: List[str] = [], sc_out_circ: List[str] = [], year: float = 2000.0, start_year: float = 2000.0, verbose: int = 0, save_copy=False, save_name='netw.csv', run=0, random_state=Generator(PCG64) at 0x1DF807ABD60</em><span class="sig-paren">)</span><a class="headerlink" href="#celavi.costgraph.CostGraph.__init__" title="Permalink to this definition">¶</a></dt>
<dd><p>Reads in small datasets to DataFrames and stores the path to the large
locations dataset for later use.</p>
<dl class="field-list simple">
Expand Down
6 changes: 6 additions & 0 deletions docs/docs/html/doc_pylcia.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@

<div class="section" id="python-life-cycle-inventory-analysis">
<h1>Python Life Cycle Inventory Analysis<a class="headerlink" href="#python-life-cycle-inventory-analysis" title="Permalink to this headline">¶</a></h1>
<p>The PyLCIA module links to the DES material model through the DES interface code. The DES interface preprocesses the incoming materials dataframe and prepares it for the LCA calculations. The interface calls on five main subcomponents of the pyLCIA module.
It calls the concrete life cycle inventory updater to check for glass fiber materials in the incoming stream. If yes, it creates a modified cement coprocessing inventory based on the amount of glass fiber present in the incoming stream. This modified inventory is then used for LCA calculations.
It calls the insitu_emission module to calculation insitu emissions. The foreground system for the study has direct emissions. To calculation those emissions, these systems are required to be scaled up based on their usage and then direct emissions derived using the scaling variables. These calculations are done using a modified LCA approach using a static inventory with just just product flows.
It calls the pylca_opt_foreground module to calculate the first set of LCA calculations only for the foreground activities. All input flows to the foreground system from the background life cycle inventory are derived based on the scale up or scale down of these processes. This module also preprocesses the inventory and allows replacement of electricity production with dynamic grid mixes from electricity capacity expansion models.
It call the pylca_opt_background module to perform the major LCA calculations of the background inventory. The final demand to the background LCI is obtained from the pylca_opt_foreground module. This module calculates the complete cradle to gate life cycle emissions for the foreground processes.
The final module used by PyLCIA is the pylca_celavi_background_postprocess which has two main functions. It combines background and foreground emissions to complete our system boundary for the life cyle analysis. Finally, it converts emissions to impact factors and prepares the results to be sent to DES for final processing and visualization.</p>
<div class="section" id="module-celavi.reeds_importer">
<span id="reeds-data-importer"></span><h2>ReEDS Data Importer<a class="headerlink" href="#module-celavi.reeds_importer" title="Permalink to this headline">¶</a></h2>
<dl class="py class">
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/html/searchindex.js

Large diffs are not rendered by default.